sdf_csg op• Data kinds: coordgrid → sdf
• Call: import fullseye as fs; fs.ledger.box_sdf(grid, center, half_extents) (implementation को सीधे call करना हो तो import sdf_ops; sdf_ops.box_sdf(grid, center, half_extents), registry से लेना हो तो ops3d.get("box_sdf"))
axis-aligned box का exact signed distance field (अंदर ऋणात्मक, बाहर धनात्मक)।
Inigo Quilez का box SDF: q = |p-center| - half_extents लेकर,
outside = |max(q,0)| (corner/edge/face के बाहर Euclidean distance),
inside = min(max(q_x,q_y,q_z), 0) (अंदर निकटतम face तक ऋणात्मक मान),
sdf = outside + inside।
half_extents हर axis की आधी भुजा-लंबाई है (center से face तक)। बाहर exact distance देता है (corner पर diagonal, face के सामने लंबवत दूरी), और अंदर भी निकटतम face तक exact ऋणात्मक दूरी देता है।
कोई 1 भी half-extent ऋणात्मक हो, या grid / center / half_extents का आकार गलत हो, तो ValueError आता है।
• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।
• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।
• 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 को 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. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.