mesh_process opmesh → indicesimport fullseye as fs; fs.ledger.boundary_vertices(mesh) -> 'np.ndarray' (実装を直接呼ぶなら import mesh_props; mesh_props.boundary_vertices(mesh) -> 'np.ndarray'、台帳から引くなら ops3d.get("boundary_vertices"))開いた縁(境界)に乗っている頂点の index → (K,)。
無向辺のうちちょうど 1 つの面にしか使われていない辺(境界辺)の端点を集めて
返す。閉じた多様体なら空配列 —— つまり len(boundary_vertices(mesh)) == 0 が
水密性(watertight)の判定になる。穴埋め・体積計算・曲率のどれも、境界の
有無で意味が変わるので、先にここを見る。
Args:
mesh: (vertices (N,3), faces (M,3)) のタプル。
Returns:
昇順・重複なしの (K,) int64。境界が無ければ shape == (0,)。
Raises:
ValueError: mesh が (vertices, faces) の 2 要素でない、形状不正、
非有限座標、非整数・範囲外の index、空のとき。
限界(honest): 返るのは頂点の集合で、縁のループ(周回順)ではない。
穴が複数あっても 1 つの配列にまとまるので、穴ごとに分けたいなら連結成分を
自分で辿ることになる(ループ抽出の op はまだ無い)。3 つ以上の面が共有する
非多様体辺はここには出ない(mesh_edge_stats の non_manifold_edges)。
py -3.11 examples_3d/mesh_decimate.pypy -3.11 examples_3d/mesh_props.pyindices を入力に取れる)mesh_process)laplacian_smooth · taubin_smooth · decimate_qem · face_normals · vertex_normals · mesh_area · vertex_curvature · face_areas
Provenance: mesh_props.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.