BendPath
- ipkiss3.all.BendPath(layer, start_point=(0.0, 0.0), radius=1.0, line_width=0.5, input_angle=0.0, output_angle=90.0, angle_step=<ipkiss3.technology.TechValue object>, path_type=0, clockwise=False)
Returns a Path Element along a circuler bend.
- Parameters:
- layerLayer 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)
- output_angleangle (in degrees)
output angle of the bend. defaults to 90.0 (along positive y-axis).
- line_widthpositive number
line_width of the path. defaults to 0.5
- 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
- clockwiseBoolean
sets the direction of the bend. Defaults to False.
- Returns:
- Path element.
See also