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.
Extrude removing material in Sheet Metal part
Roberto_Verduci
Member Posts: 29 ✭✭
Hi,
I'm new in scripting.
I'm tring to sketch a circle on a SM face and to extrude it removing material. I can draw a circle, I can extrude it but I get an error with opBoolean (@opBoolean: SHEET_METAL_PARTS_PROHIBITED).
How can I use opBoolean with SM?
Thanks
I'm new in scripting.
I'm tring to sketch a circle on a SM face and to extrude it removing material. I can draw a circle, I can extrude it but I get an error with opBoolean (@opBoolean: SHEET_METAL_PARTS_PROHIBITED).
How can I use opBoolean with SM?
Thanks
0
Comments
-
Sheet metal part modification is tricky.
The easiest way to do it is to use the actual Boolean feature instead of opboolean. It handles all the hard stuff for you.1 -
Hi Caden,
thanks. Where can I find an example? I'm new in featureScripting and I'm learning step by step0 -
@Roberto_Verduci
if your opBoolean Call is similar to this with no other argumentsopBoolean(context, id + "boolean1", {"tools" : tools,"operationType" : BooleanOperationType.SUBTRACTION,"targets": something});
then change it tobooleanBodies(context, id + "boolean1", {"tools" : tools,"operationType" : BooleanOperationType.SUBTRACTION,"targets": something});
this should solve your issue1 -
Hi Jacob,
it was so simple that I hadn't considered replacing the feature name
It works good.
Thank you both!!0

