weldx.geometry.Geometry.spatial_data

Geometry.spatial_data(profile_raster_width, trace_raster_width)

Rasterize the geometry and get it as SpatialData instance.

If no VariableProfile is used, a triangulation is added automatically.

Parameters
  • profile_raster_width (pint.Quantity) – Target distance between the individual points of a profile

  • trace_raster_width (pint.Quantity) – Target distance between the individual profiles on the trace

Returns

The rasterized geometry data

Return type

SpatialData