diff --git a/Matekiste_Laser_Stencil.scad b/Matekiste_Laser_Stencil.scad index 13c843d..676a27b 100644 --- a/Matekiste_Laser_Stencil.scad +++ b/Matekiste_Laser_Stencil.scad @@ -62,8 +62,27 @@ module round_cable_plane(width, height, hole_size, hole_spacing_x, hole_spacing_ difference() { round_base_plane(width, height, hole_size, hole_spacing_x, hole_spacing_y, radius); - translate([0, height/2-cable_height/2]) - square([cable_width, cable_height]); + difference() { + union() { + translate([0, height/2-cable_height/2]) + square([cable_width, cable_height]); + + // Outer rounds + translate([radius, height/2-cable_height/2-radius]) + rotate([0, 0, 90]) + __radius_cutout(radius); + translate([radius, height/2+cable_height/2+radius]) + rotate([0, 0, 180]) + __radius_cutout(radius); + } + + // Inner rounds + translate([cable_width-radius, height/2+cable_height/2-radius]) + __radius_cutout(radius); + translate([cable_width-radius, height/2-cable_height/2+radius]) + rotate([0, 0, 270]) + __radius_cutout(radius); + } } }