weldx.Geometry.to_file#
- Geometry.to_file(file_name, profile_raster_width, trace_raster_width)#
Write the
Geometry
data into a CAD file.The geometry is rasterized and triangulated before the export. All file formats supported by
meshio
that are based on points and triangles can be used (For example.stl
or.ply
). Just add the corresponding extension to the file name. For further information about supported file formats refer to the [meshio
documentation](https://pypi.org/project/meshio/).