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.
Working with evCollision in Featurescript
christopher_dziuba
Member Posts: 63 ✭✭
Okay so I'm playing around with the evCollision command but it seems odd to me that there is 8 "clashType" enum values but no matter how I arrange my tool and target bodies I can't seem to get all 8 outputs. So far I've figured out how to get: INTERFERE, ABUT_NO_CLASS, TOOL_IN_TARGET and TARGET_IN_TOOL. For some reason rather then returning a map with clashType NONE it just returns an error when there's no collisions. Even if there is just one vertex shared between two bodies the clashtype is still ABUT_NO_CLASS rather then EXISTS. And I understand what ABUT_TOOL_IN/OUT_TARGET in theory but in practice I can't seem to replicate that result (I assume one body is completely enclosed by the other but they share a face, line or vertex?). Can anyone tell me what I'm doing wrong here?
Tagged:
1