mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-17 20:11:50 +02:00
update doc
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# voronoi
|
# voronoi3d
|
||||||
|
|
||||||
Creats a 3D version of [Voronoi diagram](https://en.wikipedia.org/wiki/Voronoi_diagram). The initial space for each cell is calculated automatically from the given points by the following code:
|
Creats a 3D version of [Voronoi diagram](https://en.wikipedia.org/wiki/Voronoi_diagram). The initial space for each cell is calculated automatically from the given points by the following code:
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ The preview or rendering of 3D Voronoi is slow. If you want to use this module,
|
|||||||
translate(pt) cube(1);
|
translate(pt) cube(1);
|
||||||
}
|
}
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
If you render, export and save the previous model as `voronoi3d.stl`, the following code will generate a Voronoi sphere.
|
If you render, export and save the previous model as `voronoi3d.stl`, the following code will generate a Voronoi sphere.
|
||||||
|
|
||||||
@@ -52,4 +52,4 @@ The preview or rendering of 3D Voronoi is slow. If you want to use this module,
|
|||||||
sphere(r - thickness);
|
sphere(r - thickness);
|
||||||
}
|
}
|
||||||
|
|
||||||

|

|
Reference in New Issue
Block a user