Merge pull request #860 from revarbat/revarbat_dev

Fix for Issue #857
This commit is contained in:
Revar Desmera 2022-04-28 23:13:06 -07:00 committed by GitHub
commit f59abffe3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}