Finding boundary of an stl object

Technical discussions
Post Reply
Gori Jagrati
Posts: 4
Joined: Mon Aug 31, 2020 6:52 am

Finding boundary of an stl object

Post by Gori Jagrati »

Hello all
I have another one:
I have a model of an object I import via stl (mesh). Is there a way to extract boundary wires out of the data? An example is a mesh of rectangle (or box). How do I get vertices which lie on the (four) edges of the rectangle or twelve edges of a box?

Thank you
Gori

Prashant Kande
Posts: 121
Joined: Mon Apr 04, 2016 4:55 am

Re: Finding boundary of an stl object

Post by Prashant Kande »

Hello Gori
I suggest getting v5.2 or earlier. Unfortunately it is not in v6 yet. There is a nice Patchwork sample which does this thing. It takes a mesh, finds its edges and vertices and returns ISurface interface, which lists patches, edges and vertices. The sample demoes it all. You can browse the elements and get all info about each.

Regards

Gori Jagrati
Posts: 4
Joined: Mon Aug 31, 2020 6:52 am

Re: Finding boundary of an stl object

Post by Gori Jagrati »

Thank you, Prashant
I am looking into it

Post Reply