Go to: Related nodes. Attributes.
Compute a NURBS square given the length of two adjacent sides,
number of spans, degree, center and normal of the plane. The square
is created about the specified center to lie on the plane.
The length of two adjacent sides on the square can be controlled
using the attributes "sideLength1" and "sideLength2". The square
could be created on the desired plane using the attributes "normal"
and "center".
By default, a unit square of degree 3 is created around the origin
on the XY plane i.e. Z = 0.
The resolution of the square can be controlled by specifying the
number of "spansPerSide" on the square. The degree of the NURBS
curves describing the square can be controlled using the attribute
"degree".
The four output NURBS curves corresponding to the edges of the
square can be obtained at the output attributes "aOutCurve1",
"aOutCurve2", "aOutCurve3" and "aOutCurve4" respectively.
The degree of the square can be 1, 2, 3, 5 or 7.
| Node name |
Parents |
MFn type |
Compatible function sets |
| makeNurbsSquare |
abstractBaseCreate |
kNurbsSquare |
kBase
kNamedObject
kDependencyNode
kCreate
kNurbsSquare |
Related nodes
revolve, extrude, loft
Attributes (16)
center, centerX, centerY,
centerZ, degree, normal,
normalX, normalY, normalZ,
outputCurve1, outputCurve2, outputCurve3, outputCurve4, sideLength1, sideLength2, spansPerSide
| Long name (short name) |
Type |
Default |
Flags |
|
normal
(nr) |
double3 |
|
    |
|
normalX
(nrx) |
distance
(double) |
0cm |
     |
|
|
normalY
(nry) |
distance
(double) |
0cm |
     |
|
|
normalZ
(nrz) |
distance
(double) |
1cm |
     |
|
|
center
(c) |
double3 |
|
    |
|
centerX
(cx) |
distance
(double) |
0cm |
     |
|
|
centerY
(cy) |
distance
(double) |
0cm |
     |
|
|
centerZ
(cz) |
distance
(double) |
0cm |
     |
|
|
sideLength1
(sl1) |
distance
(double) |
1.0cm |
     |
|
sideLength2
(sl2) |
distance
(double) |
1.0cm |
     |
|
degree
(d) |
enum |
3 |
     |
|
spansPerSide
(sps) |
integer |
1 |
     |
|
outputCurve1
(oc1) |
nurbsCurve |
NULL |
  |
|
outputCurve2
(oc2) |
nurbsCurve |
NULL |
  |
|
outputCurve3
(oc3) |
nurbsCurve |
NULL |
  |
|
outputCurve4
(oc4) |
nurbsCurve |
NULL |
  |