mesh_process op• 資料種類:mesh → signal
• 呼叫: import fullseye as fs; fs.ledger.face_areas(mesh) -> 'np.ndarray'(要直接呼叫實作,import mesh_props; mesh_props.face_areas(mesh) -> 'np.ndarray';從台帳取用則 ops3d.get("face_areas"))
三角形網格每個面的面積 → (M,)。
逐面回傳面積 = 0.5·|cross(v1−v0, v2−v0)|(mesh_area 是其總和)。面積是為了作為權重使用而存在的 —— 「朝下的面的面積」、「公差外的面積」、「曲率的面積加權平均」都是需要逐面面積的量,無法從總和得到。
Args:
mesh: (vertices (N,3), faces (M,3)) 的元組。
Returns:
(M,) 的 float64(非負)。順序為 faces 的順序,與 face_normals 相同的
排列,因此可以像 areas[normals[:, 2] < 0].sum() 這樣直接組合。
Raises:
ValueError: mesh 不是 (vertices, faces) 這 2 個元素、形狀不正確、
座標非有限、index 非整數、越界、為空時。
注意: 與 mesh_area 相同,退化三角形(面積 0)不拒絕而回傳 0 (face_normals 因法線無法定義而拒絕 —— 同一網格在這裡可以通過)。重複面、正反 2 片貼合的面各以 1 個面計數。單位是座標單位的 2 次方。
• blender_interop — 與 Blender 搭配使用 —— 在 Blender 中建形、用 fullseye 量測(座標軸、單位、真值資料的陷阱)
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• mesh_props — py -3.11 examples_3d/mesh_props.py
signal 作為輸入)mesh_process)laplacian_smooth · taubin_smooth · decimate_qem · face_normals · vertex_normals · mesh_area · vertex_curvature · mesh_volume
*Provenance: mesh_props.py — 3D 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.