Mesh Workbench/en

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.


 * [[Image:Mesh_RemeshGmsh.svg|32px]] Refinement...: Remeshes a mesh object.


 * Analyze
 * [[Image:Mesh_Evaluation.svg|32px]] Evaluate and repair mesh...: Evaluates and repairs a mesh object.
 * [[Image:Mesh_EvaluateFacet.svg|32px]] Face info: Shows information about faces of mesh objects.
 * [[Image:Mesh_CurvatureInfo.svg|32px]] Curvature info: Shows the absolute curvature of curvature objects at selected points.
 * [[Image:Mesh_EvaluateSolid.svg|32px]] Check solid mesh: Checks if a mesh object is solid.
 * [[Image:Mesh_BoundingBox.svg|32px]] 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.


 * [[Image:Mesh_FillupHoles.svg|32px]] Fill holes...: Fills holes in mesh objects.


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


 * [[Image:Mesh_AddFacet.svg|32px]] Add triangle: Adds faces along a boundary of an open mesh object.


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


 * [[Image:Mesh_RemoveCompByHand.svg|32px]] Remove components by hand...: Removes components from mesh objects.


 * [[Image:Mesh_Segmentation.svg|32px]] Create mesh segments...: Creates separate mesh segments for specified surface types of a mesh object.


 * [[Image:Mesh_SegmentationBestFit.svg|32px]] Create mesh segments from best-fit surfaces...: Creates separate mesh segments for specified surface types of a mesh object, and can identify their parameters.


 * [[Image:Mesh_Smoothing.svg|32px]] Smooth...: Smooths mesh objects.


 * [[Image:Mesh_Decimating.svg|32px]] Decimation...: Reduces the number of faces in mesh objects.


 * [[Image:Mesh_Scale.svg|32px]] Scale...: Scales mesh objects.


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


 * Boolean
 * [[Image:Mesh_Union.svg|32px]] Union: Creates a mesh object that is the union of two mesh objects.
 * [[Image:Mesh_Intersection.svg|32px]] Intersection: Creates a mesh object that is the intersection of two mesh objects.
 * [[Image:Mesh_Difference.svg|32px]] 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.
 * [[Image:Mesh_PolyTrim.svg|32px]] Trim mesh: Trims faces and parts of faces from mesh objects.
 * [[Image:Mesh_TrimByPlane.svg|32px]] Trim mesh with a plane: Trims faces and parts of faces on one side of a plane from a mesh object.
 * [[Image:Mesh_SectionByPlane.svg|32px]] Create section from mesh and plane: Creates a cross section across a mesh object.
 * [[Image:Mesh_CrossSections.svg|32px]] Cross-sections...: Creates multiple cross sections across mesh objects.


 * [[Image:Mesh_Merge.svg|32px]] Merge: Creates a mesh object by combining the meshes of two or more mesh objects.


 * [[Image:Mesh_SplitComponents.svg|32px]] Split by components: Splits a mesh object into its components.


 * [[Image:MeshPart_CreateFlatMesh.svg|32px]] Unwrap Mesh: Creates a flat representation of a mesh object.


 * [[Image:MeshPart_CreateFlatFace.svg|32px]] 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.