Mesh Workbench
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).
Ett exempel på ett nätobjekt
Många 3D applikationer använder nät som deras primära 3D objektstyp, som sketchup, blender, maya eller 3d studio max. Eftersom nät är mycket simpla objekt, som endast innehåller hörn (punkter), kanter och (triangulära) ytor, så är de mycket lätta att skapa, förändra, dela upp, sträcka ut, och kan lätt flyttas från en applikation till en annan utan några förluster. Eftersom de dessutom innehåller mycket simpel data, så kan 3D applikationer vanligtvis hantera mycket stora kvantiteter av dem utan några problem. Av dessa anledningar, så är nät ofta den valda 3D objekttypen i applikationer för filmer, animeringar, och bildbehandling.
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.
I FreeCAD, eftersom det är en konstruktionsapplikation, skulle vi givetvis föredra att arbeta med mer intelligenta 3D objekttyper, som kan innehålla mer information, som massa, solidbeteende, eller till och med anpassade parametrar. Nätmodulen skapades först bara för att tjäna som test, men att kunna läsa, manipulera och konvertera nät är också mycket viktigt för FreeCAD. I ditt arbetsflöde kommer du ofta ta emot 3D data i nätformat. Du kommer att behöva kunna hantera denna data, analysera den för att upptäcka fel eller andra problem som förhindrar dem från att konverteras till mer intelligenta objekt, och slutligen, konvertera dem till mer intelligenta objekt, som kan hanteras av Del Modulen.
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