Provides access to all the Loops in a Brep object.

Constructors

Properties

Methods

Constructors

Properties

count: number

Gets the number of brep loops.

Methods

  • Create a new empty boundary loop. The new loop will not be part of a face and will not include any trim curves.

    Parameters

    Returns BrepLoop

  • Create a new boundary loop on a face. After you get this BrepLoop, you still need to create the vertices, edges, and trims that define the loop.

    Parameters

    Returns BrepLoop

    New loop that needs to be filled in

  • Create a new outer boundary loop that runs along the sides of the face's surface. All the necessary trims, edges, and vertices are created and added to the brep.

    Parameters

    • faceIndex: number

      index of face that needs an outer boundary that runs along the sides of its surface.

    Returns BrepLoop

    New outer boundary loop that is complete.

  • Add a planar trimming loop to a planar face

    Parameters

    • faceIndex: number

      index of planar face. The underlying surface must be a PlaneSurface

    • loopType: BrepLoopType

      type of loop to add. If loopType is Unknown, then the loop direction is tested and the new loops type will be set to Outer or Inner. If the loopType is Outer, then the direction of the new loop is tested and flipped if it is clockwise. If the loopType is Inner, then the direction of the new loop is tested and flipped if it is counter-clockwise.

    • boundaryCurves: Curve[]

      list of 3d curves that form a simple (no self intersections) closed curve. These curves define the 3d edge geometry and should be near the planar surface.

    Returns BrepLoop

    new loop if successful

  • The item at index (Python: x[index]).

    Parameters

    • index: number

    Returns BrepLoop