Skip to content

BRep3DBuilder

Canonical path: NemAll_Python_Geometry.BRep3DBuilder

Builder for BRep3D

AddEdge overloaded

AddEdge(edgeIdx: int, edgeSense: bool, loopIdx: int) -> bool

Add edge to loop

Parameters:

  • edgeIdx (int) –

    Index of already added edge

  • edgeSense (bool) –

    Sense of edge

  • loopIdx (int) –

    Index of loop to which edge will be added

AddEdge(
    curve: object,
    curveSense: bool,
    edgeSense: bool,
    loopIdx: int,
    precision: float,
) -> int

Add edge to loop

Parameters:

  • curve (object) –

    Geometry of curve

  • curveSense (bool) –

    Sense of curve

  • edgeSense (bool) –

    Sense of edge

  • loopIdx (int) –

    Index of loop to which edge will be added

  • precision (float) –

    Precision of edge

Returns:

  • int

    Index of edge

AddFace

AddFace(surface: object, sense: bool) -> int

Add face

Parameters:

  • surface (object) –

    Geometry of surface

  • sense (bool) –

    Sense of surface

Returns:

  • int

    Index of face

AddLoop

AddLoop(faceIdx: int) -> int

Add loop

Parameters:

  • faceIdx (int) –

    Index of face to which loop will be added

Returns:

  • int

    Index of face

AddVertex overloaded

AddVertex(point: Point3D, edgeIdx: int, precision: float) -> int

Add vertex to edge

Parameters:

  • point (Point3D) –

    Geometry point

  • edgeIdx (int) –

    Index of edge to which vertex will be added

  • precision (float) –

    Vertex precision

Returns:

  • int

    Index of vertex

AddVertex(vertexIdx: int, edgeIdx: int) -> bool

Add vertex to edge

Parameters:

  • vertexIdx (int) –

    Index of already added vertex

  • edgeIdx (int) –

    Index of edge to which vertex will be added

CheckLoop

CheckLoop(loopIdx: int) -> bool

Check whether loop topology is correct

Parameters:

  • loopIdx (int) –

    Index of loop to check

Returns:

  • bool

    Flag whether loop is topologically correct

Complete

Complete() -> BRep3D

Complete topology and create BRep

Returns:

Init

Init(isSolid: bool)

Add body, region and shell

Parameters:

  • isSolid (bool) –

    Flag whether body is solid

__init__ overloaded

__init__()

Initialize

__init__(element: BRep3DBuilder)

Copy constructor

Parameters:

Placeholder