acceptance_layout — ACCEPTANCE layout op

• 数据种类:无 → table(仅由参数决定的算子 —— 不接受图像或数据输入)

• 调用: import fullseye as fs; fs.ledger.acceptance_layout(volume_mm=(400.0, 300.0, 300.0), center_mm=(0.0, 0.0, 800.0), sphere_diameter_mm=25.0, bar_length_mm=None, plane_size_mm=(300.0, 150.0), plane_tilt_deg=25.0)(要直接调用实现,import acceptance3d; acceptance3d.acceptance_layout(volume_mm=(400.0, 300.0, 300.0), center_mm=(0.0, 0.0, 800.0), sphere_diameter_mm=25.0, bar_length_mm=None, plane_size_mm=(300.0, 150.0), plane_tilt_deg=25.0);从台账取用则 opsacceptance.get("acceptance_layout"))

• GPU:无(仅 CPU 参考实现)

用法

在测量体积中生成试验件的布置(1 个探测球、7 个姿态的球杆、7 个姿态的平面)(table)。

> 以下的详细说明为原文 —— 摘要与标题已翻译。

Place the artefacts in the measuring volume: one probing sphere at the centre, a ball bar in 7 orientations and a flat in 7 orientations. Coordinates are the sensor frame (x right, y down, z along the optical axis, mm), the volume a box of volume_mm centred on center_mm.

ダンベルの 7 姿勢 = 空間対角線 4 本 + 面の対角線 3 本(xy・xz・yz)、どれも体積の中心を通る。光軸(z)に平行な姿勢は手前の球が奥の球を隠すので取らない。平面の 7 姿勢 = 正対 1 + x 軸・y 軸まわりに ±plane_tilt_deg の 4 + 対角の軸まわり ±tilt の 2。★これは Fullseye の約束 で、VDI/VDE 2634 の図の写しではない(考え方 = 体積を対角に貫く長さで尺度の誤差を見る、に沿っただけ)。This 7+7 convention is Fullseye's own, modelled on the guideline's idea (span the volume diagonally so a scale error shows up); it is not a copy of the normative figure.

bar_length_mm の既定 = 7 方向のうち最も短い「体積を貫く長さ」の 0.8 倍から球の直径を引いた値。

返す dict: kind = "acceptance_layout"、volume_mm、center_mm、sphere_diameter_mm、bar_length_mm、probe([{"center", "diameter"}])、bars(7 個の {"name", "center_a", "center_b", "length", "diameter", "direction"})、planes(7 個の {"name", "center", "normal", "u", "v", "size"})。

Raises ValueError: 寸法が正でない・非有限、center_mm の z が体積の半分以下(センサの後ろに入る)、球やダンベルや平面が体積からはみ出す、平面の傾きが [0, 60] 度の外。

详细使用指南

• optical_3d_acceptance 族使用指南

参考(示例数据、文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

• 算法的正典(作者、年份)与用途见上面的族使用指南。

可运行的示例(实际调用该算子并已验证的样例)

• poc_virtual_acceptance_3d — py -3.11 examples/poc_virtual_acceptance_3d.py

类型可衔接的下一个算子(可接受 table 作为输入)

acceptance_verdict · acceptance_scan · virtual_acceptance_test · acceptance_error_budget

同类别(layout)

—


*Provenance: acceptance3d.py — ACCEPTANCE 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

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