weldx.geometry.RadialHorizontalTraceSegment#

class weldx.geometry.RadialHorizontalTraceSegment(radius, angle, clockwise=False)#

Trace segment describing an arc with constant z-component.

Construct radial horizontal trace segment.

Parameters:
  • radius (Quantity) – Radius of the arc

  • angle (Quantity) – Angle of the arc

  • clockwise (bool) – If True, the rotation is clockwise. Otherwise it is counter-clockwise.

Return type:

RadialHorizontalTraceSegment

Methods

get_points

Get an array of the points at the specified relative positions.

get_section_length

Get the length from the start of the segment to the passed relative position.

local_coordinate_system

Calculate a local coordinate system at a position of the trace segment.

Attributes

angle

Get the angle of the segment.

is_clockwise

Get True, if the segments winding is clockwise, False otherwise.

length

Get the length of the segment.

radius

Get the radius of the segment.