Mesh Workbench/zh: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
<languages/>
<languages/>
{{Page in progress}}

{{Docnav
{{Docnav
|[[Inspection Workbench|Inspection Workbench]]
|[[Inspection Workbench|Inspection Workbench]]
Line 8: Line 10:


[[Image:Workbench_Mesh.svg|thumb|128px|Mesh workbench icon]]
[[Image:Workbench_Mesh.svg|thumb|128px|Mesh workbench icon]]

{{TOCright}}
{{TOCright}}

== Introduction ==
==Introduction==


The [[Image:Workbench_Mesh.svg|24px]] [[Mesh Workbench|Mesh Workbench]] handles [http://en.wikipedia.org/wiki/Triangle_mesh triangle meshes]. Meshes are a special type of 3D object, composed of triangular faces connected by their vertices and edges.
The [[Image:Workbench_Mesh.svg|24px]] [[Mesh Workbench|Mesh Workbench]] handles [http://en.wikipedia.org/wiki/Triangle_mesh triangle meshes]. Meshes are a special type of 3D object, composed of triangular faces connected by their vertices and edges.
Line 19: Line 23:
[[Image:Mesh_example.jpg|500px]]
[[Image:Mesh_example.jpg|500px]]


== Tools ==
==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]] [[Mesh_Import|Import mesh...]]: Imports a mesh from file.

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

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

* [[Mesh_RemeshGmsh|Refinement...]]: Refines a mesh. {{Version|0.19}}

* Analyze
** [[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.
** [[Mesh_CurvatureInfo|Curvature info]]: Gives information on the curvature.
** [[Mesh_EvaluateSolid|Check solid mesh]]: Checks if a mesh is a solid.
** [[Mesh_BoundingBox|Boundings info...]]: Shows the coordinates of the boundingbox of a mesh.

* [[Image:Mesh_VertexCurvature.svg|32px]] [[Mesh_VertexCurvature|Curvature plot]]: Calculates the curvature of the vertices of a mesh.

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

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

* [[Mesh_FillupHoles|Fill holes...]]: Closes holes in a mesh.

* [[Image:Mesh_FillInteractiveHole.svg|32px]] [[Mesh_FillInteractiveHole|Close hole]]: Interactively closes holes in a mesh.

* [[Mesh_AddFacet|Add triangle]]: Adds a triangle to a mesh.

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

* [[Mesh_RemoveCompByHand|Remove components by hand...]]: Marks a component for removal from a mesh.

* [[Mesh_Segmentation|Create mesh segments...]]: Creates mesh segments.

* [[Mesh_SegmentationBestFit|Create mesh segments from best-fit surfaces...]]: Creates mesh segments from best-fit surfaces.

* [[Mesh_Smoothing|Smooth...]]: Smooths meshes.

* [[Mesh_Decimating|Decimation...]]: Decimates meshes. {{Version|0.19}}

* [[Mesh_Scale|Scale...]]: Scales meshes.


* [[Image:Mesh_BuildRegularSolid.svg|32px]] [[Mesh_BuildRegularSolid|Regular solid...]] Creates a regular solid mesh.
The Mesh Workbench has a simple interface; all its functions are grouped in the {{MenuCommand|Mesh}} menu.


* Boolean
=== General tools ===
** [[Mesh_Union|Union]]: Creates a union (fusion) from meshes.
* [[Image:Mesh_Import.svg|32px]] [[Mesh Import|Import Mesh]]: Import meshes in several file formats
** [[Mesh_Intersection|Intersection]]: Creates an intersection (common) from meshes.
* [[Image:Mesh_Export.svg|32px]] [[Mesh Export|Export Mesh]]: Export meshes in several file formats
** [[Mesh_Difference|Difference]]: Creates a difference (cut) from meshes.
* [[Image:Mesh_FromPartShape.svg|32px]] [[Mesh FromPartShape|Create Mesh from shape]]: Convert [[Part Module|Part]] objects into meshes
* [[Image:Mesh_CurvaturePlot.png|32px]] [[Mesh CurvaturePlot|Curvature Plot]]: Creates a curvature plot
* [[Image:Mesh_HarmonizeNormals.svg|32px]] [[Mesh HarmonizeNormals|Harmonize Normals]]: Harmonize normals
* [[Image:Mesh_FlipNormals.svg|32px]] [[Mesh FlipNormals|Flip Normals]]: Flip [http://en.wikipedia.org/wiki/Surface_normal normals]
* [[Mesh FillHoles|Fill Holes...]]: Fill up holes
* [[Image:Mesh_FillInteractiveHole.svg|32px]] [[Mesh FillInteractiveHole|Close hole]]: Close holes in meshes
* [[Mesh AddTriangle|Add triangle]]: Add triangle
* [[Image:Mesh_RemoveComponents.svg|32px]] [[Mesh RemoveComponents|Remove components...]]: Remove components of meshes
* [[Mesh RemoveCompByHand|Remove components by hand...]]: Remove components of meshes by hand
* [[Mesh CreateMeshSegment|Create mesh segments...]]: Creates mesh segments
* [[Mesh Smooth|Smooth...]]: Smooth mesh
* [[Mesh Scale|Scale]]


* Cutting
=== Analyze ===
** [[Image:Mesh_PolyCut.svg|32px]] [[Mesh_PolyCut|Cut mesh]]: Cuts a mesh with a polygon
Analysis of curvature, faces, and check if a mesh can be safely converted into a solid
** [[Mesh_PolyTrim|Trim mesh]]: Trims a mesh with a polygon.
* [[Mesh EvaluateRepair|Evaluate & Repair mesh...]]: Evaluates and repairs meshes
** [[Mesh_TrimByPlane|Trim mesh with a plane]]: Trims a mesh with a plane.
* [[Image:Mesh_EvaluateFacet.svg|32px]] [[Mesh EvaluateFacet|Face Info]]: Gives info on faces
** [[Mesh_SectionByPlane|Create section from mesh and plane]]: Creates a section from a mesh and a plane.
* [[Mesh EvaluateCurvature|Curvature Info]]: Gives info on curvature
** [[Mesh_CrossSections|Cross-sections...]]: ???. {{Version|0.19}}
* [[Mesh EvaluateSolid|Check solid mesh]]: Checks the solid if it can be converted to a mesh
* [[Mesh BoundingBox|Boundings info...]]: Evaluates the bounding box of a mesh


* [[Mesh_Merge|Merge]]: Merges meshes.
=== Regular solid ===
[[Image:Mesh_RegularSolid.svg|32px]] [[Mesh BuildRegularSolid|Regular solid...]] Create mesh primitives, like cubes, cylinders, cones, or spheres:
* [[Image:Mesh_Cube.svg|32px]] [[Mesh_Cube|Mesh Cube]] Create a mesh cube
* [[Image:Mesh_Cylinder.svg|32px]] [[Mesh_Cylinder|Mesh Cylinder]] Create a mesh cylinder
* [[Image:Mesh_Cone.svg|32px]] [[Mesh_Cone|Mesh Cone]] Create a mesh cone
* [[Image:Mesh_Sphere.svg|32px]] [[Mesh_Sphere|Mesh Sphere]] Create a mesh sphere
* [[Image:Mesh_Ellipsoid.svg|32px]] [[Mesh_Ellipsoid|Mesh Ellipsoid]] Create a mesh ellipsoid
* [[Image:Mesh_Torus.svg|32px]] [[Mesh_Torus|Mesh Torus]] Create a mesh torus


* [[MeshPart_CreateFlatMesh|Unwrap Mesh]]: Creates a flat representation of a mesh. {{Version|0.19}}
=== Boolean ===
* [[Mesh Union|Union]]: Does a union (fusion) on meshes
* [[Mesh Intersection|Intersection]]: Does an intersection (common) on meshes
* [[Mesh Difference|Difference]]: Does a difference (cut) on meshes


* [[MeshPart_CreateFlatFace|Unwrap Face]]: Creates a flat representation of a face of a mesh. {{Version|0.19}}
=== Cutting ===
* [[Image:Mesh_PolyCut.svg|32px]] [[Mesh_PolyCut|Mesh PolyCut]]: Cut meshes along a line
* [[Mesh TrimMesh|Trim mesh]]: Trims meshes
* [[Mesh TrimMeshWithPlane|Trim mesh with a plane]]: Trims meshes with a plane
* Create section from mesh and plane


=== Other ===
==Preferences==
* [[Mesh Merge|Merge]]: Merges meshes
* [[Mesh SelectMesh|Select Mesh]]: Selects meshes
* [[Mesh SplitMesh|Split Mesh]]: Splits meshes
* [[Image:Mesh MakeSegment.png|32px]] [[Mesh MakeSegment|Make segment]]: Makes a segment


== Preferences ==
* [[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:06, 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