mesh_write_ply — FILEIO mesh op

• 数据种类:table → any

• 调用: import fullseye as fs; fs.ledger.mesh_write_ply(table, *, binary)(要直接调用实现,import fileio; fileio.mesh_write_ply(table, *, binary);从台账取用则 opsfileio.get("mesh_write_ply"))

• GPU:无(仅 CPU 参考实现)

用法

将顶点、面、颜色、法线和任意标量属性写成 ASCII 或小端 PLY(text / bytes)。

> 以下的详细说明为原文 —— 摘要与标题已翻译。

table は vertices と任意の faces/colors/normals/attributes を持つ。binary=False は ASCII 文字列、binary=True は binary_little_endian bytes。色は最近傍整数へ丸める。

呼び出し例: mesh_write_ply({"vertices": v, "faces": f}, binary=True)。

参考(示例数据、文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

• 算法的正典(作者、年份)与用途见上面的族使用指南。

可运行的示例(实际调用该算子并已验证的样例)

• fileio_roundtrip — py -3.11 examples/fileio_roundtrip.py

类型可衔接的下一个算子(可接受 any 作为输入)

table_write_csv · table_read_csv · mesh_read_ply · mesh_write_stl · mesh_read_stl · mesh_write_obj · mesh_read_obj · mesh_write_off

同类别(mesh)

mesh_read_ply · mesh_write_stl · mesh_read_stl · mesh_write_obj · mesh_read_obj · mesh_write_off · mesh_read_off


*Provenance: fileio.py — FILEIO 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

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