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.
Unable to fillet an existing object - Need help
andrew_hastings190
Member Posts: 4 PRO
Hi,
I am unable to fillet an existing object, it always throws up errors and ive tried everything to get around this such as trying to draw arcs with lines so i wouldnt have to fillet after i extrude to no avail.
Here is my code:
There arent any preconditions, im unsure how to find out which edges to fillet manually and I want it all in one feature. I just want the the inner edges (the concave ones) to be filleted rather than all the edges around it.
Thanks,
I am unable to fillet an existing object, it always throws up errors and ive tried everything to get around this such as trying to draw arcs with lines so i wouldnt have to fillet after i extrude to no avail.
Here is my code:
var length = 100*millimeter;
var depth = 50*millimeter;
var width = 500*millimeter;
var thickness = 5*millimeter;
var sketch1 = newSketch(context, id + "sketch1", {
"sketchPlane" : qCreatedBy(makeId("Front"), EntityType.FACE)
});
skRectangle(sketch1, "rectangle1", {
"firstCorner" : vector(0,0)*millimeter,
"secondCorner" : vector(width,length)
});
skSolve(sketch1);
extrude(context, id + "extrude1", {
"entities" : qSketchRegion(id + "sketch1"),
"endBound" : BoundingType.BLIND,
"oppositeDirection" : true,
"depth" : depth
});
var sketch2 = newSketch(context, id + "sketch2", {
"sketchPlane" : qCreatedBy(makeId("Right"), EntityType.FACE)
});
skRectangle(sketch2, "rectangle2", {
"firstCorner" : vector(thickness,thickness),
"secondCorner" : vector(depth,length-thickness)
});
skSolve(sketch2);
extrude(context, id + "extrude2", {
"entities" : qSketchRegion(id + "sketch2"),
"endBound" : BoundingType.BLIND,
"operationType" : NewBodyOperationType.REMOVE,
"depth" : width
});
opFillet(context, id + "fillet1", {
"entities" : qCreatedBy(id + "extrude2", EntityType.EDGE),
"radius" : 2.5*millimeter
});
There arent any preconditions, im unsure how to find out which edges to fillet manually and I want it all in one feature. I just want the the inner edges (the concave ones) to be filleted rather than all the edges around it.
Thanks,
Tagged:
0
Comments