Skip to content

SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.

1.4 KB
Raw Blame
{
 "sources": [
  "tangency-labs/solidcraft#2209"
 ],
 "what": "a fine modelled thread on a large shaft (M44x1 on a 44 mm shaft, 4 turns), which once cut about 9% too much",
 "source": "analytic",
 "method": "ISO 68-1 basic profile: H = P sqrt3/2, basic depth 5H/8. External groove (the space between teeth): a trapezoid P/4 wide at the root radius d/2 - 5H/8, widening by 2 tan30 per unit of radius to 7P/8 at d/2. Internal groove: P/8 wide at the major radius d/2, widening to 3P/4 at the minor radius, cut only where there is material (r >= hole radius). Pappus: volume per turn = 2 pi A rc (A the trapezoid area, rc its centroid radius from the axis); a helical sweep of L/P turns removes exactly (L/P) x that, where each end of the thread is a free end or lies inside material. Shaft R=22.0 L=4, M44x1 (P=1.0) over its whole length, both ends free: V = pi R^2 L - (L/P) V_turn = 6082.1234 - 4 x 41.66397 = 5915.4675 mm3. COM on the axis at L/2 (2): the groove is symmetric over whole turns. Tolerance 1%: a modelled thread is a faceted helical solid (radial chord error up to 1% of the pitch on every wall, i.e. a volume deficit of about 4/3 x sag/R).",
 "outcome": "solid",
 "body_count": 1,
 "volume_mm3": 5915.4675,
 "center_of_mass": [
  0,
  0,
  2.0
 ],
 "bbox": {
  "min": [
   -22.0,
   -22.0,
   0
  ],
  "max": [
   22.0,
   22.0,
   4
  ]
 },
 "tolerance": {
  "rel": 0.01
 }
}