Mesh Workbench/tr: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 14: | Line 14: | ||
The mesh module has currently a very simple interface, all its functions are grouped in the '''Mesh''' menu entry. The most important operations you can currently do with meshes are: |
The mesh module has currently a very simple interface, all its functions are grouped in the '''Mesh''' menu entry. The most important operations you can currently do with meshes are: |
||
* [[Image: |
* [[Image:Mesh_ImportMesh.png|32px]] [[Mesh Import|Import Mesh]]: Import meshes in several file formats |
||
* [[Image: |
* [[Image:Mesh_ExportMesh.png|32px]] [[Mesh Export|Export Mesh]]: Export meshes in several file formats |
||
* [[Image: |
* [[Image:Mesh MeshFromShape.png|32px]] [[Mesh MeshFromShape|Create Mesh from shape]]: Convert [[Part Module|Part]] objects into meshes |
||
* [[Image: |
* [[Image:Mesh HarmonizeNormals.png|32px]] [[Mesh HarmonizeNormals|Harmonize Normals]]: Harmonize normals |
||
* [[Image: |
* [[Image:Mesh_FlipNormals.png|32px]] [[Mesh FlipNormals|Flip Normals]]: Flip [http://en.wikipedia.org/wiki/Surface_normal normals] |
||
* [[Mesh FillHoles|Fill Holes...]]: Fill up holes |
* [[Mesh FillHoles|Fill Holes...]]: Fill up holes |
||
* [[Image: |
* [[Image:Mesh_FillInteractiveHole.png|32px]] [[Mesh FillInteractiveHole|Close hole]]: Close holes in meshes |
||
* [[Image: |
* [[Image:Mesh_RemoveComponents.png|32px]] [[Mesh RemoveComponents|Remove components...]]: Remove components of meshes |
||
* [[Mesh RemoveCompByHand|Remove components by hand...]]: Remove components of meshes by hand |
* [[Mesh RemoveCompByHand|Remove components by hand...]]: Remove components of meshes by hand |
||
* [[Mesh AddTriangle|Add triangle]]: Add triangle |
* [[Mesh AddTriangle|Add triangle]]: Add triangle |
||
Line 29: | Line 29: | ||
* '''Analyze''' curvature, faces, and check if a mesh can be safely converted into a solid |
* '''Analyze''' curvature, faces, and check if a mesh can be safely converted into a solid |
||
** [[Mesh EvaluateRepair|Evaluate & Repair mesh...]]: Evaluates and repairs meshes |
** [[Mesh EvaluateRepair|Evaluate & Repair mesh...]]: Evaluates and repairs meshes |
||
** [[Image: |
** [[Image:Mesh EvaluateFacet.png|32px]] [[Mesh EvaluateFacet|Face Info]]: Gives info on faces |
||
** [[Mesh EvaluateCurvature|Curvature Info]]: Gives info on curvature |
** [[Mesh EvaluateCurvature|Curvature Info]]: Gives info on curvature |
||
** [[Mesh EvaluateSolid|Check solid mesh]]: Checks the solid if it can be converted to a mesh |
** [[Mesh EvaluateSolid|Check solid mesh]]: Checks the solid if it can be converted to a mesh |
||
Line 35: | Line 35: | ||
* [[Image:Mesh_Regular_Solid. |
* [[Image:Mesh_Regular_Solid.png|32px]] [[Mesh BuildRegularSolid|Regular solid...]] Create mesh primitives, like cubes, cylinders, cones, or spheres: |
||
** [[Image:Mesh_Cube. |
** [[Image:Mesh_Cube.png|32px]] Create a mesh cube |
||
** [[Image:Mesh_Cylinder. |
** [[Image:Mesh_Cylinder.png|32px]] Create a mesh cylinder |
||
** [[Image:Mesh_Cone. |
** [[Image:Mesh_Cone.png|32px]] Create a mesh cone |
||
** [[Image:Mesh_Sphere. |
** [[Image:Mesh_Sphere.png|32px]] Create a mesh sphere |
||
** [[Image:Mesh_Ellipsoid. |
** [[Image:Mesh_Ellipsoid.png|32px]] Create a mesh ellipsoid |
||
** [[Image:Mesh_Torus. |
** [[Image:Mesh_Torus.png|32px]] Create a mesh torus |
||
Line 52: | Line 52: | ||
* [[Mesh Merge|Merge]]: Merges meshes |
* [[Mesh Merge|Merge]]: Merges meshes |
||
* [[Mesh SelectMesh|Select Mesh]]: Selects meshes |
* [[Mesh SelectMesh|Select Mesh]]: Selects meshes |
||
* [[Image: |
* [[Image:Mesh Cut.png|32px]] [[Mesh Cut|Cut mesh]]: Cut meshes along a line |
||
* [[Mesh SplitMesh|Split Mesh]]: Splits meshes |
* [[Mesh SplitMesh|Split Mesh]]: Splits meshes |
||
* [[Image: |
* [[Image:Mesh MakeSegment.png|32px]] [[Mesh MakeSegment|Make segment]]: Makes a segment |
||
* [[Mesh TrimMesh|Trim mesh]]: Trims meshes |
* [[Mesh TrimMesh|Trim mesh]]: Trims meshes |
||
* [[Mesh TrimMeshWithPlane|Trim mesh with a plane]]: Trims meshes with a plane |
* [[Mesh TrimMeshWithPlane|Trim mesh with a plane]]: Trims meshes with a plane |
||
* [[Mesh CreateMeshSegment|Create mesh segments...]]: Creates mesh segments |
* [[Mesh CreateMeshSegment|Create mesh segments...]]: Creates mesh segments |
||
* [[Image: |
* [[Image:Mesh_CurvaturePlot.png|32px]] [[Mesh CurvaturePlot|Curvature Plot]]: Creates a curvature plot |
||
Revision as of 06:56, 28 July 2016
The Mesh Workbench handles triangle meshes. Meshes are a special type of 3D object, composed of triangles connected by their edges and their corners (also called vertices).
An example of a mesh object
Many 3D applications use meshes as their primary type of 3D object, like sketchup, blender, maya or 3d studio max. 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. Besides, since they contain very simple data, 3D applications can usually manage very large quantities of them without any problem. For those reasons, meshes are often the 3D object type of choice for applications dealing with movies, animation, and image creation.
In the field of engineering, however, meshes present one big limitation: They are very dumb objects, only composed of points,lines and faces. They are only made of surfaces, and have no mass information, so they don't behave as solids. In a mesh there is no automatic way to know if a point is inside or outside the object. This means that all solid-based operations, such as addition or subtraction, are always a bit difficult to perform on meshes, and return errors often.
In FreeCAD, since it is an engineering application, we would obviously prefer to work with more intelligent types of 3D objects, that can carry more informations, such as mass, solid behaviour, or even custom parameters. The mesh module was first created to serve as a testbed, but to be able to read, manipulate and convert meshes is also highly important for FreeCAD. Very often, in your workflow, you will receive 3D data in mesh format. You will need to handle that data, analyse it to detect errors or other problems that prevent converting them to more intelligent objects, and finally, convert them to more intelligent objects, handled by the Part Module.
Using the mesh module
The mesh module has currently a very simple interface, all its functions are grouped in the Mesh menu entry. The most important operations you can currently do with meshes are:
- Import Mesh: Import meshes in several file formats
- Export Mesh: Export meshes in several file formats
- Create Mesh from shape: Convert Part objects into meshes
- Harmonize Normals: Harmonize normals
- Flip Normals: Flip normals
- Fill Holes...: Fill up holes
- Close hole: Close holes in meshes
- Remove components...: Remove components of meshes
- Remove components by hand...: Remove components of meshes by hand
- Add triangle: Add triangle
- Smooth...: Smooth mesh
- Analyze curvature, faces, and check if a mesh can be safely converted into a solid
- Evaluate & Repair mesh...: Evaluates and repairs meshes
- Face Info: Gives info on faces
- Curvature Info: Gives info on curvature
- Check solid mesh: Checks the solid if it can be converted to a mesh
- Boundings info...: Evaluates the bounding box of a mesh
- Regular solid... Create mesh primitives, like cubes, cylinders, cones, or spheres:
- Do Boolean operations with meshes
- Union: Does a union (fusion) on meshes
- Intersection: Does an intersection (common) on meshes
- Difference: Does a difference (cut) on meshes
- Merge: Merges meshes
- Select Mesh: Selects meshes
- Cut mesh: Cut meshes along a line
- Split Mesh: Splits meshes
- File:Mesh MakeSegment.png Make segment: Makes a segment
- Trim mesh: Trims meshes
- Trim mesh with a plane: Trims meshes with a plane
- Create mesh segments...: Creates mesh segments
- Curvature Plot: Creates a curvature plot
These are only some of the basic operations currently present in the Mesh module interface.
More mesh tools are available in the OpenSCAD Workbench.
But the FreeCAD meshes can also be handled in many more ways by scripting.
Links