sdf_subtract — 3D sdf_csg op

Data kinds: sdf × sdfsdf

Call: import sdf_ops; sdf_ops.sdf_subtract(a, b) (or ops3d.get("sdf_subtract"))

Usage

The difference A\B = max(a, −b) (inside A and outside B = inside `−b`).

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

Runnable examples (verified samples that actually call this op)

sdf_csgpy -3.11 examples_3d/sdf_csg.py

Ops the type connects to (they accept sdf as input)

sdf_to_occupancy · fuse_to_voxel · integrate · extract_surface_points · query_distance · sdf_union · sdf_intersect · sdf_smooth_union

Same category (sdf_csg)

grid_coords · sphere_sdf · box_sdf · sdf_union · sdf_intersect · sdf_smooth_union · sdf_offset


*Provenance: sdf_ops.py — 3D operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.