get the boundary mesh

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
schöne
Posts: 12
Joined: Fri Nov 25, 2022 6:42 pm

get the boundary mesh

Post by schöne »

Hi how can I find the boundary of a mesh ?
User avatar
onekk
Veteran
Posts: 6222
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: get the boundary mesh

Post by onekk »

It is hard to tell, as you are not supplying nothing about your installation and which WB are you using.

Please follow instruction found in the IMPORTANT post at top of this forum.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
User avatar
gabokamaze
Posts: 19
Joined: Thu Feb 10, 2022 3:12 pm

Re: get the boundary mesh

Post by gabokamaze »

If you are dealing with a STL Mesh.Feature, you can use the Mesh.MeshObject method called getSeparateComponents() -> it returns a list of all disconnected surface meshes.

If you are dealing with Part.Feature, you can use the Part.Solid attribute called Shells -> it returns a list of all disconnected shell.
User avatar
Roy_043
Veteran
Posts: 8578
Joined: Thu Dec 27, 2018 12:28 pm

Re: get the boundary mesh

Post by Roy_043 »

Post Reply