CreateRing


Creates a ring from an aligned point, inner and outer radius, and angle range.

Syntax

C++
Python
 
def CreateRing(
	inPoint: Point2D,
	inInnerRadius: float,
	inOuterRadius: float,
	/,
	*,
	inPointAnchor: Anchor2D = Anchor2D.MiddleCenter
)
-> outRing: Ring2D

Parameters

Name Type Range Default Description
Input value inPoint Point2D
Input value inPointAnchor Anchor2D Anchor2D.MiddleCenter Alignment of the point relatively to the box of the ring outer circle
Input value inInnerRadius float 0.0 - Inner ring radius
Input value inOuterRadius float 0.0 - Outer ring radius
Output value outRing Ring2D