mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-01 21:20:11 +02:00
Fixed bug in butt_box.scad when box was tall enough for extra fixing blocks.
This commit is contained in:
@@ -97,7 +97,7 @@ function fixing_block_positions(type) = let(
|
|||||||
|
|
||||||
for(i = [0 : 1 : hspans - 1], x = [-1, 1], y = [-1, 1])
|
for(i = [0 : 1 : hspans - 1], x = [-1, 1], y = [-1, 1])
|
||||||
translate([x * width / 2, y * depth / 2, (i - (hspans - 1) / 2) * hspan]) *
|
translate([x * width / 2, y * depth / 2, (i - (hspans - 1) / 2) * hspan]) *
|
||||||
rotate([y > 0 ? 180 : 0, x * y * 90]),
|
rotate([y > 0 ? 180 : 0, x * y * 90, 0]),
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user