curve3d_tube_mesh — 3D 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.

• 연산자의 내력·참고문헌 —— 이 연산자 족의 바탕이 된 연구/기법의 출처.

실행 가능한 예제(이 연산자를 실제로 호출하는 검증된 샘플)

• 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 연산자 레지스트리. 이 op 노트는 tools/opdocs.py md 가 자동 생성합니다(직접 편집하지 마세요).*

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