Last active
September 9, 2024 12:46
-
-
Save FFY00/14ceb3eb1f9a1eaa70c2d53526246b11 to your computer and use it in GitHub Desktop.
Mitutoyo MT-L Mounting Adapter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fn = 100; | |
// For M3 inserts | |
insert_diameter = 4; | |
insert_height = 7; | |
insert_boder_spacing = 3; | |
lens_diameter = 35 + 0.1; | |
lens_height = 32 + 6; | |
distance_to_objective = 134 - lens_height; | |
SM2A31_internal_height = 7.9 - 3; | |
objective_tube_diameter = lens_diameter - 3; | |
adapter_diameter = lens_diameter + (insert_diameter + insert_boder_spacing*2)*2; | |
objective_clearance_tube_height = SM2A31_internal_height + distance_to_objective; | |
adapter_height = objective_clearance_tube_height + lens_height; | |
difference() { | |
// Adapter body | |
cylinder(h=adapter_height, d=adapter_diameter); | |
// Lens body | |
translate([0, 0, objective_clearance_tube_height]) | |
cylinder(h=lens_height, d=lens_diameter); | |
// Objective clearance tube | |
cylinder(h=objective_clearance_tube_height, d=objective_tube_diameter); | |
// Insert holes | |
for (insert_angle = [0, 90, 180, 270]) { | |
insert_x_offset = (adapter_diameter - insert_diameter)/2 - insert_boder_spacing; | |
rotate(a=insert_angle) translate([insert_x_offset, 0, 0]) | |
cylinder(h=insert_height, d=insert_diameter); | |
rotate(a=insert_angle) translate([insert_x_offset, 0, adapter_height-insert_height]) | |
cylinder(h=insert_height, d=insert_diameter); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment