Go to: Related nodes. Attributes.

Compute a circle given the center, radius, and normal. A partial circle or arc can be computed if the sweep angle (sweep) is specified.

The location and orientation of the circle can be controlled by using the center, fixCenter, and first attributes. If fixCenter is false then the circle will start at first point. This may pull the circle off of the specified center. Otherwise if fixCenter is true, the circle will use the specified center and its start point will be determined by the the direction vector created between the center and the first point.

The resolution of the circle can be controlled by specifying the useTolerance (useTolerance) attribute and the tolerance (tolerance). Otherwise the number of sections (sections) will control the circle's resolution.

The resulting circle can have a degree of linear or cubic.

Node nameParentsMFn typeCompatible function sets
makeNurbCircleabstractBaseCreatekCirclekBase
kNamedObject
kDependencyNode
kCreate
kCircle

Attributes (20)

Long name (short name)TypeDefaultFlags
`first` (`fp`) double3
 The start point of the circle if fixCenter is false. Determines the orientation of the circle if fixCenter is true.
`firstPointX` (`fpx`) distance (double)1cm
 X of the first point.
`firstPointY` (`fpy`) distance (double)0cm
 Y of the first point.
`firstPointZ` (`fpz`) distance (double)0cm
 Z of the first point.
`normal` (`nr`) double3
 The normal of the plane in which the circle will lie.
`normalX` (`nrx`) distance (double)0cm
 X of the normal direction.
`normalY` (`nry`) distance (double)0cm
 Y of the normal direction.
`normalZ` (`nrz`) distance (double)1cm
 Z of the normal direction.
`center` (`c`) double3
 The center point of the circle.
`centerX` (`cx`) distance (double)0cm
 X of the center point.
`centerY` (`cy`) distance (double)0cm
 Y of the center point.
`centerZ` (`cz`) distance (double)0cm
 Z of the center point.
`radius` (`r`) distance (double)1.0cm
`sweep` (`sw`) angle (double)6.2831853
 The sweep angle determines the completeness of the circle. A full circle is 2Pi radians, or 360 degrees.
`useTolerance` (`ut`) boolfalse
 Use the specified tolerance to determine resolution. Otherwise number of sections will be used.
`degree` (`d`) enum3
 The degree of the resulting circle: 1 - linear, 3 - cubic
`sections` (`s`) integer8
 The number of sections determines the resolution of the circle. Used only if useTolerance is false.
`tolerance` (`tol`) distance (double)0.01cm
 The tolerance with which to build a circle. Used only if useTolerance is true
`fixCenter` (`fc`) booltrue
 Fix the center of the circle to the specified center point. Otherwise the circle will start at the specified first point.
`outputCurve` (`oc`) nurbsCurveNULL
 The created circle.