weldx.Geometry.spatial_data#

Geometry.spatial_data(profile_raster_width, trace_raster_width, closed_mesh=True)#

Rasterize the geometry and get it as SpatialData instance.

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

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

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

  • closed_mesh (bool) – If True, the surface of the 3d geometry will be closed

Returns:

The rasterized geometry data

Return type:

SpatialData