{ "sources": [ "tangency-labs/solidcraft#4191" ], "what": "a 20x20x10 block joined round the bottom of an O6 x 50 stud carrying a modelled M6 thread: 'boolean Union: no result' (the same block joined before threading worked)", "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. 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. Stud R = 3, L = 50, M6 (P = 1) over its whole length (its top end free). The block x, y -10..10, z 0..10 encloses the stud's bottom 10 mm, groove and all, so it fills that part: V = 20 x 20 x 10 + pi 3^2 40 - 40 x 5.317130 = 4918.2882 mm3 (the groove's part above z = 10 is 40 turns' worth: its section across any z is the same, the bottom end lying inside the block). 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).", "body_count": 1, "volume_mm3": 4918.2882, "tolerance": { "rel": 0.01 }, "timeout_s": 600 }