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.

Sketch Profile inspection for open contours

bryan_lagrangebryan_lagrange Member, User Group Leader Posts: 514 ✭✭✭✭
It would be nice to have a command that you could execute inside a sketch that would highlight open profiles. 

When a profile is closed, Onshape shades the profile. However sometimes when you believe a shape is "closed" it is hard to find the open contour because the open contour is so small you have to draw temporary lines all over the profile to find the area and then you have to zoom in to the smallest of areas to close the profile. I find this issue rises the most with imported non native .dxf files. 

Simple contour profile, temporary lines are an easy work around to find open profile. If importing something like a complex logo from a customer, that you are making a custom sign for, then the temporary lines and zooming in can be a big time consumer.
Bryan Lagrange
Twitter: @BryanLAGdesign

Comments

  • MBartlett21MBartlett21 Member, OS Professional, Developers Posts: 2,000 EDU
    I think there is a connected edges option in the create selection dialog that might help.
    mb - draughtsman - also FS author: View FeatureScripts
  • lougallolougallo Member, Moderator, Onshape Employees, Developers Posts: 1,995
    @bryan_lagrange You have this when there is no filled region shown as well.
    Lou Gallo / PD/UX - Support - Community / Onshape, Inc.
  • bryan_lagrangebryan_lagrange Member, User Group Leader Posts: 514 ✭✭✭✭
    @MBartlett21 could you show an example? 
    Bryan Lagrange
    Twitter: @BryanLAGdesign

  • MBartlett21MBartlett21 Member, OS Professional, Developers Posts: 2,000 EDU
    @bryan_lagrange

    See image below that shows a closed sketch:

    All the edges are highlighted due to their being connected
    mb - draughtsman - also FS author: View FeatureScripts
  • tim_hess427tim_hess427 Member Posts: 648 PRO
    I think @bryan_lagrange is asking for a tool that highlights the "gap" that results in an open contour. If there's only one gap between line segments, the selection tool will still be able to select all connected edges, even if they don't create a closed loop. 

    On the bright side, if there is more than one gap between line segments, the selection tool would show you the two gaps closest to your selection. 

    First image - 1 gap. Selection tool not useful.  :/
    Second image  - 2 gaps (circled in red). Selection tool useful.  :smile::smile:



  • bryan_lagrangebryan_lagrange Member, User Group Leader Posts: 514 ✭✭✭✭
    That is what I am looking for @tim_hess427
    Bryan Lagrange
    Twitter: @BryanLAGdesign

  • MBartlett21MBartlett21 Member, OS Professional, Developers Posts: 2,000 EDU
    @tim_hess427
    @lougallo
    Would the create selection tool be able to highlight the ends of the loop it selects when 'Loop/chain connected' is selected?
    This should make finding one gap easier to do
    mb - draughtsman - also FS author: View FeatureScripts
  • Toshimichi_OdaToshimichi_Oda OS Professional Posts: 44 PRO
    Highlight of the ends is a good idea.

    But I propose another:
    'create selection' searches one side direction from selected edge instead of both sides.
    When chain of edges is not closed, You can find the end at stopping 'create selection'.


    If you zoom in clicking a edge, without zoom out you can see either edges' chain closed or not.


    It may have a option to select one of three:
      * one side  (longer side)
      * another side  (shorter side)
      * both side

    Or it is better than the above option, to have a part-of-chain 'create selection':
    Click an edge =A=, and click an edge =B= which is on longer or shorter chain from =A=, then it selects part-of-chain edges from =A= to =B=.
    This part-of-chain can be used in edges of face.



  • john_mcclaryjohn_mcclary Member, Developers Posts: 3,634 PRO
    edited January 24
    I like it. This would be very useful either way

    beats sketching a line and sliding over the sketch until the shading goes away.

    Tim's method would probably be better, that way you don't have to click a line first, and you can zoom out and see 'all of the problem areas'
    especially when you have an imported DXF with hundreds of gaps
  • Greg_KeosayianGreg_Keosayian Member Posts: 8 PRO
    I would greatly appreciate this tool. Right now I am having to play detective drawing lines and narrowing down the small gap culprit in a sketch which greatly reduces my productivity when I would love to simply extrude this quickly and move on. 
  • Greg_KeosayianGreg_Keosayian Member Posts: 8 PRO

  • Greg_KeosayianGreg_Keosayian Member Posts: 8 PRO
    Wouldn't it be nice to click a button and the gaps are highlighted in red to save the user time
  • S1monS1mon Member Posts: 709 PRO
    @Greg_Keosayian

    I assume you know about the divide and conquer approach (aka binary search) where you add a line in the middle and see which side closes up, and then move the line to the 1/4 or 3/4 point to keep narrowing down the search. Also displaying constraints can help see where the points are coincident.

    All that said, a red highlight like we can turn on for open edges of surfaces would save a lot of time.
  • jon_sorrellsjon_sorrells Onshape Employees Posts: 51
    Here's a custom feature that will show sketch line endpoints that are not touching anything else.


  • shawn_crockershawn_crocker Member, OS Professional Posts: 423 PRO
    I recognize I may not have fully read everything here but this is how I usually get to the bottom of this issue.


Sign In or Register to comment.