EdgeSet#
- class ansys.acp.core.EdgeSet(*, name='EdgeSet', edge_set_type='by_reference', defining_node_labels=(), element_set=None, limit_angle=-1.0, origin=(0.0, 0.0, 0.0))#
Instantiate an edge set.
- Parameters:
name (str) – Name of the edge set.
edge_set_type (EdgeSetType) –
Determines how the edge set is defined. Can be one of:
EdgeSetType.BY_REFERENCE
: define the edge set using anElementSet
.EdgeSetType.BY_NODES
: define the edge set using a list of node labels.
defining_node_labels (Collection[int]) – Labels of the nodes in the edge set. This parameter only applies when
edge_set_type
isEdgeSetType.BY_NODES
.element_set (ElementSet | None) – The boundary of this element set defines the initial edge set. This parameter only applies when
edge_set_type
isEdgeSetType.BY_REFERENCE
.limit_angle (float) – The edge set is cropped if the angle between two element edges exceeds this limits (in degrees). Use
-1.
to disable cropping. This parameter only applies whenedge_set_type
isEdgeSetType.BY_REFERENCE
.origin (tuple[float, float, float]) – Defines the starting point of the edge set. This parameter only applies when
edge_set_type
isEdgeSetType.BY_REFERENCE
.
Added in ACP server version 24.2.
Methods
EdgeSet.clone
(*[, unlink])Create a new unstored object with the same properties.
Delete the object.
EdgeSet.store
(parent)Store the object on the server.
Attributes
Identifier of the object, used for example as key in maps.
The name of the object.
The parent of the object.
Examples using EdgeSet#
Advanced selection rules example