Mesh Workbench/zh

Introduction
The Mesh Workbench handles triangle meshes. Meshes are a special type of 3D object, composed of triangular faces connected by their vertices and edges.

Many 3D applications, like Sketchup, Blender, Maya and 3D Studio Max, use meshes as their primary type of 3D object. Since meshes are very simple objects, containing only vertices (points), edges and triangular faces, they are very easy to create, modify, subdivide, stretch, and can easily be passed from one application to another without any loss of details. In addition, since meshes contain very simple data, 3D applications can usually manage very large quantities of them without using a lot of resources. For these reasons, meshes are often the 3D object type of choice for applications dealing with movies, animation, and image creation.

However, in the field of engineering meshes present a big limitation: they cannot accurately define curved surfaces. This is why FreeCAD relies on Brep instead. The Mesh Workbench offers some commands to directly manipulate meshes, but it is most often used to import 3D mesh data and convert it to a solid for use with the Part Workbench or  PartDesign Workbench.



Tools
All Mesh Workbench tools can be accessed from the Meshes menu. Some tools are also available in the Mesh tools toolbar.


 * [[Image:Mesh_Import.svg|32px]] Import mesh...: Imports a mesh object from a file.


 * [[Image:Mesh_Export.svg|32px]] Export mesh...: Exports a mesh object to a file.


 * [[Image:Mesh_FromPartShape.svg|32px]] Create mesh from shape...: Creates mesh objects from shape objects.


 * Refinement...: Remeshes a mesh object.


 * Analyze
 * Evaluate and repair mesh...: Evaluates and repairs a mesh object.
 * [[Image:Mesh_EvaluateFacet.svg|32px]] Face info: Shows information about faces of mesh objects.
 * Curvature info: Shows the absolute curvature of curvature objects at selected points.
 * Check solid mesh: Checks if a mesh object is solid.
 * Boundings info...: Shows the bounding box coordinates of a mesh object.


 * [[Image:Mesh_VertexCurvature.svg|32px]] Curvature plot: Creates Mesh Curvature objects for mesh objects.


 * [[Image:Mesh_HarmonizeNormals.svg|32px]] Harmonize normals: Harmonizes the normals of mesh objects.


 * [[Image:Mesh_FlipNormals.svg|32px]] Flip normals: Flips the normals of mesh objects.


 * Fill holes...: Fills holes in mesh objects.


 * [[Image:Mesh_FillInteractiveHole.svg|32px]] Close hole: Fills selected holes in mesh objects.


 * Add triangle: Adds faces along a boundary of an open mesh object.


 * [[Image:Mesh_RemoveComponents.svg|32px]] Remove components...: Removes faces from mesh objects.


 * Remove components by hand...: Removes components from mesh objects.


 * Create mesh segments...: Creates separate mesh segments for specified surface types of a mesh object.


 * Create mesh segments from best-fit surfaces...: Creates separate mesh segments for specified surface types of a mesh object, and can identify their parameters.


 * Smooth...: Smooths mesh objects.


 * Decimation...: Reduces the number of faces in mesh objects.


 * Scale...: Scales mesh objects.


 * [[Image:Mesh_BuildRegularSolid.svg|32px]] Regular solid... Creates a regular parametric solid mesh object.


 * Boolean
 * Union: Creates a mesh object that is the union of two mesh objects.
 * Intersection: Creates a mesh object that is the intersection of two mesh objects.
 * Difference: Creates a mesh object that is the difference of two mesh objects.


 * Cutting
 * [[Image:Mesh_PolyCut.svg|32px]] Cut mesh: Cuts whole faces from mesh objects.
 * Trim mesh: Trims faces and parts of faces from mesh objects.
 * Trim mesh with a plane: Trims faces and parts of faces on one side of a plane from a mesh object.
 * Create section from mesh and plane: Creates a cross section across a mesh object.
 * Cross-sections...: Creates multiple cross sections across mesh objects.


 * Merge: Creates a mesh object by combining the meshes of two or more mesh objects.


 * Unwrap Mesh: Creates a flat representation of a mesh object.


 * Unwrap Face: Creates a flat representation of a face of a shape object.

Preferences
There are some export preferences related to Mesh Formats but these are not used by commands belonging to this workbench. They are used by the Std Export command.

Mesh Workbench preferences can be found in the following categories of the Preferences Editor:
 * [[Image:Preferences-display.svg|32px]] Display: On the Mesh view tab several preferences can be set.
 * [[Image:Preferences-openscad.svg|32px]] OpenSCAD: The Mesh Union, Mesh Intersection and Mesh Difference commands require OpenSCAD and use the OpenSCAD executable preference to find its executable.