From 9d7a52b24d87c54d29cd152c01b2027a037625a6 Mon Sep 17 00:00:00 2001 From: Matthew Baggett Date: Sun, 17 Oct 2021 21:21:06 +0200 Subject: [PATCH] fix overlap issue --- extrusion.scad | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/extrusion.scad b/extrusion.scad index 3a41284..b934585 100644 --- a/extrusion.scad +++ b/extrusion.scad @@ -1,4 +1,5 @@ - +use +$fn=60; module doubleExtrusion(width,length){ extraWallWidth = width*0.09; mirrorCopy([0,1,0]){ @@ -32,9 +33,9 @@ module extrusion(length=10, outer=40, tSlot=8, gusset=4.5, bore=7){ } difference(){ translate([((outer-(gusset))/2)+1,((outer-(gusset))/2)+1,0]) - cube([gusset+1,gusset+1,length+2], center=true); + cube([gusset*2,gusset*2,length+2], center=true); translate([(outer-(gusset*2))/2,(outer-(gusset*2))/2,0]) - cylinder(r=gusset,h=length+4, center=true); + cylinder(d=gusset*2,h=length+4, center=true); } } @@ -88,7 +89,7 @@ module extrusion40x40(length) { extrusion(length=length, outer=40,tSlot=8, gusset=4.5, bore=7); } -/* +/**/ translate([0,0,0])extrusion20x20(10); translate([0,30,0])extrusion30x30(10); translate([0,30+40,0])extrusion40x40(10); @@ -97,4 +98,4 @@ translate([40,0,0])extrusion40x20(10); translate([60,30,0])extrusion60x30(10); translate([80,30+40,0])extrusion80x40(10); -*/ \ No newline at end of file +/**/ \ No newline at end of file