curve3d_tube_mesh — 3D surface op

• Data kinds: points → mesh

• Call: import fullseye as fs; fs.ledger.curve3d_tube_mesh(points, radius=0.1, segments=12, closed=False) (implementation को सीधे call करना हो तो import render3d; render3d.curve3d_tube_mesh(points, radius=0.1, segments=12, closed=False), registry से लेना हो तो ops3d.get("curve3d_tube_mesh"))

उपयोग

space curve को tube mesh के रूप में — MATLAB का tubeplot, ऐसे volume के साथ जिसे आप जाँच सकते हैं।

> नीचे का विस्तृत विवरण मूल text में है — सारांश और headings का अनुवाद हो चुका है।

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

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• minimal_surfaces — py -3.11 examples_3d/minimal_surfaces.py

वे अगले ops जिनसे type जुड़ता है (mesh को input के रूप में लेते हैं)

mesh_to_voxel · mesh_to_points · to_points · fuse_to_voxel · ambient_occlusion · cast_shadow · supersample_mesh · render_beauty

इसी category के (surface)

minimal_surface · minimal_surface_bend · gyroid_isosurface · gyroid_solid_mask


*Provenance: render3d.py — 3D operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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