SolidCraft: an open-source parametric 3D CAD application built in pure Rust. Desktop, web, and automation through MCP.
{
"sources": [
"tangency-labs/solidcraft#995",
"tangency-labs/solidcraft#11609"
],
"what": "a modelled M5 thread in a 5 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): M5: P 0.8, 5H/8 = 0.4330 mm, r1 = 2.0670 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 2.12536 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 4 mm: V = pi (R^2 - rho^2) L + pi (rho^2 - r1^2) L - (L/P) x V_turn = 551.4364 mm3, with R 7, rho 2.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": 551.4364,
"center_of_mass": [
0,
0,
2.0
],
"tolerance": {
"rel": 0.01
},
"bbox": {
"min": [
-7,
-7,
0
],
"max": [
7,
7,
4
]
}
}