Files
makeCAD/tests/kernel-cases/threads/602-fillet-hex-head-beside-modelled-thread/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

28 lines
1.6 KiB
JSON

{
"sources": [
"tangency-labs/solidcraft#602",
"tangency-labs/solidcraft#618"
],
"what": "rounding the top edges of a hex head on a shaft with a modelled thread (it froze the app)",
"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. Shaft D5 h=10 plus a hexagonal head of apothem a=2 (area 2 sqrt3 a^2 = 13.8564), h=3. M5 (P=0.8) over 4 mm from the free bottom end (5 turns): 5 x 2.84480. The six top edges rounded R=r=0.3 with the vertical edges left sharp: the section at depth y below the top is a hexagon of apothem a - d(y), d = r - sqrt(r^2 - (r-y)^2); removed = 2 sqrt3 int (2 a d - d^2) dy = 2 sqrt3 [2 a r^2 (1 - pi/4) - r^3 (5/3 - pi/2)] = 0.25866. V = pi 2.5^2 10 + 41.5692 - 5 x 2.84480 - 0.25866 = 223.4361 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": 223.4361,
"tolerance": {
"rel": 0.01
},
"bbox": {
"min": [
-2.5,
-2.5,
0
],
"max": [
2.5,
2.5,
13
]
}
}