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
Methods
Plot the geometry.
Rasterize the geometry.
Rasterize the geometry and get it as
SpatialData
instance.Attributes
Get the geometry’s profile.
Get the geometry’s trace.