---
id: "dynamic-swept-volume-slab-cutting"
title: "Kinematic Swept-Volume Boolean Carving via 2D Slab Distance Fields"
aliases: [swept-volume slab carving, kinematic aperture cutting, 2D swept profile SDF]
domain: "geometry"
stage: "geometry"
realtime: "realtime"
platforms: [webgl2, webgpu, desktop-gpu, cpu, houdini, blender]
year_introduced: 2003
inputs: [mesh, sdf, animation]
outputs: [mesh, sdf]
style: "both"
dynamic: "dynamic"
cost: "cheap"
authority: "Sellán et al., 2021"
url: "https://texelatlas.vercel.app/t/dynamic-swept-volume-slab-cutting/"
sources_verified_at: "2026-11-30"
---
# Kinematic Swept-Volume Boolean Carving via 2D Slab Distance Fields (Sellán et al., 2021)

> Carves exact clearance slots through thin moving gates or walls by evaluating the kinematic swept volume of a passing body as a 2D minimum-envelope signed distance field on each slab plane.

## Reach for it when

- carve real-time slices and grooves out of a 3d solid with a moving blade
- boolean mesh subtraction is too slow for continuous lathe or milling cuts
- simulate wood carving foam cutting or sculpting with a swept tool path
- update cut geometry cleanly without leaving non-manifold mesh artifacts
- visualize exact material removed by a moving planar or slab cutter

## How it works

Computing the full 3D **swept volume** of a rigid body moving along a trajectory `M(t)`—whether by spacetime numerical continuation (Sellán et al.) or polyhedral envelope approximation (Kim et al.)—captures every point occupied by the body over time. When a moving object such as a pendulum bob or cutter passes through a thin barrier or rotating gate slab, the 3D boolean subtraction simplifies dramatically.

Instead of meshing a full 4D spacetime isosurface, the solver transforms the moving body's analytic or sampled SDF `f_body(p)` into the **local 2D slab frame** `(u, v, w)` at discrete contact times `t_k` while the body intersects the slab thickness `|w| <= h/2`. Taking the temporal minimum envelope `d_sweep(u, v) = min_k f_body(M_slab(t_k)^-1 * p(u, v, w))` across the passage window yields a **2D signed distance field** of the exact silhouette carved through the slab, optionally expanded by a uniform clearance offset `-epsilon`.

Extracting the zero-contour (via marching squares or contour tracing) produces clean 2D boolean hole loops that are triangulated with ear-clipping and extruded across the slab thickness `h`, guaranteeing collision-free passage even when both the cutter and the gate rotate synchronously.

## When to use it

Choose it when carving tight-tolerance kinematic slots, keyholes, or synchronized mechanical gates through thin discs, plates, or stacked slices along known trajectories.

Prefer [mesh-boolean-manifold](mesh-boolean-manifold) when thick, arbitrary 3D solids require exact volumetric CSG subtraction rather than planar slab extrusion. Prefer [sdf-csg-smooth-min](sdf-csg-smooth-min) when rendering implicit ray-marched scenes where the swept boolean can be evaluated analytically without extracting a triangle mesh.

## Cost

cheap — Evaluating the 2D temporal minimum SDF on a coarse-to-fine slab grid and extruding the contour runs in a few milliseconds at generation time, with standard static mesh rendering cost at runtime.

## Failure modes

- Temporal undersampling of fast rotations or narrow blades causes scalloped aperture walls or missed collisions between sample instants
- Thin-slab 2D projection over-carves or misrepresents beveled entry walls when the obstacle thickness is large relative to the trajectory curvature
- Tiny remaining islands or razor-thin bridges near the slab rim can create degenerate triangles during 2D contour extrusion
- Non-rigid or unpredictable user-driven trajectories require re-carving the slab field whenever motion parameters change

## Dataflow

- Inputs: mesh, sdf, animation
- Outputs: mesh, sdf
- Platforms: webgl2, webgpu, desktop-gpu, cpu, houdini, blender

## Combines with

- [SDF Modeling: CSG and Smooth Minimum](https://texelatlas.vercel.app/t/sdf-csg-smooth-min.md): Fillets sharp aperture corners and adds uniform clearance margins directly inside the 2D slab distance field before contour extraction.
- [Manifold Mesh Booleans](https://texelatlas.vercel.app/t/mesh-boolean-manifold.md): Handles thick non-planar housings where 2D slab extrusion cannot represent slanted exit walls.

## Sources

1. [primary] Silvia Sellán, Noam Aigerman, Alec Jacobson (2021) Swept volumes via spacetime numerical continuation. ACM Transactions on Graphics. https://doi.org/10.1145/3450626.3459780 (verified via crossref on 2026-11-30)
2. [primary] Young J. Kim, Gokul Varadhan, Ming C. Lin, Dinesh Manocha (2004) Fast swept volume approximation of complex polyhedral models. Computer-Aided Design. https://doi.org/10.1016/j.cad.2004.01.004 (verified via doi.org on 2026-11-30)
3. [implementation] spite (2026) spite/codevember-2026. https://github.com/spite/codevember-2026 License: MIT. (verified via github on 2026-11-30)

## Cite this entry

Texel. "Kinematic Swept-Volume Boolean Carving via 2D Slab Distance Fields." https://texelatlas.vercel.app/t/dynamic-swept-volume-slab-cutting/ (accessed 2026-12-01).
