grid_coords — 3D sdf_csg op

• Data kinds: none → coordgrid (an op determined by its arguments alone — it takes no image or data input)

• Call: import sdf_ops; sdf_ops.grid_coords(bounds, res) (or ops3d.get("grid_coords"))

Usage

Build the grid of voxel-centre coordinates for CSG evaluation (the same lattice convention as occupancy).

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)

• gear_metrology — py -3.11 examples_3d/gear_metrology.py

• molecule_atom_count — py -3.11 examples_3d/molecule_atom_count.py

• procedural_hand — py -3.11 examples_3d/procedural_hand.py

• render_beauty — py -3.11 examples_3d/render_beauty.py

• sdf_csg — py -3.11 examples_3d/sdf_csg.py

• sfm_recon — py -3.11 examples_3d/sfm_recon.py

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

fuse_to_voxel · sphere_sdf · box_sdf

Same category (sdf_csg)

sphere_sdf · box_sdf · sdf_union · sdf_intersect · sdf_subtract · 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.