RelativeBendPath

ipkiss3.all.RelativeBendPath(layer, start_point=(0.0, 0.0), radius=1.0, line_width=0.5, input_angle=0.0, angle_amount=90.0, angle_step=<ipkiss3.technology.TechValue object>, path_type=0)

Returns a Path Element along a a circular bend calculated relatively from a starting point.

Parameters:
layer: Layer object, required

Layer on which the shape is drawn

start_pointCoord2 or tuple

starting coordinate of the bend. defaults to (0.0, 0.0)

radiuspositive number

radius of the bend. defaults to 10.0

input_angleangle (in degrees)

input angle of the bend. defaults to 0.0 (along positive x-axis)

angle_amountangle (in degrees)

Angyular coverage of the bend. defaults to 90.0 (=a right counterclockwise angle).

line_widthpositive number

line_width of the path.

path_typeconstant indicating the path type

can be constants.PATH_TYPE.NORMAL, constants.PATH_TYPE.ROUNDED, constants.PATH_TYPE.EXTENDED

angle_steppositive angle (in degrees)

The angle step for the discretisation of the rounded corners. Default is extracted from TECH.METRICS.ANGLE_STEP

Returns:
Path element.