fullseye

curve3d_tube_mesh — 3D surface op

使い方

A space curve as a tube mesh — the MATLAB tubeplot, with a volume you can check.

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).

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

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

型が繋がる次の op(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.