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.
Getting the geometry of a cross-section
carl_malagodi
Member Posts: 18 EDU
Hello,
I am attempting to add a configurable part through the instantiator functionality to a part studio in a featurescript. However I am lost in how to access and evaluate the cross section of a part. In this use case I have the user select a part and an intersecting plane, I would like to be able to find the geometry of this parts cross-section(square, rectangular, circular) and some measurements about the cross-section, I've experimented with some intersection and owner style queries but I don't have a good grasp on how to start solving this problem. Is there a good way to go about accessing this information?
Thanks
0
Comments
Getting the geometry of a cross-section
Another way is by INTERSECTION
No copy
No split
No affecting the part
Take a look at the GIF below
https://cad.onshape.com/documents/dcf6c8e5ee2ad6d1a39d83f7/w/09c23d4aadeddd7894928bb5/e/206a62e3ccdf372b8209c193
this returns wire bodies of the intersections of the bodies.