Arch MeshToShape

Description
Arch MeshToShape converts a selected Mesh (Mesh Feature) object into a Shape (Part Feature) object.

This tool is optimized for objects with flat faces (no curves). The corresponding tool from the  Part Workbench might be more suited for objects that contain curved surfaces.

Usage

 * 1) Select a mesh object.
 * 2) Press the  entry in.

Scripting
Arch API and FreeCAD Scripting Basics.

This tool can be used in macros and from the Python console by using the following function:

The above code snippet converts the given (a mesh), into a shape, joining coplanar facets.
 * If is, non-solid objects will be marked in red.
 * If is, it uses a faster algorithm by building a shell from the facets then removing splitter.
 * is the tolerance used when converting mesh segments to wires.
 * If is, it will force the wires to be perfectly planar to be sure they can be converted into faces, but this might leave gaps in the final shell.
 * If is, holes in faces are made by subtraction.

Example: