sdf_csg op• Data kinds: none → coordgrid (an op determined by its arguments alone — it takes no image or data input)
• Call: import fullseye as fs; fs.ledger.grid_coords(bounds, res) (to call the implementation directly, import sdf_ops; sdf_ops.grid_coords(bounds, res); from the registry, ops3d.get("grid_coords"))
• Return value through the ledger: fullseye.ledger.grid_coords(...) returns **only the declared out type coordgrid** (the underlying function also returns auxiliary values). When you need what was dropped, use fullseye.ledger.grid_coords.raw(...) or call sdf_ops.grid_coords directly.
Build the grid of voxel-centre coordinates for CSG evaluation (the same lattice convention as occupancy).
> The detailed description below is the original text — the summary and the headings are translated.
`bounds=((xmin,xmax),(ymin,ymax),(zmin,zmax))、res` は各軸のボクセル数(スカラ=立方
or 長さ3)。voxel `i の中心は world lo + (i+0.5)/res * span(occupancy.query_distance`
の `c=(q-lo)/span*res-0.5` と整合 = 中心アライン)。返り値は
`coords shape (nx,ny,nz,3) と extent=(xmin,xmax,ymin,ymax,zmin,zmax)`。
こうして作った座標に `sphere_sdf/box_sdf を評価し CSG 合成すれば、recon3d` の
marching cubes や `occupancy` のゼロ交差抽出へそのまま渡せる。
Raises ValueError for degenerate bounds or res<=0。
• 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.
• 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
coordgrid as input)fuse_to_voxel · sphere_sdf · box_sdf · plane_sdf · cylinder_sdf · torus_sdf · capsule_sdf
sdf_csg)sphere_sdf · box_sdf · plane_sdf · cylinder_sdf · torus_sdf · capsule_sdf · sdf_union · sdf_intersect
*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.