Stratal CAD

Making mesh bodies

Help centre · 3D, parts and assemblies

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

Steps

To import a mesh file as a body:

  1. Click 3D > Part > Import mesh, or type MESHIMPORT.
  2. Choose the file (STL, OBJ, PLY and the other mesh formats listed in the file dialog).
  3. 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>".
  4. At the "Triangles to keep" prompt, type B for Body. The prompt changes to "Kept as a mesh body, its faces unchanged [Mesh/Solid] <import>". Press Enter.

To make mesh bodies from solids:

  1. 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.
  2. At "Select solids to make mesh bodies (Enter: every solid of the drawing)", pick solids, or press Enter for all of them.
  3. 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 K first to keep each solid beside its new body.

To start a body in Mesh Studio:

  1. 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.
  2. 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.
  3. 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

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

Related

Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.