mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-09-03 03:33:08 +02:00
removed triangle indexes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# shape_pentagram
|
||||
|
||||
Returns shape points and triangle indexes 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.
|
||||
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
|
||||
|
||||
@@ -10,7 +10,7 @@ Returns shape points and triangle indexes of a pentagram. They can be used with
|
||||
|
||||
include <shape_pentagram.scad>;
|
||||
|
||||
polygon(shape_pentagram(5)[0]);
|
||||
polygon(shape_pentagram(5));
|
||||
|
||||

|
||||
|
||||
@@ -22,15 +22,14 @@ Returns shape points and triangle indexes of a pentagram. They can be used with
|
||||
include <polysections.scad>;
|
||||
include <golden_spiral_extrude.scad>;
|
||||
|
||||
shape_pts_tris = shape_pentagram(2);
|
||||
shape_pts = shape_pentagram(2);
|
||||
|
||||
golden_spiral_extrude(
|
||||
shape_pts_tris[0],
|
||||
shape_pts,
|
||||
from = 5,
|
||||
to = 10,
|
||||
point_distance = 1,
|
||||
scale = 10,
|
||||
triangles = shape_pts_tris[1]
|
||||
scale = 10
|
||||
);
|
||||
|
||||

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