Fix 2x1 lego brick
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1,3 @@
|
|||||||
*.stl
|
*.stl
|
||||||
|
*.3mf
|
||||||
|
*.gcode
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ module pillars() {
|
|||||||
for (x = [0:studs_x-2], y = [0:studs_y-2])
|
for (x = [0:studs_x-2], y = [0:studs_y-2])
|
||||||
translate([(x+1) * length_per_stud, (y+1) * length_per_stud, 0])
|
translate([(x+1) * length_per_stud, (y+1) * length_per_stud, 0])
|
||||||
pillar();
|
pillar();
|
||||||
} else if (studs_y >= 2) {
|
} else if (studs_x >= 2) {
|
||||||
for (x = [0:studs_x-2])
|
for (x = [0:studs_x-2])
|
||||||
translate([(x+1) * length_per_stud, length_per_stud/2, 0])
|
translate([(x+1) * length_per_stud, length_per_stud/2, 0])
|
||||||
small_pillar();
|
small_pillar();
|
||||||
|
|||||||
Reference in New Issue
Block a user