weldx.geometry.Geometry

class weldx.geometry.Geometry(profile, trace)

Defines a 3 dimensional geometry by extrusion of a 2 dimensional profile.

The path of the extrusion can be chosen arbitrarily. It is also possible to vary the profile along the extrusion path.

Construct a geometry.

Parameters
  • profile (Profile, VariableProfile) – Constant or variable profile that is used as cross section along the specified trace

  • trace (Trace) – The path that is used to extrude the given profile

Returns

A Geometry class instance

Return type

Geometry

Methods

plot

Plot the geometry.

rasterize

Rasterize the geometry.

spatial_data

Rasterize the geometry and get it as SpatialData instance.

Attributes

profile

Get the geometry’s profile.

trace

Get the geometry’s trace.