fullseye

groove_profile — OPTICS light_transport op

使い方

Split a concave cross-section (V-groove, circular trough, fillet or any concave polyline) into patches, one camera pixel column each.

The part is extruded along the groove axis; the cross-section is a function z(x) that is concave (a valley), viewed by an orthographic camera from straight above, one patch per pixel column. The built-in shapes are sampled at n_patches + 1 uniform x (a kink between two samples is cut by the chord), rims at z = 0. angle_deg is the shape’s defining angle and floor_frac the share of width that is a flat floor; None takes the per-shape default.

Returns a dict (a table) with kind = "lt_profile", shape, vertices (P+1, 2), centers (P, 2), normals (P, 2, unit, pointing up out of the material), lengths (P,) and x_centers (P,).

Raises ValueError: unknown kind; n_patches not an integer in [2, 2048]; non-positive or non-finite width; angle_deg or floor_frac outside the shape’s range; vertices given for a built-in shape or missing for "polyline"; vertices that are not a concave function z(x) (x not strictly increasing, or a convex turn).

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

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

詳しい使い方ガイド

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

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

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

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

同カテゴリ(light_transport)

form_factors_2d · transport_matrix_radiosity · high_frequency_patterns · render_transport · separate_direct_global · fringe_multipath_phase_error · predict_fringe_phase_error · micro_phase_decode


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

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