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

Related nodes

makeCircularArc, makeTwoPointCircularArc, makeThreePointCircularArc

Attributes (20)

center, centerX, centerY, centerZ, degree, first, firstPointX, firstPointY, firstPointZ, fixCenter, normal, normalX, normalY, normalZ, outputCurve, radius, sections, sweep, tolerance, useTolerance

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