Mesh FromPartShape/ru

Description
The Mesh FromPartShape command creates non-parametric mesh objects, Mesh Features, from shape objects.

Usage

 * 1) Optionally select one or more objects.
 * 2) There are several ways to invoke the command:
 * 3) * Press the button.
 * 4) * Select the option from the menu.
 * 5) The  task panel opens.
 * 6) While the task panel is open you can create a new selection or change an existing selection.
 * 7) Select the tab for the mesher you wish to use.
 * 8) Specify the required settings. See Meshers.
 * 9) Press the  button to close the task panel and finish the command.

Meshers
These are the available meshers and their settings:

Standard mesher

 * : the maximum linear deviation of a mesh section from the surface of the object.
 * : the maximum angular deviation from one mesh section to the next. This setting is used when meshing curved surfaces.
 * : if checked, the maximum 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 colors of the object's faces. These groups will be exported for mesh output formats supporting this feature (the OBJ format for example).

Mefisto mesher

 * : the maximum edge length of the mesh. A smaller value results in a finer mesh. Specifying, or unchecking the checkbox, results in a very coarse mesh.
 * If you press the button the mesher will enter an estimated value for the . This value is not very reliable if multiple objects have been selected.

Netgen mesher

 * : select an options for the finesse of the mesh:
 * : for this option the following settings can be specified:
 * : a smaller value results in a finer mesh. The value must be in the -  range.
 * : a larger value results in a finer mesh. The value must be in the -  range.
 * : a larger value results in a finer mesh. The value must be in the -  range.
 * if checked, the surface shape will be optimized.
 * if checked, second order elements will be generated resulting in a finer mesh.
 * if checked, the mesh will preferably use quadrilateral faces.
 * : a larger value results in a finer mesh. The value must be in the -  range.
 * : a larger value results in a finer mesh. The value must be in the -  range.
 * if checked, the surface shape will be optimized.
 * if checked, second order elements will be generated resulting in a finer mesh.
 * if checked, the mesh will preferably use quadrilateral faces.

Gmsh mesher
For Linux users: the external Gmsh module is required.


 * : select a meshing option:
 * : a smaller value results in a finer mesh. Specify to have this size automatically determined.
 * : a smaller value results in a finer mesh. The value should be smaller than the . Specify to have this size automatically determined.
 * : seems to be unsupported at this time.
 * : press the button and browse to the  path.
 * If the meshing process takes too long you can press the button to abort it.
 * Press the button to remove the information in the text area.
 * : a smaller value results in a finer mesh. Specify to have this size automatically determined.
 * : a smaller value results in a finer mesh. The value should be smaller than the . Specify to have this size automatically determined.
 * : seems to be unsupported at this time.
 * : press the button and browse to the  path.
 * If the meshing process takes too long you can press the button to abort it.
 * Press the button to remove the information in the text area.
 * Press the button to remove the information in the text area.

Standard mesher

 * The setting is stored:.
 * The setting is stored:.
 * The setting is stored:.

Gmsh mesher

 * The is stored:.

Properties
See: Mesh Feature.

Scripting
See also: FreeCAD Scripting Basics.

To create a mesh object from a shape object use the method of the MeshPart module. This method has several signatures. The signature determines the mesher that will be used. The example below uses the Mefisto mesher signature.