fullseye

scene_difference — OPTICS scene op

使い方

solid から cavity をくり抜く(CSG の差集合)。中空の部品を作る唯一の手段。

コップ = 外側の円筒 − 底より上にずらした内側の円筒。ほかにワッシャ、貫通穴、 座ぐり ―― 実際の部品は穴が開いているほうが普通で、球だけでは足りない (2026-09-05 のユーザー指摘)。

両方とも凸プリミティブ(sphere / box / cylinder)でなければならない。平面は 体積を囲まないので拒否する(fail-closed)。入れ子にすれば穴を 2 つ空けられる。

ファミリ共通の入力契約(fail-closed)

optics の全 op は入力を検証してから計算する(黙って通さない):

詳しい使い方ガイド

背景知識ガイド(この op の手前にある物理・規約)

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(table を入力に取れる)

abcd_matrix · wavefront_stats · paraxial_trace · seidel_coefficients · spot_stats · tolerance_analysis · wavefront_from_opd · spot_diagram

同カテゴリ(scene)

scene_material · scene_plane · scene_sphere · scene_box · scene_cylinder · surface_defect · surface_finish · random_defects


Provenance: optscene.py — OPTICS operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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