EdgeSet#

class ansys.acp.core.EdgeSet(*, name='EdgeSet', edge_set_type=EdgeSetType.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, default: 'EdgeSet') – Name of the edge set.

  • edge_set_type (EdgeSetType, default: <EdgeSetType.BY_REFERENCE: 'by_reference'>) –

    Determines how the edge set is defined. Can be one of:

  • defining_node_labels (Collection[int], default: ()) – Labels of the nodes in the edge set. This parameter only applies when edge_set_type is EdgeSetType.BY_NODES.

  • element_set (ElementSet | None, default: None) – The boundary of this element set defines the initial edge set. This parameter only applies when edge_set_type is EdgeSetType.BY_REFERENCE.

  • limit_angle (float, default: -1.0) – 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 when edge_set_type is EdgeSetType.BY_REFERENCE.

  • origin (tuple[float, float, float], default: (0.0, 0.0, 0.0)) – Defines the starting point of the edge set. This parameter only applies when edge_set_type is EdgeSetType.BY_REFERENCE.

Methods

EdgeSet.clone(*[, unlink])

Create a new unstored object with the same properties.

EdgeSet.delete()

Delete the object.

EdgeSet.store(parent)

Store the object on the server.

Attributes

EdgeSet.defining_node_labels

EdgeSet.edge_set_type

EdgeSet.element_set

EdgeSet.id

Identifier of the object, used for example as key in maps.

EdgeSet.limit_angle

EdgeSet.locked

EdgeSet.name

The name of the object.

EdgeSet.origin

EdgeSet.status