1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 22:28:16 +01:00
dotSCAD/docs/lib-shape_pentagram.md
2017-05-10 16:56:13 +08:00

789 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

include <shape_pentagram.scad>;

polygon(shape_pentagram(5));

shape_pentagram

include <shape_pentagram.scad>;
include <circle_path.scad>;
include <rotate_p.scad>;
include <golden_spiral.scad>;
include <cross_sections.scad>;
include <polysections.scad>;
include <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