OOF2: The Manual

Name

OOF.SegmentSelection.Select_from_Selected_Elements — Select segments from selected elements.

Synopsis

OOF.SegmentSelection.Select_from_Selected_Elements(skeleton,internal,boundary)

Details

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

    skeleton
    Type: The path to an existing Skeleton object.
    internal
    Select internal segments. Type: Boolean, 0 (false) or 1 (true).
    boundary
    Select boundary segments. Type: Boolean, 0 (false) or 1 (true).

Description

OOF.SegmentSelection.Select_From_Selected_Elements provides three ways of selecting Segments based on a pre-existing Element selection. The two parameters internal and boundary control which Segments will be selected. If internal is true, then the Segments that are shared by exactly two selected Elements will be selected. If boundary is true, then the Segments that are part of only one selected Element will be selected.

Figure 6.49. Selecting Segments from Selected Elements

Selecting Segments from Selected Elements

A Skeleton containing some selected Elements, in pink.

Selecting Segments from Selected Elements

Segments (in green) selected with internal=0 and boundary=1.

Selecting Segments from Selected Elements

Segments (in green) selected with internal=1 and boundary=0.

Selecting Segments from Selected Elements

Segments (in green) selected with both internal=1 and boundary=1.