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.
Issues getting opExtrude working with UP_TO_FACE
aaron_skidmore
Member Posts: 34 ✭✭
Hi there I have opExtrude working with BLIND as below - no issues
But when I try and do UP_TO_FACE, no matter what I try I cant seem to get it going, the debug line is showing the correct face. The warning is
debug(context, bottomface);
opExtrude(context, id + "extrude1", {
opExtrude(context, id + "extrude1", {
"entities" : regionToExtrude,
"direction" : zDirection,
"endBound" : BoundingType.BLIND,
"endDepth" : 5 * millimeter
});
});
But when I try and do UP_TO_FACE, no matter what I try I cant seem to get it going, the debug line is showing the correct face. The warning is
@opExtrude: EXTRUDE_SELECT_TERMINATING_SURFACE, which indicated it want a surface not a face? |
debug(context, bottomface);
var faces = qAdjacent(bottomedge, AdjacencyType.EDGE, EntityType.FACE);
var bottomface is Query = qLargest(faces);
"entities" : regionToExtrude,
"direction" : zDirection,
"endBound" : BoundingType.UP_TO_FACE,
"endBoundEntityFace" : qNthElement(bottomface, 0)
});
});
0
Comments