surface op• データ種: points → mesh
• 呼び出し: import fullseye as fs; fs.ledger.curve3d_tube_mesh(points, radius=0.1, segments=12, closed=False) (実装を直接呼ぶなら import render3d; render3d.curve3d_tube_mesh(points, radius=0.1, segments=12, closed=False)、台帳から引くなら ops3d.get("curve3d_tube_mesh"))
空間曲線を管メッシュに —— MATLAB の `tubeplot`、ただし体積を検算できる。
> 以下の詳細説明は原文のままです —— 要約と見出しは訳出済み。
Sweeps a circle of *radius* along the polyline using a parallel-transport
frame (no Frenet frame: the normal of a straight segment is undefined and the
binormal flips at an inflection, which twists the tube). Returns
`(vertices, faces)` for the existing 3-D viewers and mesh ops.
★Why this earns its place: for a closed circular centre line the tube is a
torus, whose volume `2 pi^2 R r^2 and area 4 pi^2 R r` are analytic —
and the existing `mesh_volume / mesh_area` ops measure the result. Two
independent implementations meeting at a closed form is a real check; "it
looks like a tube" is not.
Raises `ValueError`: fewer than 2 points; not (N, 3); radius not
positive; fewer than 3 segments; non-finite input; a curve with repeated
consecutive points (the direction is undefined there).
• サンプルデータ カタログ(DL URL / ライセンス) — 2-D は skimage.data(BSD/public)+ 合成、3-D は実データ源(Stanford/PDS 等)の DL URL。
• 演算子の来歴・参考文献 — この op 族の元になった研究/手法の出典。
• minimal_surfaces — py -3.11 examples_3d/minimal_surfaces.py
mesh を入力に取れる)mesh_to_voxel · mesh_to_points · to_points · fuse_to_voxel · ambient_occlusion · cast_shadow · supersample_mesh · render_beauty
surface)minimal_surface · minimal_surface_bend · gyroid_isosurface · gyroid_solid_mask
*Provenance: render3d.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.