You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Distance from bottom of servo (Z = 0) to center of double arm horn
hs85mg_dah_length
Number
Length of the double arm horn
hs85mg_dah_screw_hole_diameter
Number
Diameter of the six arm screw holes
hs85mg_dah_screw_hole_distances
Vector
Distance from center of horn to the three screw holes. Distances are the same for both sides of the arm.
hs85mg_dah_screw_shroud_diameter
Number
Diameter of the output shaft screw shroud
hs85mg_dah_screw_shroud_height
Number
Height of the output shaft screw shroud
hs85mg_dah_thickness
Number
Thickness of the arms of the double arm horn
hs85mg_flange_dimensions
Vector
Dimensions of the mounting flanges
hs85mg_flange_location_z
Number
Bottom of servo to mounting flanges
hs85mg_flange_screw_hole_diameter
Number
Diameter of the mounting flange screw holes
hs85mg_flange_screw_hole_locations
Vector
Locations of the two mounting screw holes, relative to hs85mg_main_body_with_flanges
hs85mg_flange_wire_space
Number
Distance between wire and mounting flange
hs85mg_main_body_with_flanges
Vector
Dimensions of the main body, including the mounting flanges
hs85mg_main_body
Vector
Dimensions of the main body (excluding the mounting flanges)
hs85mg_output_shaft_diameter
Number
Diameter of the output shaft
hs85mg_output_shaft_height
Number
Z height of the output shaft
hs85mg_output_shaft_location
Vector
Output shaft location does not include mounting flanges. Location is the center of the bottom of the output shaft
Modules
Module
Description
HS85MGFlangeSpacer(inner_diameter, od_allowance)
Toroidal spacer for the flange screw holes. inner_diameter (Number): Diameter of the spacer hole. Default is 2.45mm. od_allowance (Number): Outer diameter mechanical allowance between spacer and flange. Default is 0.05mm.
3D model of the Cherry MX switch plate using the above variables
fasteners.scad
Usage:
include<openscad-library/fasteners.scad>;
Variables
Variable
Type
Description
threaded_insert_256_id
Number
Inner diameter for a #2-56 threaded heat set insert tube
threaded_insert_256_od
Number
Outer diameter for a #2-56 threaded heat set insert tube
threaded_insert_256_short_h
Number
Height for a short (3mm) #2-56 threaded heat set insert tube
threaded_insert_256_long_h
Number
Height for a long (5mm) #2-56 threaded heat set insert tube
screw_256_hole_diameter
Number
Unthreaded hole diameter for #2-56 screws
nut_256_slot_diameter
Number
Diameter for a #2-56 nut slot. Note: this is meant to be used in a six-sided cylinder, e.g. cylinder(d = nut_256_slot_diameter, h = nut_256_slot_height, $fn = 6)
nut_256_slot_height
Number
Height for a #2-56 nut slot
screw_440_hole_diameter
Number
Unthreaded hole diameter for #4-40 screws
nut_440_slot_diameter
Number
Diameter for a #4-40 nut slot. Note: this is meant to be used in a six-sided cylinder, e.g. cylinder(d = nut_440_slot_diameter, h = nut_440_slot_height, $fn = 6)
nut_440_slot_height
Number
Height for a #4-40 nut slot
Modules
Module
Description
threaded_insert_256_short()
Convenience module to create a tube for a short (Z=3mm) #2-56 threaded heat set insert. The inner diameter is threaded_insert_256_id, and the outer diameter is threaded_insert_256_od
threaded_insert_256_long()
Convenience module to create a tube for a long (Z=5mm) #2-56 threaded heat set insert. The inner diameter is threaded_insert_256_id, and the outer diameter is threaded_insert_256_od