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.
FeatureScript for Intersection Curve
graham_lock
Member Posts: 148 PRO
Hi all,
I want to include an intersection curve in my FeatureScript but I'm struggling to find the correct function.
I've found opIntersectFaces but that takes 2 arrays of faces.
I want to pass a plane and a curve?
Any help appreciated.
Thank you.
I want to include an intersection curve in my FeatureScript but I'm struggling to find the correct function.
I've found opIntersectFaces but that takes 2 arrays of faces.
I want to pass a plane and a curve?
Any help appreciated.
Thank you.
0
Answers
https://cad.onshape.com/documents/eaa6d4e47c2370e130af99ef/w/5d494f6fad19ead9b96f9ac0/e/d0378f5dd7633206768a4b14
intersectionCurve(context, id + "intersectionCurve", { "group1" : qUnion([definition.refEntity]), "group2" : qUnion([definition.skin]) });
What input filter do I need to capture a surface for the Skin Entity parameter?
Thank you.
"Filter" : EntityType.BODY && BodyType.SHEET