mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-06 23:46:30 +02:00
Fixed missing brackets for sheets with chamfered corners.
This commit is contained in:
@@ -52,7 +52,7 @@ module corner(r) {
|
|||||||
if(r < 0)
|
if(r < 0)
|
||||||
translate([-r, r])
|
translate([-r, r])
|
||||||
rotate(45)
|
rotate(45)
|
||||||
square(-r * sqrt(2), -r * sqrt(2), center = true);
|
square([-r * sqrt(2), -r * sqrt(2)], center = true);
|
||||||
else
|
else
|
||||||
translate([0.5, -0.5])
|
translate([0.5, -0.5])
|
||||||
square(1, center = true);
|
square(1, center = true);
|
||||||
|
Reference in New Issue
Block a user