weldx.geometry.Geometry.rasterize#

Geometry.rasterize(profile_raster_width, trace_raster_width, stack=True)#

Rasterize the geometry.

Parameters:
  • profile_raster_width (Quantity) – Raster width of the profiles

  • trace_raster_width (Quantity) – Distance between two profiles

  • stack (bool) – hstack data into a single output array (default = True)

Returns:

Raster data

Return type:

numpy.ndarray