From 419a11eec2602b7b098d2c734f92cc172a7e6b3d Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Fri, 22 Feb 2019 16:24:56 -0800 Subject: [PATCH] Removed older chamfer_hole_mask implementation. --- masks.scad | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/masks.scad b/masks.scad index bfcd332..8c03c6c 100644 --- a/masks.scad +++ b/masks.scad @@ -193,26 +193,6 @@ module chamfer(chamfer=1, size=[1,1,1], edges=[[0,0,0,0], [1,1,0,0], [0,0,0,0]]) } -// Create a mask that can be used to bevel/chamfer the edge of a circular hole. -// Difference it from the hole to be chamferred. The center of the mask object -// should align exactly with the center of the end of the hole to be chamferred. -// r = radius of hole to chamfer. -// d = Diameter of hole to chamfer. Use instead of r. -// chamfer = size of the edge chamferred. (Default: 0.25) -// Example: -// $fa=2; $fs=2; -// difference() { -// cube([150,150,100], center=true); -// cylinder(r=50, h=100.1, center=true); -// up(50) chamfer_hole_mask(r=50, chamfer=10); -// } -module chamfer_hole_mask(r=1.0, d=undef, chamfer=0.25) -{ - r = d==undef? r : d/2; - down(chamfer) cylinder(r1=r, r2=r+chamfer, h=chamfer+0.01, center=false); -} - - // Create a mask that can be used to bevel/chamfer the end of a cylinder. // Difference it from the cylinder to be chamferred. The center of the mask object // should align exactly with the center of the end of the cylinder to be chamferred.