Fix 2x1 lego brick

This commit is contained in:
Sebastiaan de Schaetzen 2023-02-17 11:54:21 +01:00
parent 71011833fd
commit 53679529f5
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View File

@ -1 +1,3 @@
*.stl *.stl
*.3mf
*.gcode

View File

@ -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();