1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-07 07:16:36 +02:00
This commit is contained in:
Justin Lin
2022-04-05 18:08:40 +08:00
parent 57ec3f46ef
commit 0468ecae77
4 changed files with 11 additions and 12 deletions

View File

@@ -71,8 +71,8 @@ else {
color("white") color("white")
for(h = [0:2:n - 2]) { for(h = [0:2:n - 2]) {
translate([0, 0, layer_h * (h)]) translate([0, 0, layer_h * h])
rotate((h) * 5) { rotate(h * 5) {
for(i = [0:2]) { for(i = [0:2]) {
rotate(i * 120) rotate(i * 120)
join(r_circumscribed_circle, width, height, layer_h); join(r_circumscribed_circle, width, height, layer_h);

View File

@@ -45,7 +45,7 @@ module golden_taiwan(taiwan_fineness, wave_fineness) {
[ [
for(x = [0:len(g[0]) - 1]) for(x = [0:len(g[0]) - 1])
let(p = g[y][x]) let(p = g[y][x])
[p[0], p[1], -10] [p.x, p.y, -10]
] ]
]; ];

View File

@@ -138,9 +138,8 @@ linear_extrude(1.5) difference() {
rotate(22.5) rotate(22.5)
polygon(shape_taiwan(250)); polygon(shape_taiwan(250));
render() for(dot = dots) { for(dot = dots) {
translate(dot[0]) translate(dot[0])
square(0.7 * dot[1]); square(0.7 * dot[1]);
} }
} }