shape_pentagram


傳回五芒星形的座標點,可以與我的 xxx_extrude 或內建的 polygon 模組結合使用。

參數

  • r : 從中心到最頂角的長度。

範例

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