X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=3d-printables%2Fsonar-binder-clip-holder-data.scad;h=0eff47d68a22dda0e2773def7b2a84a3010dd594;hb=f62bc6eec344361c1c7938b6cf735f7659a50474;hp=94ba32471e88e4f631baf3c5dc4cda83ce5c4dd4;hpb=cc1b210f89ab95676e4c324c75f64dcf92df2bda;p=challenge-bot diff --git a/3d-printables/sonar-binder-clip-holder-data.scad b/3d-printables/sonar-binder-clip-holder-data.scad index 94ba324..0eff47d 100644 --- a/3d-printables/sonar-binder-clip-holder-data.scad +++ b/3d-printables/sonar-binder-clip-holder-data.scad @@ -55,9 +55,28 @@ module sonar_holder_outline_2d(sonar_radius, holder_diameter = holder_radius * 2; hull() { circle(holder_radius); - translate([between_sonar_centers - sonar_radius - wall_thickness, - -holder_radius]) { - square(holder_diameter); } } } + translate([between_sonar_centers, 0]) { + circle(holder_radius); } } } + +module binder_clip_holder_outline_2d(holder_radius) { + circle(holder_radius); } + +module sonar_binder_clip_holder_outline_2d() { + hull(){ + sonar_holder_outline_2d(); + translate([0,0,0]) { + binder_clip_holder_outline_2d(); } } } + +module sonar_holder_holes_2d() { } + +module binder_clip_holder_holes_2d() { } + +module sonar_binder_clip_holder_holes_2d(){ } + +module sonar_binder_clip_holder_2d() { + difference() { + sonar_binder_clip_holder_outline_2d(); + sonar_binder_clip_holder_holes(); } } module sonar_holder_2d(sonar_radius, between_sonar_centers, @@ -75,9 +94,8 @@ module binder_clip_holder_2d(binder_clip_holder_length, screw_radius, holder_radius){ difference() { - square([binder_clip_holder_length, holder_radius * 2]); - translate([binder_clip_holder_length - holder_radius, holder_radius]) { - circle(screw_radius); } } } + circle(holder_radius); + circle(screw_radius); } } module sonar_binder_clip_holder_2d(sonar_radius, between_sonar_centers, @@ -89,7 +107,7 @@ module sonar_binder_clip_holder_2d(sonar_radius, wall_thickness); holder_radius = sonar_radius + wall_thickness; binder_clip_holder_length = 2 * holder_radius; - translate([between_sonar_centers + holder_radius, -holder_radius]){ + translate([between_sonar_centers + holder_radius * 2, 0]){ binder_clip_holder_2d(binder_clip_holder_length, screw_radius, holder_radius); } }