mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-31 02:10:28 +02:00
refactor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use <line2d.scad>;
|
||||
use <starburst.scad>;
|
||||
use <polyhedra/star.scad>;
|
||||
use <util/rand.scad>;
|
||||
|
||||
base = 100;
|
||||
@@ -34,7 +34,7 @@ module xmas_tree(base, segments) {
|
||||
color("yellow")
|
||||
translate([0, 0, height + dh * 6])
|
||||
rotate([90, 0, 540]) {
|
||||
starburst(seg_w * 2.75, seg_w * 1.5, 8, seg_w);
|
||||
mirror([0, 0, 1]) starburst(seg_w * 2.75, seg_w * 1.5, 8, seg_w);
|
||||
star(seg_w * 2.75, seg_w * 1.5, seg_w, 8);
|
||||
mirror([0, 0, 1]) star(seg_w * 2.75, seg_w * 1.5, seg_w, 8);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user