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.

Is editing logic the best way to limit selections to only holes?

Evan_ReeseEvan_Reese Member Posts: 1,375 PRO
Is there a selection filter that would limit user inputs to only cylindrical holes, or do I need to manually remove bad selections with editing logic?
Evan Reese / Principal and Industrial Designer with Ovyl
Website: ovyl.io

Answers

  • lanalana Onshape Employees Posts: 661
    There is no such filter.  GeometryType.CYLINDER && BodyType.SOLID  is the closest thing. You can use editing logic so that selection window would not have extra faces  or you can filter out wrong cylinders inside features, highlight them and put up an info message. I'd prefer the latter to just quietly dropping selections.
  • Evan_ReeseEvan_Reese Member Posts: 1,375 PRO
    Thanks, @lana I was planning to drop them and add a message, but I like your philosophy more. It's even clearer.
    Evan Reese / Principal and Industrial Designer with Ovyl
    Website: ovyl.io
  • konstantin_shiriazdanovkonstantin_shiriazdanov Member Posts: 1,221 ✭✭✭✭✭
    Would be nice to have a filter for inner/outer rotational faces based on the test whether face normal line intersects rotational surface axis in positive direction
  • ilya_baranilya_baran Onshape Employees, Developers, HDM Posts: 1,118
    How would you want a toroidal face to behave with respect to such a filter?
    Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc
  • konstantin_shiriazdanovkonstantin_shiriazdanov Member Posts: 1,221 ✭✭✭✭✭
    edited December 2021
    @ilya_baran for this I think the filter need to have a third case for faces that have both external and internal normal. If its not computationally expensive
Sign In or Register to comment.