From c26753f0ed5fded2f2cb982ec4de5a6604bc4747 Mon Sep 17 00:00:00 2001 From: djerun Date: Sat, 25 May 2024 19:51:10 +0200 Subject: [PATCH] pressfit_catears v0.1 --- pressfit_catears.scad | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pressfit_catears.scad diff --git a/pressfit_catears.scad b/pressfit_catears.scad new file mode 100644 index 0000000..7697690 --- /dev/null +++ b/pressfit_catears.scad @@ -0,0 +1,32 @@ +include ; + +use ; +use ; +use ; + +EAR_SCALE = 1.5; +EAR_BEND_FACTOR = 0.15; +EAR_STRETCH_FACTOR = 1.2; + +difference() { +translate([20*pow(0.99, SIZE/2*EAR_SCALE-1-THICKNESS), 0, -THICKNESS/2]) +union() for (i=[0:SIZE/2*EAR_SCALE-1]) { + j=pow(0.99, i); + chamfer_ = floor(abs(2*i/(SIZE/2*EAR_SCALE-1)-1)); + translate([-j*20, 0, 0]) + rotate(90, [0, 1, 0]) + /*chamfer(size=1, child_h=1, child_bot=-0.5, shape=CHAMFER_SHAPE)*/ + catear( + debug=DEBUG, + height=INSERTICLE_Z*1.2, + thickness=THICKNESS, + side_len=SIZE/2*EAR_SCALE-i, + bend_factor=EAR_BEND_FACTOR, + stretch_factor=EAR_STRETCH_FACTOR, + chamfer=chamfer_, + chamfer_shape=CHAMFER_SHAPE + ); +} +translate([0, 0, -THICKNESS]) cube([100, 100, THICKNESS], center=true); +scale([1, 1, 2]) inserticle(); +} \ No newline at end of file -- 2.44.2