Files
makeCAD/tests/kernel-cases/threads/995-m5-thread-in-5mm-hole/expected.json
T
Brennen Herbruck 3c66261621 Wave 57/509: kernel-cases: threads cases from modelled-thread reports (2 of 2), skipped sources
1 commits, squashed; the originals stay reachable from tag archive/merge-main-develop.

- ead88e582 Brennen Herbruck: kernel-cases: threads cases from modelled-thread reports (2 of 2), skipped sources

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DtL5M41G8Nua7HvuFPZkmJ
2026-10-21 06:17:39 -04:00

33 lines
1.6 KiB
JSON

{
"sources": [
"tangency-labs/solidcraft#995",
"tangency-labs/solidcraft#1018"
],
"what": "a modelled M5 thread in a hole drawn at 5 mm, the thread's own size (nothing was cut: the wall only turned faceted)",
"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. A 5 mm hole through a D14 x 4 disc, drawn at the thread's nominal size, takes a modelled M5: the hole is first filled to the tap drill (major - pitch = 4.2 mm, rho=2.1), then the groove is cut, the same thread as in a hole drilled at the tap drill. Whole length, both ends free (5 turns): V = pi 7^2 4 - pi 2.1^2 4 - 5 x V_turn(clipped at rho) = 615.7522 - 55.4177 - 5 x 1.87431 = 550.9629 mm3. The thin lips a tap leaves at each end are below 0.2% of the volume. 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": 550.9629,
"tolerance": {
"rel": 0.01
},
"bbox": {
"min": [
-7,
-7,
0
],
"max": [
7,
7,
4
]
},
"center_of_mass": [
0,
0,
2.0
]
}