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.
Getting the geometry of a cross-section
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?