1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-01 12:30:33 +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

@@ -45,7 +45,7 @@ if(model == "JOIN") {
color("white")
rotate(-5)
translate([-(r_circumscribed_circle - width / 2), 0, 0])
join(r_circumscribed_circle, width, height, layer_h);
join(r_circumscribed_circle, width, height, layer_h);
}
else if(model == "RING") {
color("black")
@@ -71,18 +71,18 @@ else {
color("white")
for(h = [0:2:n - 2]) {
translate([0, 0, layer_h * (h)])
rotate((h) * 5) {
translate([0, 0, layer_h * h])
rotate(h * 5) {
for(i = [0:2]) {
rotate(i * 120)
join(r_circumscribed_circle, width, height, layer_h);
join(r_circumscribed_circle, width, height, layer_h);
}
translate([0, 0, layer_h])
rotate(65)
for(i = [0:2]) {
rotate(i * 120)
join(r_circumscribed_circle, width, height, layer_h);
join(r_circumscribed_circle, width, height, layer_h);
}
}
}