Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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.

Fillets on internal corners

graham_lockgraham_lock Member Posts: 160 PRO

Hi,

I have bodies which look like this:

I'm trying to workout how to find the internal corner edges so I can apply fillets?

I'm using qSmallest(qOwnedByBody(body, EntityType.EDGE)) (is there a better way?) which returns all 8 corner edges but how should I filter the inner ones?

Any help appreciated.

Thank you.

Best Answers

Answers

  • S1monS1mon Member Posts: 3,039 PRO
    Answer ✓

    You could look at the code for selection fillet, or just use the custom feature.

  • lanalana Onshape Employees Posts: 711
    Answer ✓

    You can use evEdgeConvexity for the edges, You are interested in concave edges.

  • graham_lockgraham_lock Member Posts: 160 PRO

    Thank you for your reply.

    I now have the following:

    for (var edge in evaluateQuery(context, qSmallest(qOwnedByBody(outerSplitBody, EntityType.EDGE))))
    {
    if (evEdgeConvexity(context, {
    "edge" : edge}) == EdgeConvexityType.CONCAVE)
    {
    debug(context, edge);
    println("Found internal edge");
    }
    }

    This does indeed find the internal edges - is this your intended approach?

  • graham_lockgraham_lock Member Posts: 160 PRO

    Thanks @S1mon i’ll take a look at that.

  • lanalana Onshape Employees Posts: 711
    Answer ✓

    @graham_lock

    Yes - that looks correct.

Sign In or Register to comment.