mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-11 09:14:29 +02:00
update doc
This commit is contained in:
Binary file not shown.
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 32 KiB |
@@ -9,6 +9,7 @@ Uses spherical coordinate system to create a crystal ball.
|
|||||||
- `radius` : The radial distance r.
|
- `radius` : The radial distance r.
|
||||||
- `theta` : The azimuthal angle. It defaults to 360. It also accepts a 2 element vector. The first element of the vector is the beginning angle in degrees, and the second element is the ending angle.
|
- `theta` : The azimuthal angle. It defaults to 360. It also accepts a 2 element vector. The first element of the vector is the beginning angle in degrees, and the second element is the ending angle.
|
||||||
- `phi` : The polar angle. It defaults to 180. It also accepts a 2 element vector. The first element of the vector is the beginning angle in degrees, and the second element is the ending angle.
|
- `phi` : The polar angle. It defaults to 180. It also accepts a 2 element vector. The first element of the vector is the beginning angle in degrees, and the second element is the ending angle.
|
||||||
|
- `thickness` : The thickness of the ball. **Since:** 2.1.
|
||||||
- `$fa`, `$fs`, `$fn` : Check [the circle module](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_the_2D_Subsystem#circle) or [the sphere module](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Primitive_Solids#sphere) for more details. The final fragments will be a multiple of 4 to fit edges.
|
- `$fa`, `$fs`, `$fn` : Check [the circle module](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Using_the_2D_Subsystem#circle) or [the sphere module](https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Primitive_Solids#sphere) for more details. The final fragments will be a multiple of 4 to fit edges.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
@@ -25,6 +26,7 @@ Uses spherical coordinate system to create a crystal ball.
|
|||||||
crystal_ball(
|
crystal_ball(
|
||||||
radius = 6,
|
radius = 6,
|
||||||
theta = 270,
|
theta = 270,
|
||||||
|
thickness = 1,
|
||||||
$fn = 12
|
$fn = 12
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -40,7 +42,8 @@ Uses spherical coordinate system to create a crystal ball.
|
|||||||
crystal_ball(
|
crystal_ball(
|
||||||
radius = 6,
|
radius = 6,
|
||||||
theta = [-30, 270],
|
theta = [-30, 270],
|
||||||
phi = [30, 60]
|
phi = [30, 60],
|
||||||
|
thickness = 2
|
||||||
);
|
);
|
||||||
|
|
||||||

|

|
||||||
|
Reference in New Issue
Block a user