mesh_process opmesh → normalsimport fullseye as fs; fs.ledger.face_normals(mesh) -> 'np.ndarray' (実装を直接呼ぶなら import mesh_props; mesh_props.face_normals(mesh) -> 'np.ndarray'、台帳から引くなら ops3d.get("face_normals"))三角形メッシュの面法線(各三角形の単位法線ベクトル)。→ (M,3)。
法線 = 正規化した cross(v1−v0, v2−v0)。向きは faces の巻き順(winding) から一貫して 決まる(PCA のような符号未定さは無い)。閉じたメッシュを外向き巻きで作れば全法線が外向き。
Args: mesh: (vertices (N,3), faces (M,3)) のタプル。
Returns: (M,3) の単位面法線。
Raises: ValueError: 形状不正・範囲外 index、または退化(ゼロ面積)三角形で法線が定義できないとき。
py -3.11 examples_3d/mesh_props.pynormals を入力に取れる)icp_point2plane · compute_fpfh · shot_descriptor · fuse_to_voxel · reflect · refract · normal_consistency · ransac_cylinder
mesh_process)laplacian_smooth · taubin_smooth · decimate_qem · vertex_normals · mesh_area · vertex_curvature · face_areas · mesh_volume
Provenance: mesh_props.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.