diff --git a/Matekiste_Laser_Stencil.scad b/Matekiste_Laser_Stencil.scad index 658cc4d..ea22ab6 100644 --- a/Matekiste_Laser_Stencil.scad +++ b/Matekiste_Laser_Stencil.scad @@ -1,4 +1,4 @@ -round_psu_plane(300, 200, 5, 20, 20, 10, 40, 90); +round_cable_plane(300, 200, 5, 20, 20, 10, 40, 90); RESOLUTION=36; module base_plane(width, height, hole_size, hole_spacing_x, hole_spacing_y) { @@ -45,6 +45,14 @@ module round_psu_plane(width, height, hole_size, hole_spacing_x, hole_spacing_y, square([psu_width, psu_height]); } } +module round_cable_plane(width, height, hole_size, hole_spacing_x, hole_spacing_y, radius, cable_width, cable_height) { + 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]); + } +} module __radius_cutout(radius) { difference() {