CAD Macro / Workflow (parametric)
General workflow
Define parameters: nominal diameter d, pitch P, length L, tolerance class (e.g., 6H/6g), right‑hand or left‑hand thread.
Create the core hole (for internal threads) or turn the shaft (for external threads) according to the core hole diameter or shaft diameter taken from the corresponding table.
Tolerances & representation: use a cosmetic thread for drawings OR a modeled thread for simulation/rendering