Skip to content

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

1.2 KB
Raw Blame
{
 "sources": [
  "tangency-labs/solidcraft#2152",
  "tangency-labs/solidcraft#11609"
 ],
 "what": "a modelled M3x0.2 thread in a 3 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): M3x0.2: P 0.2, 5H/8 = 0.1083 mm, r1 = 1.3917 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 0.08528 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 2 mm: V = pi (R^2 - rho^2) L + pi (rho^2 - r1^2) L - (L/P) x V_turn = 144.0565 mm3, with R 5, rho 1.5. COM on the axis at z = L/2. Tolerance 1%: the thread is a faceted helical solid.",
 "outcome": "solid",
 "body_count": 1,
 "volume_mm3": 144.0565,
 "center_of_mass": [
  0,
  0,
  1.0
 ],
 "tolerance": {
  "rel": 0.01
 },
 "bbox": {
  "min": [
   -5,
   -5,
   0
  ],
  "max": [
   5,
   5,
   2
  ]
 }
}