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.
opSplitPart not behaving like UI split part
Hi,
Referring to the image below:
I want to split the part with the surface to give inner and outer parts.
I'm using
opSplitPart(context, id + "splitPart1", {
"targets" : targetPart,
"tool" : qCreatedBy(id + "extrudeOuterEdges", EntityType.FACE),
"keepTools" : true
});
As you can see at the front left, the split is splitting the part full length below the surface giving me an upper and lower part, rather than the required central and outer parts.
If I manually split the part using the surface it works absolutely fine.
Any thoughts appreciated.
Thank you.
Best Answer
-
GregBrown Member, Onshape Employees, csevp Posts: 204
The tool you are trying to split with is specified as EntityType.FACE, which is not what you want. You'll need to construct your query such that it returns a BODY…
0
Answers
The tool you are trying to split with is specified as EntityType.FACE, which is not what you want. You'll need to construct your query such that it returns a BODY…
Thank you!