diff --git a/headband.scad b/headband.scad index 9a0bab7..53465e7 100644 --- a/headband.scad +++ b/headband.scad @@ -1,13 +1,7 @@ include +include use -module partial_ring(part, radius, thickness, height) { - rotate(180-180*part, [0, 0, 1]) - rotate_extrude(angle=360*part) - translate([radius, 0]) - square([thickness, height], center=true); -} - module headband(debug=DEBUG, size=SIZE, height=HEIGHT, thickness=THICKNESS, part=PART, stretch_len=STRETCH_LEN, tip_len=TIP_LEN, tip_bend=TIP_BEND, rake_depth=RAKE_DEPTH, rake_width=RAKE_WIDTH, rake_stretch=RAKE_STRETCH, rake_chamfer=RAKE_CHAMFER, chamfer=CHAMFER, chamfer_shape=CHAMFER_SHAPE, with_rake=true, details=true) { union() { chamfer(size=(details)?chamfer:0, child_h=height, child_bot=-height/2, shape=chamfer_shape) union() { diff --git a/pressfit_catears.scad b/pressfit_catears.scad index 69b0e1d..4fbeafe 100644 --- a/pressfit_catears.scad +++ b/pressfit_catears.scad @@ -17,7 +17,7 @@ difference() { translate([-j*20, 0, 0]) rotate(90, [0, 1, 0]) /*chamfer(size=1, child_h=1, child_bot=-0.5, shape=CHAMFER_SHAPE)*/ - catear( + catear_v1( debug=DEBUG, height=INSERTICLE_Z*1.2, thickness=THICKNESS,