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