Part ShapeFromMesh/de

Introduction
The command creates a shape from a mesh object. Mesh objects have limited editing capabilities in FreeCAD, converting them to shapes will allow their use with many more tools in FreeCAD.

Usage

 * 1) Select the mesh object in the tree view.
 * 2) Go to the menu,.
 * 3) A popup-menu will ask for the tolerance for sewing shape; the default value is.
 * 4) A shape from the mesh object is created as a separate new object.

Analyzing and repairing of the mesh, if needed, should be done manually before launching. Appropriate tools for this task are available in the Mesh Workbench.

After creation of a Shape, it may be useful to use (necessary for boolean operations) and.

Links

 * Edit STL Files In FreeCAD video by AllVisuals4U.

Scripting
Creating a Shape from a Mesh can be done by using the method from a Part TopoShape; you need to specify the source mesh and tolerance, and assign the result to a new Part Feature object.

Notice that the mesh must be recalculated before it is converted to a Shape, otherwise there won't be topology information, and the conversion won't be successful.