OOF2: The Manual

Name

OOF.NodeSelection.Expand_Node_Selection — Expand node selection by either neighboring elements or segments.

Synopsis

OOF.NodeSelection.Expand_Node_Selection(skeleton,criterion,ignorePBC)

Details

  • Parent Menu: OOF.NodeSelection
  • Callback: function modify in module ooflib.engine.skeletonselectionmod
  • Parameters:

    skeleton
    Type: The path to an existing Skeleton object.
    criterion
    How to select new nodes. Type: An object of the ExpandCriterion class.
    ignorePBC
    Ignore periodicity? Type: Boolean, 0 (false) or 1 (true).

Description

ExpandNodeSelection selects nodes by selecting the neighbors of the currently selected Nodes. The criterion parameter determines exactly which other Nodes are considered to be neighbors. For illustrations, see the reference pages for the subclasses of ExpandCriterion.

Expanding the Node selection is useful when applying Skeleton modifier to a portion of a Skeleton. For example, to improve the resolution of a boundary in a Microstructure, it's convenient to Anneal the Nodes that are close to the boundary. To do this, select the Nodes on the boundary, expand the selection, and then Anneal the selected Nodes.