Go to:
Related nodes. **Attributes**.

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 |

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 | ||||||||||||||||

| |||||||||||||||||

| |||||||||||||||||

| |||||||||||||||||

(`center` )
`c` | double3 | ||||||||||||||||

| |||||||||||||||||

| |||||||||||||||||

| |||||||||||||||||

(`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 | |||||||||||||||