swept · ·

The union of opposing torus tumbles

swept/tumbling-torus-crossed-union · swept, solid-sweep, tumble, torus, boolean, union, regression

Make two swept solids A and B from the same torus: center (3, 0, 2), axis parallel to z, major radius 1, tube radius 0.22, including its interior.

The first oriented rotation axis is the vertical line through (2, 0, 0). The second is through q = (0, 0.7071 cos 45°, 0.7071 sin 45°), in unit direction u = (cos 20°, sin 20° cos 45°, sin 20° sin 45°). Both axes stay fixed in the world.

For A, at roll t first turn the torus by 0.7t about the first axis and then by −t about the second. For B, first turn it by 0.7t about the first axis and then by +t about the second. Each solid is the union of all its positions for every real t from −100° to +100°, including the end poses. These are the solids separately described in swept/tumbling-torus-crossed-forward and swept/tumbling-torus-crossed-reverse.

The result is the regularized union: the closure of the interior of the set of points in A or in B. Each sweep quantifies its own roll independently. In particular, this is the union of the two completed sweeps, not a sweep of the instantaneous union at a shared t. Keep every volumetric component. Count overlaps once and discard internal sheets.

This isolates the interaction between two envelopes from the construction of either operand. The boundary switches between envelope sheets at their intersections, forming sharp curves and potentially narrow surviving regions.

No closed-form volume or area is asserted; this case is unsettled.

Unsettled. This solid has no closed form, and no two kernels yet agree on it to 1e-8, so it has no answer to grade against. Below is what each kernel builds: built means a watertight, consistently oriented solid, whatever its measures; the table says which kernels agree with which.

Drawing

Top view
Top
Isometric view
Isometric
Front view
Front
Right view
Right

Third-angle projection, the three views at one scale. Drawn from cadrs's result, which passed.

Results

cad-kernelocctarriskentronvcadsolidcraftbrepkitpopkernaetherisnext.BREPgeopcadrssmlibspringrepgeomsolveranvilcad
outcomewrongrefused–refused–refused–refused–refused–built–refusedrefusedrefused
volume25.784325.7843
area109.216109.216
time41.5 s622 ms2.1 ms1.4 ms3.4 ms25.7 s9.06 s55 ms46 ms1.1 ms
CPU time107.5 s621 ms1.9 ms1.2 ms3.2 ms25.7 s33.3 s54 ms46 ms940 µs
memory2317.1 MB356.5 MB8.4 MB4.6 MB11.4 MB171.6 MB65.3 MB9.4 MB24.3 MB3.6 MB
LOC94771877384

† works around a missing feature. Pick an entry to see its solid, its measures and its code.

swept/tumbling-torus-crossed-union.md, the case as written.