2017-05-06 15:41:25 +08:00
# shape_pentagram
2017-05-10 16:56:13 +08:00
Returns shape points of a pentagram. They can be used with xxx_extrude modules of dotSCAD. The shape points can be also used with the built-in polygon module.
2017-05-06 15:41:25 +08:00
## Parameters
- `r` : The length between the center and a tip.
## Examples
2020-01-28 17:51:20 +08:00
use < shape_pentagram.scad > ;
2017-05-06 15:41:25 +08:00
2017-05-10 16:56:13 +08:00
polygon(shape_pentagram(5));
2017-05-06 15:41:25 +08:00

2020-01-28 17:51:20 +08:00
use < shape_pentagram.scad > ;
use < golden_spiral_extrude.scad > ;
2017-05-06 15:41:25 +08:00
2017-05-10 16:56:13 +08:00
shape_pts = shape_pentagram(2);
2017-05-06 15:41:25 +08:00
golden_spiral_extrude(
2017-05-10 16:56:13 +08:00
shape_pts,
2017-05-06 15:41:25 +08:00
from = 5,
to = 10,
point_distance = 1,
2017-05-10 16:56:13 +08:00
scale = 10
2017-05-06 15:41:25 +08:00
);
