Go to: Synopsis. Flags. Return value. Related. MEL examples.
polyCreateFacet [-constructionHistory boolean] [-hole] [-name string] [-point float float float] [-subdivision int] [-texture int]
polyCreateFacet is undoable, queryable, and editable.
Create a new polygonal object with the specified face, which will be closed. List of arguments must have at least 3 points.Long name (short name) | [argument types] | Properties | ||
---|---|---|---|---|
-point(-p)
|
float float float
|
![]() ![]() |
||
|
||||
-texture(-tx)
|
int
|
![]() ![]() ![]() |
||
|
||||
-subdivision(-s)
|
int
|
![]() ![]() ![]() |
||
|
||||
-hole(-hl)
|
|
![]() ![]() |
||
|
||||
-name(-n)
|
string
|
![]() |
||
|
||||
-constructionHistory(-ch)
|
boolean
|
![]() ![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// Create a triangular facet polyCreateFacet -p 0.0 0.0 0.0 -p 10.0 0.0 0.0 -p 10.0 10.0 0.0; // Create a quadrangular facet with two triangular holes inside polyCreateFacet -p 0 0 0 -p 10 0 0 -p 10 10 0 -p 0 10 0 -hl -p 4 2 0 -p 5 4 0 -p 6 2 0 -hl -p 5 6 0 -p 4 8 0 -p 6 8 0; move -r 0 0 10;