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.
opExtrude fails when switching from BoundingType.BLIND to BoundingType.SYMMETRIC
ron_moreland
Member Posts: 90 ✭✭
When I switch my endBound from BoundingType.BLIND to BoundingType.SYMMETRIC, I get an exection error:
@opExtrude: Impossible extrude bounding type
Why?
@opExtrude: Impossible extrude bounding type
Why?
0
Best Answer
-
ron_moreland Member Posts: 90 ✭✭I'm looking at the Documentation ( Yes I should have started there ) . I can't use SYMMETRIC. Don't why yet. I guess I specify a start and end bound0
Answers
extrude() is the function directly tied to the button in the toolbar, while opExtrude() is the interface into our geometry server.
Otherwise, yes, the solution is to use opExtrude() and specify both "endBound" and "startBound" as BLIND with matching "endDepth" and "startDepth".
https://cad.onshape.com/FsDoc/library.html#extrude-Context-Id-map
https://cad.onshape.com/FsDoc/library.html#opExtrude-Context-Id-map