Fix for Issue #857

This commit is contained in:
Garth Minette 2022-04-28 22:45:58 -07:00
parent 13f00a4bde
commit 25d4a6b159

View file

@ -418,7 +418,7 @@ module cuboid(
for (i = [0:3], axis=[0:1]) {
if (edges[axis][i]>0) {
vec = EDGE_OFFSETS[axis][i];
translate(v_mul(vec/2, size+[ard,ard,-ard])) {
translate(v_mul(vec/2, size+[ard,ard,-ard]-[0.01,0.01,0])) {
rotate(majrots[axis]) {
cube([ard, ard, size[axis]], center=true);
}