... | ... | @@ -836,7 +836,9 @@ emit(translate(30,0,0) * vs2) |
|
|
|
|
|
```to_mesh(shape, voxSize)```
|
|
|
|
|
|
Creates a mesh from ```shape``` using the marching cubes algorithm. Before calculating the resulting mesh, the 3D space containing the shape is discretized using voxels of size ```voxSize``` units.
|
|
|
```to_mesh_dual(shape, voxSize)```
|
|
|
|
|
|
Creates a mesh from ```shape``` using the marching cubes or dual contouring algorithms respectively. Before calculating the resulting mesh, the 3D space containing the shape is discretized using voxels of size ```voxSize``` units.
|
|
|
|
|
|
* ```shape```: input shape
|
|
|
* ```voxSize```: voxel size of space discretization (in mm)
|
... | ... | |