sdf_csg op• Data kinds: coordgrid → sdf
• Call: import fullseye as fs; fs.ledger.box_sdf(grid, center, half_extents) (to call the implementation directly, import sdf_ops; sdf_ops.box_sdf(grid, center, half_extents); from the registry, ops3d.get("box_sdf"))
The exact signed distance field of an axis-aligned box (negative inside, positive outside).
> The detailed description below is the original text — the summary and the headings are translated.
Inigo Quilez の box SDF: `q = |p-center| - half_extents` とし、
`outside = |max(q,0)|` (角/辺/面の外はユークリッド距離),
`inside = min(max(q_x,q_y,q_z), 0)` (内側は最近面までの負値),
`sdf = outside + inside`。
`half_extents` は各軸の半辺長(中心から面まで)。外側は厳密距離(角では対角、面前は
垂直距離)、内側も最近面までの厳密負距離を与える。
Raises ValueError for any half_extent<0 or malformed grid/center/half_extents。
• 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
• render_beauty — py -3.11 examples_3d/render_beauty.py
• sdf_csg — py -3.11 examples_3d/sdf_csg.py
sdf as input)sdf_to_occupancy · fuse_to_voxel · integrate · extract_surface_points · query_distance · sdf_union · sdf_intersect · sdf_subtract
sdf_csg)grid_coords · sphere_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.