Identify open parts of lines

Next
 From:  Axel
9930.1 
Hi Michael,

what is the best way to identify open objects where accidentally curves are not closed but very little open and they are able to be joined but cause other softwares to detect and fail to further handling.

So far I go through each line and joints by zooming in a lot, separate them beforehand and then search edge by edge for overlapping or open joints.




Thanks,

Axel
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
9930.2 In reply to 9930.1 
Script Naked Edges then zoom on them

script: /* Naked edges */ var gd = moi.geometryDatabase; gd.deselectAll();
var breps =gd.getObjects().getBreps(); for ( var i = 0; i < breps.length; ++i )
breps.item(i).getNakedEdges().setProperty( 'selected', true );
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9930.3 In reply to 9930.1 
Hi Axel, for surfaces the script Pilou shows above will show the "naked edges" of the object, those are edges that only belong to one surface and are not joined between 2 surfaces like a solid needs to have.

For working on curves only and not solids, there is a script here that will mark the end point of open curves with a point object so you can see where to investigate for gaps or cross-overs:
http://moi3d.com/forum/messages.php?webtag=MOI&msg=2888.11

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Axel
9930.4 In reply to 9930.3 
Hello Michael, Hello Pilou,

thanks for the answers. Mainly I would need that for open curves, not surfaces, so I installed the script you provided. That's really interesting how it works now. I can join open curves and even there is a gap it joins and I would never identify it as an open curve, cause it's joined. But this little tool shows the overlapping or the gap with the point.

Great!


Best regards,

Axel
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Frenchy Pilou (PILOU)
9930.5 In reply to 9930.4 
You have also this who select points of curves and
highlight a cluster of Points based on a set criteria. Like if a curve was!

Selected and the script turned on any points that where within 2mm from each other. (or anything you want)

https://moi3d.com/forum/index.php?webtag=MOI&msg=9614.5

EDITED: 1 Sep 2020 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All