Mesh FromPartShape

Introduction
This command creates a mesh from a shape object.

Usage
There are two methods:
 * 1) Either select the shape object, then choose   →    from the top menu.
 * 2) Just selecting   →   will give you an additional menu to choose your shape to mesh.

In both cases you get a menu that asks for the mesher program to use and its settings. The settings you make there will be stored and used as default for the next time you create a mesh from a shape. .

Mesher program
You can choose one of these 3 mesher programs:

Standard Mesher


You can change these settings:
 * : Maximal linear deflection of a mesh section from the surface of the object
 * : Maximal angular deflection of a mesh section to the next section
 * : If checked, the maximal linear deviation of a mesh segment will be the specified multiplied by the length of the current mesh segment (edge)
 * : If checked, the mesh will get the face colors of the object
 * : If checked, mesh segments will be grouped according to the color of the object faces. These groups will be exported for mesh output formats supporting this feature (e.g. the format OBJ).

Mefisto Mesher


The only setting is:
 * If this number is smaller the mesh becomes finer. The smallest value is 0.

Netgen Mesher


You can choose between mesh being:
 * For this you can set these values:
 * If this parameter is smaller, the mesh becomes finer. A value in the range of 0.1-1.
 * If this parameter is larger, the mesh becomes finer. A value in the range of 0.2-10.
 * If this parameter is larger, the mesh becomes finer. A value in the range of 0.2-10.
 * For this you can set these values:
 * If this parameter is smaller, the mesh becomes finer. A value in the range of 0.1-1.
 * If this parameter is larger, the mesh becomes finer. A value in the range of 0.2-10.
 * If this parameter is larger, the mesh becomes finer. A value in the range of 0.2-10.
 * If this parameter is larger, the mesh becomes finer. A value in the range of 0.2-10.
 * If this parameter is larger, the mesh becomes finer. A value in the range of 0.2-10.

For every you can also choose:
 * Whether an optimization of surface shape will be done.
 * Whether second order elements will be generated.
 * Whether meshes will be arranged preferably using quadrilateral faces.

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

Example: