Mesh a curve, surface, or volume
Use cell counts to control the number of segments, quadrilaterals, or hexahedra on a single patch.
- Select a curve, surface, or volume under Scene → Geometry. Choose Mesh → Generate mesh….
- Choose Cell counts. Enter a count for each available direction, then choose Generate.
- Select the new entry under Scene → Meshes and check the cell and node counts in the status bar. To change the resolution, choose Mesh → Remesh… with the mesh selected.
| Example patch | Cell counts | Generated cells | Nodes |
|---|---|---|---|
| Line | U = 4 | 4 segments | 5 |
| Rectangle | U = 4, V = 3 | 12 quadrilaterals | 20 |
| Box | U = 4, V = 3, W = 2 | 24 hexahedra | 60 |
The screenshots show the box. Start with Create → Box to try the same counts.
Export these nodes and cells as VTK. To export a fresh sampling of the geometry instead, use Export sampled geometry as VTK.
Fortran equivalent. Sample a volume into hexahedra uses sample points for the same cell counts.