1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
dotSCAD/docs/lib3x-shape_pentagram.md
2021-02-24 21:09:54 +08:00

633 B

shape_pentagram

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.

Parameters

  • r : The length between the center and a tip.

Examples

use <shape_pentagram.scad>;

polygon(shape_pentagram(5));

shape_pentagram

use <shape_pentagram.scad>;
use <golden_spiral_extrude.scad>;

shape_pts = shape_pentagram(2);

golden_spiral_extrude(
	shape_pts, 
	from = 5, 
	to = 10, 
	point_distance = 1,
	scale = 10
);

shape_pentagram