pyvista_cad.CadDataSetAccessor.to_3mf# CadDataSetAccessor.to_3mf(path, /, *, units=None)[source]# Write to path as a 3MF file. Examples >>> import os >>> import tempfile >>> import pyvista as pv >>> import pyvista_cad >>> out = os.path.join(tempfile.mkdtemp(), 'o.3mf') >>> pv.Sphere().cad.to_3mf(out) >>> os.path.exists(out) True Parameters: path (str | PathLike[str]) units (str | None) Return type: None