MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / init_MeshWriter

Function init_MeshWriter

python/PyMeshWriter.cpp:13–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11using namespace PyMesh;
12
13void init_MeshWriter(py::module &m) {
14 py::class_<MeshWriter, std::shared_ptr<MeshWriter> >(m, "MeshWriter")
15 .def(py::init<>())
16 .def_static("create", &MeshWriter::create)
17 .def("with_attribute", &MeshWriter::with_attribute)
18 .def("in_ascii", &MeshWriter::in_ascii)
19 .def("use_float", &MeshWriter::use_float)
20 .def("write_mesh", &MeshWriter::write_mesh)
21 .def("write", &MeshWriter::write)
22 .def("set_output_filename", &MeshWriter::set_output_filename)
23 .def("set_anonymous", &MeshWriter::set_anonymous)
24 .def("is_anonymous", &MeshWriter::is_anonymous);
25}
26

Callers 1

PYBIND11_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected