Accessimport regionToolset 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]) PathRegion Required argumentsNone. Optional arguments
Return valueA Region object. ExceptionsNone. Region(...)
This command creates a surface-like region. For example, myRegion = regionToolset.Region(side1Faces=f[12:14]) The arguments are the same as the arguments to the Surface method, except for the name argument. PathRegion Required argumentsNone. Optional argumentsIn most cases, you will provide only one argument of sequences.
Return valueA Region object. ExceptionsNone. MembersThe Region object has no members. |