Meshing and export
Implicits and volumes stay exact until you mesh them. This page covers turning them into meshes, choosing the resolution, cleaning the result for printing or simulation, and exchanging volumes with other tools as VDB files. Previewing is covered in Previewing geometry.
Meshing an implicit
Mesh From Implicit samples the implicit on a grid and extracts its surface. The most important input is MinFeatureSize: the voxel size of that grid, in model units. Set it smaller than the smallest detail you need to keep, such as the thinnest wall or strut.
- Each time you halve
MinFeatureSize, the grid has eight times as many voxels, so start coarse and refine. BoundingBoxlimits meshing to part of the model. Leave it empty to mesh the whole implicit.Adaptivity(0 to 1) uses fewer, larger triangles in flat regions. Above about 0.3 the mesh mixes triangles and quads.Smoothingruns mean-curvature passes before meshing. It rounds the surface and softens creases, with slight shrinkage.
Preview Field 3D renders the implicit directly on the GPU, without meshing. Use it while you design, and mesh once the shape is settled.
Meshing a scalar volume
Mesh From Scalar Volume extracts the surface of a scalar volume at an Isovalue, normally 0. Its resolution is the voxel size the volume was created with, so set that on
Scalar Volume From Field,
Scalar Volume From Mesh or
Scalar Volume From Points, or change it with
Resample. A volume read with
Scalar Volume From File keeps the voxel size of its file.
Cleaning the mesh
The panel 5. Remesh rebuilds a mesh's triangles without changing its shape:
Remesh Sharp keeps sharp edges and grades triangle size by curvature. Use it for parts with sharp edges and crisp features.
Remesh Smooth produces evenly sized triangles across the whole surface. Use it for organic shapes and smooth lattices.
Sections and contours
Contour extracts the cross-section of an implicit on a plane as curves, without meshing. Use it for drawings, slice checks and toolpaths.
Writing and reading VDB files
Export VDB writes implicits and scalar volumes to one OpenVDB file, one grid each, for other software tools that read VDB files. Each implicit becomes a narrow-band level set, rasterised with the same MinFeatureSize, BoundingBox and Smoothing as
Mesh From Implicit. Each scalar volume keeps its own voxel size.
- A VDB file has no unit.
Scalemultiplies every length in the file: 0.001 writes a model drawn in millimetres in metres. Bandwidthsets how far from the surface the file holds true distances, 3 voxels by default.Namesnames the grids. Without names, they arevolume,volume_0,volume_1and onwards.FolderandFile Nameset where the file goes. The component adds.vdbto the name, sopartgivespart.vdb.- The file is written only while
Writeis true. A Button writes it once for each click.
Scalar Volume From File reads a VDB file back as scalar volumes, with the name of each grid. A Scale of 1000 undoes an export at 0.001. Grids the component cannot use, such as velocity vectors, are left out, and a remark names each one. Set Watch to true to read the file again whenever it changes on disk, for example while another program keeps saving it. The component reads a change only after the file has stayed unchanged for one second. Saves that come less than a second apart count as one change: the component ignores the saves in between and reads the file once, a second after the last save.
Morphé treats every scalar volume as a level set, including the density grid of a fog volume read from a file. Distance operations such as
Offset give no meaningful result on such a volume.
Getting the result out of Grasshopper
Meshes from Morphé are ordinary Rhino meshes. Bake them, or wire them into any Grasshopper component, and export from Rhino in the format you need: STL or 3MF for printing, OBJ for other tools. For tools that read volumes, write a VDB file with
Export VDB.
