Region(...)
This command creates a set-like region. For example,
myRegion = regionToolset.Region(vertices=v[2:4], edges=e[4:5]+e[6:9])
The arguments are the same as the arguments to the Set method, except for the name argument.
In most cases, the constructor will be called with only one argument of sequences. The arguments xVertices, xEdges, and xFaces are used to exclude lower-dimension entities and to provide finer control on the content of the region. For example, the following statement defines a region enclosing a square face but without two of its edges:
region = regionToolset.Region(faces=f[3:4], xEdges=e[1:3])
Path
Region
Required arguments
None.
Optional arguments
- elements
A sequence of Element objects. The default value is None.
- nodes
A sequence of Node objects. The default value is None.
- vertices
A sequence of Vertex objects. The default value is None.
- edges
A sequence of Edge objects. The default value is None.
- faces
A sequence of Face objects. The default value is None.
- cells
A sequence of Cell objects. The default value is None.
- referencePoints
A sequence of ReferencePoint objects. The default value is an empty sequence.
- xVertices
A sequence of Vertex objects that excludes specific vertices from the region. The default value is None.
- xEdges
A sequence of Vertex objects that excludes specific edges from the region. The default value is None.
- xFaces
A sequence of Vertex objects that excludes specific faces from the region. The default value is None.
- skinFaces
A tuple of tuples specifying a skin name and the sequence of faces associated with this skin. Valid only for geometric regions on 3D and 2D parts.
- skinEdges
A tuple of tuples specifying a skin name and the sequence of edges associated with this skin. Valid only for geometric regions on Axisymmetric parts.
- stringerEdges
A tuple of tuples specifying a stringer name and the sequence of edges associated with this stringer. Valid only for geometric regions on 3D and 2D parts.
Return value
A Region object.
Exceptions
None.