mesh_process opmesh → measurementimport fullseye as fs; fs.ledger.mesh_area(mesh) -> 'float' (実装を直接呼ぶなら import mesh_props; mesh_props.mesh_area(mesh) -> 'float'、台帳から引くなら ops3d.get("mesh_area"))三角形メッシュの表面積(全三角形面積の総和)。→ float。
面積 = Σ 0.5·|cross(v1−v0, v2−v0)|。頂点数に定数を掛ける素朴な近似ではなく、実際の面の 大きさを積算するので、メッシュのスケール・形状に正しく追随する。
Args: mesh: (vertices (N,3), faces (M,3)) のタプル。
Returns: 表面積(非負の float)。
Raises: ValueError: mesh が (vertices, faces) の 2 要素でない、形状不正、非有限座標、非整数・ 範囲外の index、空、または 3 頂点のどれかが同じ index の三角形があるとき。
注意: face_normals と違い、座標がほぼ一直線に並んだ退化三角形(面積 0)は拒否せず 0 として
加算する。重複面や表裏 2 枚張りの面はそのまま 2 回数えられる。単位は座標の単位の 2 乗。
py -3.11 examples_3d/dl_mesh_curvature.pypy -3.11 examples_3d/mesh_props.pymeasurement を入力に取れる)vol_gaussian_psf · fuse_to_voxel · fresnel_reflectance · snell_angle
mesh_process)laplacian_smooth · taubin_smooth · decimate_qem · face_normals · vertex_normals · 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.