Glyph Version 7.22.2 |
pw:: FaceUnstructuredAn unstructured face is a collection of edge-connected pw::Domain objects that are used to build watertight boundaries of unstructured blocks. Unstructured faces cannot persist without a block. Derives FromSummary
create
This action creates a new unstructured face object. Parametersnone ReturnsThis action returns a new pw::FaceUnstructured object. See AlsocreateFromDomains
This command creates new unstructured face objects from the given domains. Parameters
NotesWhile this command will produce identical results when run with the exact same input, it may produce different results for slight variations in the input domains. The faces may be created in a different order or may be created with different orientations or topologies. Use the explicit face building routines (pw::FaceUnstructured.create and pw::Face.addDomain commands) to build the face in a controlled manner. ReturnsThis action returns a list of new pw::FaceUnstructured objects. See AlsoMaximumBendAngle
This attribute is the maximum bending angle allowed when adding domains to this face, with 0 meaning no maximum. TypeA float in the range [0.0, 180.0). Default0.0 replaceDomain
This action replaces an existing domain in all unstructured faces with another domain. The domains can be of different types. Parameters
ReturnsThis action returns a list of pw::FaceUnstructured objects that were modified. getNormalOrientation
This action gets the orientation of the face normals. Parametersnone ReturnsThis action returns a string with options < In | Out | Unknown >. setNormalOrientation
This action sets the orientation of the face normals. Parameters
ReturnsThis action returns the resulting direction. getAdjacentDomains
This action gets domains adjacent to a face. Parameters
ReturnsThis action returns a list of pw::Domain adjacent to the face. setBaffle
This action designates the face as a baffle or non-baffle face. Parameters
ReturnsThis action returns nothing. isBaffle
This action returns true if the face is a baffle face. Parametersnone ReturnsThis action returns a boolean value of true if the face is a baffle face or false if the face is a non-baffle face. swapDomain
This action replaces an existing domain in the face with another domain that is not in the face. The domains can be of different types. Parameters
ReturnsThis action returns a boolean set to true if the domain was swapped. |
This action creates a new unstructured face object.
pw::FaceUnstructured create
This command creates new unstructured face objects from the given domains.
pw::FaceUnstructured createFromDomains ?-single? domains
This attribute is the maximum bending angle allowed when adding domains to this face, with 0 meaning no maximum.
pw::FaceUnstructured get/setMaximumBendAngle angle
This action replaces an existing domain in all unstructured faces with another domain.
pw::FaceUnstructured replaceDomain $olddom $newdom
This action gets the orientation of the face normals.
$face getNormalOrientation
This action sets the orientation of the face normals.
$face setNormalOrientation direction
This action gets domains adjacent to a face.
$face getAdjacentDomains ?-includeSelf? ?-manifold? ?-maximumAngle angle? ?-nopoles? ?-type option? ?-visibleOnly?
This action designates the face as a baffle or non-baffle face.
$face setBaffle value
This action returns true if the face is a baffle face.
$face isBaffle
This action replaces an existing domain in the face with another domain that is not in the face.
$face swapDomain $olddom $newdom
This action adds a face to the block.
$block addFace face
This action adds a domain to this face.
$face addDomain ?-linkage linkage? domain