mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-01 12:30:33 +02:00
add doc
This commit is contained in:
BIN
docs/images/lib3x-shape_star-1.JPG
Normal file
BIN
docs/images/lib3x-shape_star-1.JPG
Normal file
Binary file not shown.
After Width: | Height: | Size: 32 KiB |
22
docs/lib3x-star.md
Normal file
22
docs/lib3x-star.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# shape_star
|
||||
|
||||
Create a star. Default to a pentagram.
|
||||
|
||||
**Since:** 3.2
|
||||
|
||||
## Parameters
|
||||
|
||||
- `outer_radius`: the outer radius of the star. Default to 1.
|
||||
- `inner_radius`: the inner radius of the star. Default to 0.381966.
|
||||
- `n`: the burst number. Default to 5.
|
||||
|
||||
## Examples
|
||||
|
||||
use <shape_star.scad>;
|
||||
|
||||
polygon(shape_star());
|
||||
translate([3, 0, 0])
|
||||
polygon(shape_star(n = 8));
|
||||
|
||||

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