Mesh Workbench: Difference between revisions

From FreeCAD Documentation
(Removed 'In progress'. Command descriptions will be tweaked later.)
No edit summary
(One intermediate revision by the same user not shown)
Line 38: Line 38:


<!--T:28-->
<!--T:28-->
* [[Image:Mesh_Import.svg|32px]] [[Mesh_Import|Import mesh...]]: Imports a mesh from file.
* [[Image:Mesh_Import.svg|32px]] [[Mesh_Import|Import mesh...]]: Imports a mesh object from file.


<!--T:29-->
<!--T:29-->
* [[Image:Mesh_Export.svg|32px]] [[Mesh_Export|Export mesh...]]: Exports a mesh to file.
* [[Image:Mesh_Export.svg|32px]] [[Mesh_Export|Export mesh...]]: Exports a mesh object to file.


<!--T:30-->
<!--T:30-->
* [[Image:Mesh_FromPartShape.svg|32px]] [[Mesh_FromPartShape|Create mesh from shape...]]: Creates meshes from [[Part Module|Part]] objects.
* [[Image:Mesh_FromPartShape.svg|32px]] [[Mesh_FromPartShape|Create mesh from shape...]]: Creates mesh objects from shape objects.


<!--T:31-->
<!--T:31-->
* [[Mesh_RemeshGmsh|Refinement...]]: Refines a mesh. {{Version|0.19}}
* [[Mesh_RemeshGmsh|Refinement...]]: Remeshes a mesh object. {{Version|0.19}}


<!--T:12-->
<!--T:12-->
* Analyze
* Analyze
** [[Mesh_Evaluation|Evaluate and repair mesh...]]: Opens a dialog to analyze and repair a mesh.
** [[Mesh_Evaluation|Evaluate and repair mesh...]]: Evaluates and repairs a mesh object.
** [[Image:Mesh_EvaluateFacet.svg|32px]] [[Mesh_EvaluateFacet|Face info]]: Gives information on selected faces.
** [[Image:Mesh_EvaluateFacet.svg|32px]] [[Mesh_EvaluateFacet|Face info]]: Shows information about faces of mesh objects.
** [[Mesh_CurvatureInfo|Curvature info]]: Gives information on the curvature.
** [[Mesh_CurvatureInfo|Curvature info]]: Shows the absolute curvature of [[Mesh_VertexCurvature|curvature objects]] at selected points.
** [[Mesh_EvaluateSolid|Check solid mesh]]: Checks if a mesh is a solid.
** [[Mesh_EvaluateSolid|Check solid mesh]]: Checks if a mesh object is solid.
** [[Mesh_BoundingBox|Boundings info...]]: Shows the coordinates of the boundingbox of a mesh.
** [[Mesh_BoundingBox|Boundings info...]]: Shows the bounding box coordinates of a mesh object.


<!--T:32-->
<!--T:32-->
* [[Image:Mesh_VertexCurvature.svg|32px]] [[Mesh_VertexCurvature|Curvature plot]]: Calculates the curvature of the vertices of a mesh.
* [[Image:Mesh_VertexCurvature.svg|32px]] [[Mesh_VertexCurvature|Curvature plot]]: Creates Mesh Curvature objects for mesh objects.


<!--T:33-->
<!--T:33-->
* [[Image:Mesh_HarmonizeNormals.svg|32px]] [[Mesh_HarmonizeNormals|Harmonize normals]]: Harmonizes the normals of a mesh.
* [[Image:Mesh_HarmonizeNormals.svg|32px]] [[Mesh_HarmonizeNormals|Harmonize normals]]: Harmonizes the normals of mesh objects.


<!--T:34-->
<!--T:34-->
* [[Image:Mesh_FlipNormals.svg|32px]] [[Mesh_FlipNormals|Flip normals]]: Flips the normals of a mesh.
* [[Image:Mesh_FlipNormals.svg|32px]] [[Mesh_FlipNormals|Flip normals]]: Flips the normals of mesh objects.


<!--T:35-->
<!--T:35-->
* [[Mesh_FillupHoles|Fill holes...]]: Closes holes in a mesh.
* [[Mesh_FillupHoles|Fill holes...]]: Fills holes in mesh objects.


<!--T:36-->
<!--T:36-->
* [[Image:Mesh_FillInteractiveHole.svg|32px]] [[Mesh_FillInteractiveHole|Close hole]]: Interactively closes holes in a mesh.
* [[Image:Mesh_FillInteractiveHole.svg|32px]] [[Mesh_FillInteractiveHole|Close hole]]: Fills selected holes in mesh objects.


<!--T:37-->
<!--T:37-->
* [[Mesh_AddFacet|Add triangle]]: Adds a triangle to a mesh.
* [[Mesh_AddFacet|Add triangle]]: Adds faces along a boundary of an open mesh object.


<!--T:38-->
<!--T:38-->
* [[Image:Mesh_RemoveComponents.svg|32px]] [[Mesh_RemoveComponents|Remove components...]]: Removes independent components from a mesh.
* [[Image:Mesh_RemoveComponents.svg|32px]] [[Mesh_RemoveComponents|Remove components...]]: Removes faces from mesh objects.


<!--T:39-->
<!--T:39-->
* [[Mesh_RemoveCompByHand|Remove components by hand...]]: Marks a component for removal from a mesh.
* [[Mesh_RemoveCompByHand|Remove components by hand...]]: Removes components from mesh objects.


<!--T:40-->
<!--T:40-->
* [[Mesh_Segmentation|Create mesh segments...]]: Creates mesh segments.
* [[Mesh_Segmentation|Create mesh segments...]]: Creates separate mesh segments for the specified surface types of a mesh object.


<!--T:41-->
<!--T:41-->
* [[Mesh_SegmentationBestFit|Create mesh segments from best-fit surfaces...]]: Creates mesh segments from best-fit surfaces.
* [[Mesh_SegmentationBestFit|Create mesh segments from best-fit surfaces...]]: Creates separate mesh segments for the specified surface types of a mesh object, and can identify their parameters.


<!--T:42-->
<!--T:42-->
* [[Mesh_Smoothing|Smooth...]]: Smooths meshes.
* [[Mesh_Smoothing|Smooth...]]: Smooths mesh objects.


<!--T:43-->
<!--T:43-->
* [[Mesh_Decimating|Decimation...]]: Decimates meshes. {{Version|0.19}}
* [[Mesh_Decimating|Decimation...]]: Reduces the number of faces in mesh objects. {{Version|0.19}}


<!--T:44-->
<!--T:44-->
* [[Mesh_Scale|Scale...]]: Scales meshes.
* [[Mesh_Scale|Scale...]]: Scales mesh objects.


<!--T:45-->
<!--T:45-->
* [[Image:Mesh_BuildRegularSolid.svg|32px]] [[Mesh_BuildRegularSolid|Regular solid...]] Creates a regular solid mesh.
* [[Image:Mesh_BuildRegularSolid.svg|32px]] [[Mesh_BuildRegularSolid|Regular solid...]] Creates a regular parametric solid mesh object.


<!--T:14-->
<!--T:14-->
* Boolean
* Boolean
** [[Mesh_Union|Union]]: Creates a union (fusion) from meshes.
** [[Mesh_Union|Union]]: Creates a mesh object that is the union of two mesh objects.
** [[Mesh_Intersection|Intersection]]: Creates an intersection (common) from meshes.
** [[Mesh_Intersection|Intersection]]: Creates a mesh object that is the intersection of two mesh objects.
** [[Mesh_Difference|Difference]]: Creates a difference (cut) from meshes.
** [[Mesh_Difference|Difference]]: Creates a mesh object that is the difference of two mesh objects.


<!--T:20-->
<!--T:20-->
* Cutting
* Cutting
** [[Image:Mesh_PolyCut.svg|32px]] [[Mesh_PolyCut|Cut mesh]]: Cuts a mesh with a polygon
** [[Image:Mesh_PolyCut.svg|32px]] [[Mesh_PolyCut|Cut mesh]]: Cuts whole faces from mesh objects.
** [[Mesh_PolyTrim|Trim mesh]]: Trims a mesh with a polygon.
** [[Mesh_PolyTrim|Trim mesh]]: Trims faces and parts of faces from mesh objects.
** [[Mesh_TrimByPlane|Trim mesh with a plane]]: Trims a mesh with a plane.
** [[Mesh_TrimByPlane|Trim mesh with a plane]]: Trims faces and parts of faces on one side of a plane from a mesh object.
** [[Mesh_SectionByPlane|Create section from mesh and plane]]: Creates a section from a mesh and a plane.
** [[Mesh_SectionByPlane|Create section from mesh and plane]]: Creates a cross section across a mesh object.
** [[Mesh_CrossSections|Cross-sections...]]: ???. {{Version|0.19}}
** [[Mesh_CrossSections|Cross-sections...]]: Creates multiple cross sections across mesh objects. {{Version|0.19}}


<!--T:46-->
<!--T:46-->
* [[Mesh_Merge|Merge]]: Merges meshes.
* [[Mesh_Merge|Merge]]: Creates a mesh object by combining the meshes of two or more mesh objects.


<!--T:47-->
<!--T:47-->
* [[MeshPart_CreateFlatMesh|Unwrap Mesh]]: Creates a flat representation of a mesh. {{Version|0.19}}
* [[MeshPart_CreateFlatMesh|Unwrap Mesh]]: Creates a flat representation of a mesh object. {{Version|0.19}}


<!--T:48-->
<!--T:48-->
* [[MeshPart_CreateFlatFace|Unwrap Face]]: Creates a flat representation of a face of a mesh. {{Version|0.19}}
* [[MeshPart_CreateFlatFace|Unwrap Face]]: Creates a flat representation of a face of a shape object. {{Version|0.19}}


==Preferences== <!--T:18-->
==Preferences== <!--T:18-->

Revision as of 11:26, 23 July 2020

Mesh workbench icon

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 one big limitation: they are only made of surfaces, and have no mass information, so they don't behave as solids. This means that all solid-based operations, such as addition or subtraction, are difficult to perform on meshes. The Mesh Workbench is useful to import 3D data in mesh format, to analyse it, detect errors, and finally convert it to a solid, for use with the Part Workbench.

Tools

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

  • Close hole: Fills selected holes in mesh objects.
  • Add triangle: Adds faces along a boundary of an open 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.
  • Merge: Creates a mesh object by combining the meshes of two or more mesh objects.

Preferences

More mesh tools are available in the OpenSCAD Workbench.

Meshes can also be handled via Python using Mesh Scripting.

Links