Mesh Workbench: Difference between revisions

From FreeCAD Documentation
(Revising...)
(Marked this version for translation)
Line 38: Line 38:
All Mesh Workbench tools can be accessed from the '''Meshes''' menu. Some tools are also available in the '''Mesh tools''' toolbar.
All Mesh Workbench tools can be accessed from the '''Meshes''' menu. Some tools are also available in the '''Mesh tools''' toolbar.


<!--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 from file.


<!--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 to file.


<!--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 meshes from [[Part Module|Part]] objects.


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


* Analyze <!--T:12-->
<!--T:12-->
* Analyze
** [[Mesh_Evaluation|Evaluate and repair mesh...]]: Opens a dialog to analyze and repair a mesh.
** [[Mesh_Evaluation|Evaluate and repair mesh...]]: Opens a dialog to analyze and repair a mesh.
** [[Image:Mesh_EvaluateFacet.svg|32px]] [[Mesh_EvaluateFacet|Face info]]: Gives information on selected faces.
** [[Image:Mesh_EvaluateFacet.svg|32px]] [[Mesh_EvaluateFacet|Face info]]: Gives information on selected faces.
Line 53: Line 58:
** [[Mesh_BoundingBox|Boundings info...]]: Shows the coordinates of the boundingbox of a mesh.
** [[Mesh_BoundingBox|Boundings info...]]: Shows the coordinates of the boundingbox of a mesh.


<!--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]]: Calculates the curvature of the vertices of a mesh.


<!--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 a mesh.


<!--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 a mesh.


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


<!--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]]: Interactively closes holes in a mesh.


<!--T:37-->
* [[Mesh_AddFacet|Add triangle]]: Adds a triangle to a mesh.
* [[Mesh_AddFacet|Add triangle]]: Adds a triangle to a mesh.


<!--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 independent components from a mesh.


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


<!--T:40-->
* [[Mesh_Segmentation|Create mesh segments...]]: Creates mesh segments.
* [[Mesh_Segmentation|Create mesh segments...]]: Creates mesh segments.


<!--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 mesh segments from best-fit surfaces.


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


<!--T:43-->
* [[Mesh_Decimating|Decimation...]]: Decimates meshes. {{Version|0.19}}
* [[Mesh_Decimating|Decimation...]]: Decimates meshes. {{Version|0.19}}


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


<!--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 solid mesh.


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


* Cutting <!--T:20-->
<!--T:20-->
* 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 a mesh with a polygon
** [[Mesh_PolyTrim|Trim mesh]]: Trims a mesh with a polygon.
** [[Mesh_PolyTrim|Trim mesh]]: Trims a mesh with a polygon.
Line 93: Line 114:
** [[Mesh_CrossSections|Cross-sections...]]: ???. {{Version|0.19}}
** [[Mesh_CrossSections|Cross-sections...]]: ???. {{Version|0.19}}


<!--T:46-->
* [[Mesh_Merge|Merge]]: Merges meshes.
* [[Mesh_Merge|Merge]]: Merges meshes.


<!--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. {{Version|0.19}}


<!--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 mesh. {{Version|0.19}}


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


<!--T:49-->
* [[Image:Preferences-import-export.svg|32px]] [[Import_Export_Preference|Preference]] Import-Export
* [[Image:Preferences-import-export.svg|32px]] [[Import_Export_Preference|Preference]] Import-Export



Revision as of 16:02, 27 June 2020

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.
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: Interactively closes holes in a mesh.
  • Boolean
    • Union: Creates a union (fusion) from meshes.
    • Intersection: Creates an intersection (common) from meshes.
    • Difference: Creates a difference (cut) from meshes.

Preferences

More mesh tools are available in the OpenSCAD Workbench.

Meshes can also be handled via Python using Mesh Scripting.

Links