A mesh body is an editable polygon mesh saved in the drawing. You can import one from a file, convert solids, or start one in Mesh Studio, then edit it with the Mesh Studio tools.
Before you start
- Showing, measuring, plotting and exporting mesh bodies works on every licence. Importing needs a licence that includes 3D modelling. Editing a body needs Mesh Studio editing, which is included with Studio and above.
- MESHFROMSOLID and MESHSTUDIO need the 3D kernel.
Steps
To import a mesh file as a body:
- Click 3D > Part > Import mesh, or type
MESHIMPORT. - Choose the file (STL, OBJ, PLY and the other mesh formats listed in the file dialog).
- Answer the units prompt if the file has none: "Units of the file's numbers (STL, OBJ and PLY have none) [Millimetres/Centimetres/Metres/Inches/Feet] <the drawing's>".
- At the "Triangles to keep" prompt, type
Bfor Body. The prompt changes to "Kept as a mesh body, its faces unchanged [Mesh/Solid] <import>". Press Enter.
To make mesh bodies from solids:
- Click the arrow beside 3D > Part > Import mesh and choose Solid to mesh, or type
MESHFROMSOLID. The command line first warns that a mesh body keeps no link to its solid. - At "Select solids to make mesh bodies (Enter: every solid of the drawing)", pick solids, or press Enter for all of them.
- At "Chord deviation in drawing units [Keep] <...>", type the largest distance the facets may stray from the true surface, or press Enter for the value shown. Type
Kfirst to keep each solid beside its new body.
To start a body in Mesh Studio:
- Click 3D > Check, open the Mesh Studio split button and choose Design this in Mesh Studio (
MESHSTUDIO), or use the Mesh Studio tile on the Start page. - With a closed polyline or circle selected, you get one flat face; with a solid selected, its triangulation (the solid stays); with nothing selected, a cube.
- Or use Add mesh primitive (
MESHADD, on the Mesh tab) for a cube, plane, cylinder, sphere or torus.
Options
| Option | What it does |
|---|---|
| Body (MESHIMPORT) | Keeps the mesh as a body with no repair or decimation. An OBJ file's polygons, texture coordinates and material names stay as they are; other formats' triangles become the body's faces. |
| Keep / Replace (MESHFROMSOLID) | Keep leaves each solid with its body beside it; Replace (the default) puts the body in the solid's place |
| Chord deviation | Smaller values give more faces and a closer fit |
Example
A machined part is a solid 120 mm long. Run MESHFROMSOLID, pick the part, type K, then 0.05. You get a mesh body within 0.05 mm of the part, and the solid stays for drawings.
Tips and common mistakes
- MESHFROMSOLID is one way. The body has no features or exact faces; UNDO is the only way back to the solid.
- A body moves, rotates, mirrors and stretches like any object and is saved in the drawing.
- LIST and the Properties panel show a body's faces, creases, texture coordinates (UVs) and material slots.
- MESHTOCAD (3D > Check, Mesh Studio menu) turns a body back into a solid: faceted, or a smooth fitted surface with the deviation stated.
Troubleshooting
| Message or symptom | What it means and what to do |
|---|---|
| "MESHFROMSOLID needs the 3D kernel: ..." | This installation cannot work with solids. The message gives the reason. |
| "The drawing has no solids." | There is nothing to convert. |
| "That is not a solid." | The object you picked is not a solid; pick another. |
| "The deviation is greater than 0." | Type a positive chord deviation. |
| "this mesh is triangles kept from a file, not a mesh body; ..." | The mesh was imported as a plain mesh. Import it again with Body, or use MESHFROMSOLID. |
Related
- Mesh Studio: selecting points, edges and faces
- Mesh Studio: editing tools
- Mesh Studio: subdivision, modifiers and booleans
Related
- Mesh Studio: selecting points, edges and faces
- Mesh Studio: editing tools
- Mesh Studio: subdivision, modifiers and booleans
- Parametric modelling overview
- Creating a sketch
- Adding sketch constraints
Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.