mirror of
https://github.com/bherbruck/solidcraft.git
synced 2026-11-20 07:30:48 +00:00
c019e2555c
* Threads: a 12 mm hole takes M12, and a modelled thread narrows a bore that is too wide (#11609) Automatic sizing of a hole now takes the size whose nominal diameter the hole has (a 12 mm hole is M12, not M14, the size whose tap drill is 12 mm); a hole near no nominal diameter is still matched by tap drill. A modelled internal thread in a hole as wide as the thread or wider no longer refuses with "too wide": the bore is filled in to the thread's minor diameter over the threaded length and the groove cut there, and the feature's warning says so. A size that does not fit the hole names the size that does. A saved thread with no designation keeps the old rule through a pending format step, so an existing design rebuilds with the size it had. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Threads: keep an old automatic size through edits; kernel-rig cases expect the narrowed bore (#11609) Editing a saved automatic thread keeps `old_auto_size`, so it does not change size. The five kernel-rig cases that expected a modelled thread in a hole as wide as the thread to be refused now expect the narrowed bore, with the volume worked out analytically in each case. The thread dialog's reopen pattern names the new field. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Thread dialog test: a 5 mm hole is suggested M5, its nominal size (#11609) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
1.2 KiB
JSON
33 lines
1.2 KiB
JSON
{
|
|
"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
|
|
]
|
|
}
|
|
}
|