The Smell of Molten Projects in the Morning

Ed Nisley's Blog: Shop notes, electronics, firmware, machinery, 3D printing, laser cuttery, and curiosities. Contents: 100% human thinking, 0% AI slop.

OpenSCAD: Useful Sizes file

My Useful Sizes.scad file has been accumulating the dimensions of nuts & bolts & a motor that don’t (seem to) appear elsewhere in the OpenSCAD universe:

//-- Useful sizes

Tap2_56 = 0.070 * inch;
Clear2_56 = 0.082 * inch;
Head2_56 = 0.156 * inch;
Head2_56Thick = 0.055 * inch;
Nut2_56Dia = 0.204 * inch;
Nut2_56Thick = 0.065 * inch;

Tap3_48 = 0.079 * inch;
Clear3_48 = 0.096 * inch;
Head3_48 = 0.184 * inch;
Head3_48Thick = 0.058 * inch;
Nut3_48Dia = 0.201 * inch;
Nut3_48Thick = 0.073 * inch;

Tap4_40 = 0.089 * inch;
Clear4_40 = 0.110 * inch;
Head4_40 = 0.211 * inch;
Head4_40Thick = 0.065 * inch;
Nut4_40Dia = 0.228 * inch;
Nut4_40Thick = 0.086 * inch;

Tap10_32 = 0.159 * inch;
Clear10_32 = 0.190 * inch;
Head10_32 = 0.373 * inch;
Head10_32Thick = 0.110 * inch;
Nut10_32Dia = 0.433 * inch;
Nut10_32Thick = 0.130 * inch;

Tap025_20 = 0.201 * inch;
Clear025_20 = 0.2660 * inch;
Head025_20 = 0.492 * inch;
Head025_20Thick = 0.144 * inch;
Nut025_20Dia = 0.505 *inch;
Nut025_20Thick = 0.161 * inch;

NEMA17_ShaftDia = 5.0;
NEMA17_ShaftLength = 24.0;
NEMA17_PilotDia = 0.866 * inch;
NEMA17_PilotLength = 0.080 * inch;
NEMA17_BCD = 1.725 * inch;
NEMA17_BoltDia = 3.5;
NEMA17_BoltOC = 1.220 * inch;

It seems I’m among the few CamelCase holdouts…

Comments

2 responses to “OpenSCAD: Useful Sizes file”

  1. John Rehwinkel Avatar

    These then get rounded to an integral number of threads?

    1. Ed Avatar

      If there’s enough room around the hole or inside the pillar, or whatever, then I use the exact value (plus-or-minus windage, as needed) and let the horizontal infill absorb the difference.

      I generally round up to an integral number of threads vertically, simply because increasing a pocket’s depth allows room for an adhesive dab in the bottom.