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.
point inside volume
billy2
Member, OS Professional, Mentor, Developers, User Group Leader Posts: 2,068 PRO
Is there a quick way to check if a point is inside a volume?
Looking at evCollision, not sure it'll work with a point. Not sure if it's even close to what I want.
In the case above, this would be true.
Looking at evCollision, not sure it'll work with a point. Not sure if it's even close to what I want.
In the case above, this would be true.
0
Comments
will evaluate to true if the point is inside (or on the boundary of) the body.
Another way is checking if evDistance between the point and the body returns a distance of zero.
Tried evDistance, seems to return distance to closest face inside or outside body. evDistance seems to work with faces, not bodies. Correct me if I'm wrong.
Will try evaluateQuery.