swept · ·

The reverse member of a crossed pair of torus sweeps

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

The initial torus is centered at (3, 0, 2), with axis parallel to z, major radius 1 and tube radius 0.22. The major radius is the radius of the circle through the tube's centers. It is a ring torus, including its interior.

Let A be the oriented line through (2, 0, 0) in direction (0, 0, 1). Define ℓ = 45°, α = 20° and h = 0.7071. Let B be the oriented line through q = (0, h cos ℓ, h sin ℓ), with unit direction u = (cos α, sin α cos ℓ, sin α sin ℓ).

At roll t, first turn the initial torus by 0.7t about A, then turn that result by 1t about B. Both angles use the same t; the second axis stays fixed in the world. Take the union of every occupied position for all real t from -100° to 100°, including both end poses. This is the continuous swept solid, not a finite union of sampled poses. Overlapped material is counted once; interior envelope sheets are not part of the boundary.

The other operand of the crossed union, intersection and difference. Only the observer turn changes sign from swept/tumbling-torus-crossed-forward.

No closed-form volume or area is asserted. The case remains unsettled until independently implemented kernels agree under the benchmark's rules.

As a set:

$$\bigcup_{t \in [-100^\circ,\,100^\circ]} R_B(t)\,R_A(0.7\,t)\,T, \quad T = \bigl\{\,\bigl(\sqrt{(x-3)^2 + y^2} - 1\bigr)^2 + (z-2)^2 \le 0.22^2\,\bigr\}$$

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
outcomebuiltrefused–refused–refused–refused–refused–built–refusedrefusedrefused
volume13.789813.7898
area66.748466.7484
time17.1 s627 ms2.1 ms1.4 ms3.4 ms827 ms2.59 s57 ms45 ms1.1 ms
CPU time45.2 s626 ms1.9 ms1.2 ms3.2 ms826 ms9.37 s56 ms45 ms920 µs
memory1035.5 MB356.5 MB8.3 MB4.7 MB11.4 MB13 MB32.8 MB9.4 MB24.3 MB3.6 MB
LOC134571665324

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

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