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.
Trouble with extrude
3966_cad
Member Posts: 10 EDU
I am using extrude instead of opExtrude, but it keeps saying that the EXTRUDE_FAILED.
Here is the link.
extrude(context, id + "extrude2", { "entities" : qSketchRegion(id + "sketch2"), "oppositeDirection" : true, "endBound" : BoundingType.UP_TO_BODY, "operationType" : NewBodyOperationType.REMOVE, "endBoundEntityBody" : qCreatedBy(id + "sketch2", EntityType.BODY) });If anyone can help, it would be much appreciated.
Here is the link.
Tagged:
0
Comments
On extrude1, I believe in
"endDepth" : definition.length * inch
, you should remove* inch
, since definition.length already has length units.On extrude2, you seem to be extruding a sketch up to bodies from that same sketch, so the extrude depth is 0 everywhere. I'm not sure what your intention is but I assume that's not it?