weldx.Shape¶
- class weldx.Shape(segments=None)¶
Defines a shape in 2 dimensions.
Construct a shape.
- Parameters
segments – Single segment or list of segments
- Returns
- Return type
Methods
Add line segments to the shape.
Add segments to the shape.
Apply a reflection at the given axis to the shape.
Apply a reflection across a line.
Apply a transformation to the shape.
Apply a translation to the shape.
Interpolate 2 shapes.
Interpolate 2 shapes linearly.
Create an array of points that describe the shapes contour.
Get a reflected copy of the shape.
Get a reflected copy across a line.
Get a transformed copy of the shape.
Get a translated copy of the shape.
Attributes
Get the number of segments of the shape.
Get the shape's segments.