paper opなし → table(引数だけで決まる op —— 画像やデータの入力を取らない)import fullseye as fs; fs.ledger.annotate_dimension_layout(p0, p1, offset=20.0, extension=6.0, text_gap=8.0) (実装を直接呼ぶなら import annotate; annotate.annotate_dimension_layout(p0, p1, offset=20.0, extension=6.0, text_gap=8.0)、台帳から引くなら opsannotate.get("annotate_dimension_layout"))table(dict)を返す: 寸法線の幾何(寸法線・補助線・文字位置)を閉形式で決める。
n を p0→p1 の左法線(画面座標)として、寸法線は p + n*offset、補助線は
p から p + n*(offset+extension)、文字は寸法線の中点から n*text_gap。
offset の符号で側を選ぶ。
dict
{"p0","p1","line":(q0,q1),"ext0","ext1","text_xy","normal",
"angle_deg","length_px"}。
ValueError 2 点が一致(向きが無い)、非有限、offset が 0。
py -3.11 examples/paper_figure.pytable を入力に取れる)—
paper)annotate_leader_layout · annotate_leader · annotate_markers · annotate_legend · annotate_dimension · annotate_angle_layout · annotate_angle · annotate_scale_bar_layout
Provenance: annotate.py — ANNOTATE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.