Skip to content

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

1.3 KB
Raw Blame
{
 "sources": [
  "tangency-labs/solidcraft#3311"
 ],
 "what": "a second modelled thread on the same body (the first thread faceted every other hole), over each hole's full length",
 "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. Block 40x20x9 with two M5 tapped holes (drill 4.2, rho=2.1), each modelled-threaded over its whole 9 mm (11.25 turns, both ends free): V = 7200 - 2 pi 2.1^2 9 - 2 x 11.25 x V_turn(clipped at 2.1) = 6950.6204 - 22.5 x 1.87431 = 6908.4483 mm3. 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": 6908.4483,
 "tolerance": {
  "rel": 0.01
 },
 "bbox": {
  "min": [
   0,
   0,
   0
  ],
  "max": [
   40,
   20,
   9
  ]
 }
}