Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
booleanBodies failure --
alan_1
Member Posts: 14 EDU
My use of booleanBodies() is failing. I think I am providing valid parameters.
Here's the code snippet.
var asdf1 = evaluateQuery(context, qCreatedBy(A, EntityType.BODY));
var asdf2 = evaluateQuery(context, qCreatedBy(B, EntityType.BODY));
booleanBodies( context, id + ("boolean" ~ index), {
"tools" : qCreatedBy(A, EntityType.BODY),
"targets" : qCreatedBy(B, EntityType.BODY),
"operationType" : BooleanOperationType.SUBTRACTION
});
An error is thrown at line 73 of feature.fs (version 376.0).
if (!isTopLevelId(id))
throw error; // rethrow
The two bodies are real bodies and they do intersect at a non-zero volume. Neither is entirely within the other.
The reason for the two "asdf" variables is to prove that the qCreatedBy() queries are valid.
Any idea what I might be doing wrong?
0
Comments