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/).- Parameters
file_name (
str) – Name of the file. Add the extension of the desired file format.profile_raster_width – Target distance between the individual points of a profile
trace_raster_width – Target distance between the individual profiles on the trace