{ "sources": [ "tangency-labs/solidcraft#2526" ], "what": "three modelled threads, internal and external, in one body with a hub and a plain hole beside the bore (each thread used to facet the rest of the part and the next thread was refused)", "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. Block 40x40x20, a hub R=10 h=10 on top, a 6.75 mm bore through both (30 long), a 3.3 mm hole through the block at (15,15). Three modelled threads on one body: M8 over 8 mm of the bore from the free top end (8/1.25 = 6.4 turns), M4 over the whole 20 mm of the 3.3 mm hole (20/0.7 turns), M20x2.5 over 6 mm of the hub from its free top end (2.4 turns). Plain solid: 32000 + pi 10^2 10 - pi 3.375^2 30 - pi 1.65^2 20 = 33896.9918. Grooves: 46.9780 + 32.4641 + 271.1296. V = 33546.4201 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": 33546.4201, "tolerance": { "rel": 0.01 }, "bbox": { "min": [ -20, -20, 0 ], "max": [ 20, 20, 30 ] } }