weldx.SpatialData.from_geometry_raster#

classmethod SpatialData.from_geometry_raster(geometry_raster, closed_mesh=True)#

Triangulate rasterized Geometry Profile.

Parameters:
  • geometry_raster (numpy.ndarray) – A single unstacked geometry rasterization.

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

Returns:

New SpatialData instance

Return type:

SpatialData