polyAppendVertex is undoable, queryable, and editable.
Appends a new face to the selected polygonal object. The direction
of the normal is given by the vertex order: the face normal points
towards the user when the vertices rotate counter clockwise. Note
that holes must be described in the opposite direction.
In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
-append(-a)
|
float float float
|
|
|
Append a vertex or a point to the selected object, or mark the start of a
hole.
This flag may also be used in place of the "hole", "vertex" and "point" flags.
If no argument is passed to the "append" flag, then it marks the beginning of a
hole (use an empty tuple in Python '()'). If one argument is passed, then the
argument is considered to be an index into the vertices of the selected
object, as with the "vertex" flag. If three arguments are passed, then it is
interpreted as the coordinates of a new point which will be inserted, as with
the "point" flag.
|
|
-vertex(-v)
|
int
|
|
|
Adds the given vertex of the selected object to the new face.
Note that this flag should be avoided in Python. You may use the "append"
flag instead and pass one argument.
|
|
-point(-p)
|
float float float
|
|
|
Adds a new point to the new face.
Coordinates of free points are given in the local object reference.
Note that this flag should be avoided in Python. You may use the "append"
flag instead and pass three arguments.
|
|
-texture(-tx)
|
int
|
|
|
Specifies how new faces are mapped.
0 - None; 1 - Normalize; 2 - Unitize
C: Default is 0 (no mapping).
Q: When queried, this flag returns an int
|
|
-hole(-h)
|
|
|
|
Add a hole. The following points and edges will define a hole.
Note that this flag should be avoided in Python. You may use the "append"
flag instead and pass an empty tuple '()' to specify the start of a hole.
|
|
Common flags |
-name(-n)
|
string
|
|
|
Give a name to the resulting node.
|
|
-constructionHistory(-ch)
|
boolean
|
|
|
Turn the construction history on or off (where applicable). If
construction history is on then the corresponding node will be
inserted into the history chain for the mesh. If construction history
is off then the operation will be performed directly on the object.
Note: If the object already has construction history then
this flag is ignored and the node will always be inserted into
the history chain.
|
|