diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2023-01-18 17:02:01 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2023-01-18 17:02:01 +0100 |
commit | 62b6d7b8eb056602d045b1050c5bfe78f330f10a (patch) | |
tree | 649484532f291b04c970f0c0384c93756e10b3c9 | |
parent | 4a8655f51a07c675610d2d0ba45ee62414fd072d (diff) | |
download | oscad_gridfinity-62b6d7b8eb056602d045b1050c5bfe78f330f10a.tar.gz |
nikon lens
-rw-r--r-- | nikon_lens_2x2.scad | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/nikon_lens_2x2.scad b/nikon_lens_2x2.scad index 5a353ce..e1b7248 100644 --- a/nikon_lens_2x2.scad +++ b/nikon_lens_2x2.scad @@ -2,15 +2,16 @@ use <gridfinity.scad> $fn=50; // diameter (not radius!) -throat = 44; -inner = 47; // ? -outer = 60; // ? +throat = 44.5; +inner = 47.5; +outer = 57; -lip_width = 2; // ? -lip_height = 2; // ? -lip_positions = [[50,35], [55,150], [55,265]]; +lip_width = 1.7; +lip_height = 1.9; +lip_positions = [[50,-35], [55,-155], [55,-270]]; +lip_offset = 0.8; -flange_height = 15; +flange_height = 10; size_x = 2; size_y = 2; @@ -28,7 +29,7 @@ module rounding_circle(radius, corner_radius, angle) { module lip(angle, offs) { rotate([0,0,offs]) translate([0,0,lip_height/2]) rotate_extrude(angle=angle) - translate([inner/2 - lip_width/2,0,0]) square([lip_width,lip_height], center=true); + translate([inner/2 +0.1 - lip_width/2,0,0]) square([lip_width,lip_height], center=true); } module nikon_f_flange() { @@ -40,7 +41,7 @@ module nikon_f_flange() { translate([0,0,flange_height-1]) rounding_circle(29,1,0); } - translate([0,0,flange_height - lip_height]) { + translate([0,0,flange_height - lip_height - lip_offset]) { for (i = lip_positions) { lip(i[0],i[1]); } @@ -55,4 +56,4 @@ translate(gf_top_center(size_x,size_y,size_z)) { linear_extrude(1) text("Nikon", size = 7, font="sans:style=bold italic"); } -translate(gf_top_center(size_x,size_y,size_z)) rounding_circle(32.99,3,180); +translate(gf_top_center(size_x,size_y,size_z)) rounding_circle(outer/2 + 3 - 0.01,3,180); |