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#3366",
  "tangency-labs/solidcraft#11609"
 ],
 "what": "a modelled M20 thread in a 20 mm hole, the hole as wide as the thread: the bore is narrowed to the thread's minor diameter and the thread cut into it",
 "source": "analytic",
 "method": "Decision (#11609): a modelled thread in a hole as wide as the thread or wider no longer refuses; the bore is filled in to the thread's minor radius r1 = d/2 - 5H/8 over the threaded length and the groove is cut into that (the feature's warning says so). ISO 68-1 (H = P sqrt3/2, basic depth 5H/8): M20: P 2.5, 5H/8 = 1.3532 mm, r1 = 8.6468 mm. Internal groove: P/8 wide at the major radius d/2, widening by 2 tan30 per unit of radius to 3P/4 at r1; Pappus gives 85.20290 mm3 per turn (2 pi times the integral of r w(r) dr from r1 to d/2). Both ends free, thread over the full 10 mm: V = pi (R^2 - rho^2) L + pi (rho^2 - r1^2) L - (L/P) x V_turn = 15405.8636 mm3, with R 24, rho 10. COM on the axis at z = L/2. Tolerance 1%: the thread is a faceted helical solid.",
 "outcome": "solid",
 "body_count": 1,
 "volume_mm3": 15405.8636,
 "center_of_mass": [
  0,
  0,
  5.0
 ],
 "tolerance": {
  "rel": 0.01
 },
 "bbox": {
  "min": [
   -24,
   -24,
   0
  ],
  "max": [
   24,
   24,
   10
  ]
 }
}