write_mesh
builtin
¶
write_mesh(path, mesh, *, ascii=False, dxf_entity='3dface')
Writes a .obj, .stl or ASCII R2000 .dxf mesh.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
str or Path
|
The file; its extension picks the format. |
required |
mesh
|
Mesh
|
The mesh. OBJ writes the face column |
required |
ascii
|
bool
|
Write ASCII instead of binary STL. |
False
|
dxf_entity
|
('3dface', polyface)
|
One |
"3dface"
|
used in