swept · ·

A coil spring pushed aslant through a plate

swept/coil-spring-pushed-aslant-through-plate · swept, solid-sweep, slide, canal, helix, sweep-of-sweep, free-form, boolean, cut

A plate, the box from (−15, −15, 0) to (15, 15, 4), with a hole punched through it by a coil spring pushed aslant wholly through it. The tool is itself a swept solid.

The spring is everything a ball of radius 0.4 passes through as its center runs along the helix of radius 2 about the z axis that starts at (2, 0, −12), turns right-handed (from +x toward +y) and rises 1.5 every turn, for three whole turns, ending at (2, 0, −7.5). Its coils are 1.5 apart and 0.8 thick, so they do not touch, and its ends are half balls.

It slides without turning along the vector (3, 1, 18), from wholly below the plate to wholly above it. Cut from the plate everything the spring passes through.

Every level of the plate loses the spring's shadow along the push, a region bounded by curves the coils' silhouettes draw, whose loops overlap one another.

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 next.BREP's result, which passed.

Results

cad-kernelocctarriskentronvcadsolidcraftbrepkitpopkernaetherisnext.BREPgeopcadrssmlibspringrepgeomsolveranvilcad
outcomebuiltrefused–wrong–refused–refused–built–built–built †refusedrefused
volume3541.943541.943541.943541.94
area2353.692353.692353.692353.69
time596 ms635 ms10.2 s1.8 ms4.1 ms893 ms1.85 s8.31 s27 ms1.2 ms
CPU time1.58 s634 ms17.3 s1.6 ms3.8 ms893 ms6.30 s8.30 s27 ms990 µs
memory38.2 MB356.7 MB967.7 MB4.8 MB11.7 MB51.3 MB33.4 MB16.1 MB12.4 MB3.5 MB
LOC265138113171804

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

swept/coil-spring-pushed-aslant-through-plate.md, the case as written.