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