From 73657421a4395e1a0a24dd3b1992fa402ccb8a47 Mon Sep 17 00:00:00 2001 From: maride Date: Wed, 20 Dec 2017 19:53:13 +0100 Subject: [PATCH] Add Cable recess --- Matekiste_Laser_Stencil.scad | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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() {