OCC.Core.LocOpe module

LocOpe module, see official documentation at https://www.opencascade.com/doc/occt-7.4.0/refman/html/package_locope.html

class LocOpe_BuildShape(*args)

Bases: object

Return type

None* Builds shape(s) from the list <L>. Uses only the faces of <L>. :param L: :type L: TopTools_ListOfShape :rtype: None

Perform()
  • Builds shape(s) from the list <L>. Uses only the faces of <L>.
    param L

    type L

    TopTools_ListOfShape

    rtype

    None

Shape()
Return type

TopoDS_Shape

property thisown

The membership flag

class LocOpe_BuildWires(*args)

Bases: object

Return type

None:param Ledges: :type Ledges: TopTools_ListOfShape :param PW: :type PW: LocOpe_WiresOnShape :rtype: None

IsDone()
Return type

bool

Perform()
Parameters

Ledges

type Ledges

TopTools_ListOfShape

param PW

type PW

LocOpe_WiresOnShape

rtype

None

Result()
Return type

TopTools_ListOfShape

property thisown

The membership flag

class LocOpe_CSIntersector(*args)

Bases: object

  • Empty constructor.
    rtype

    None* Creates and performs the intersection betwwen <Ax1> and <S>.

    param S

    type S

    TopoDS_Shape

    rtype

    None

Destroy()
Return type

None

Init()
  • Performs the intersection between <Ax1 and <S>.
    param S

    type S

    TopoDS_Shape

    rtype

    None

IsDone()
  • Returns <Standard_True> if the intersection has been done.
    rtype

    bool

LocalizeAfter()
  • On the element of range <I>, searches the first intersection point located after the parameter <From>, wich orientation is not TopAbs_EXTERNAL. If found, returns <Standard_True>. <Or> contains the orientation of the point, <IndFrom> and <IndTo> represents the interval of index in the sequence of intersection point corresponding to the point. (IndFrom <= IndTo). <Tol> is used to determine if 2 parameters are equal. //! Otherwise, returns <Standard_False>.
    param I

    type I

    int

    param From

    type From

    float

    param Tol

    type Tol

    float

    param Or

    type Or

    TopAbs_Orientation

    param IndFrom

    type IndFrom

    int

    param IndTo

    type IndTo

    int

    rtype

    bool* On the element of range <I>, searches the first intersection point located after the index <FromInd> ( >= FromInd + 1), wich orientation is not TopAbs_EXTERNAL. If found, returns <Standard_True>. <Or> contains the orientation of the point, <IndFrom> and <IndTo> represents the interval of index in the sequence of intersection point corresponding to the point. (IndFrom <= IndTo). <Tol> is used to determine if 2 parameters are equal. //! Otherwise, returns <Standard_False>.

    param I

    type I

    int

    param FromInd

    type FromInd

    int

    param Tol

    type Tol

    float

    param Or

    type Or

    TopAbs_Orientation

    param IndFrom

    type IndFrom

    int

    param IndTo

    type IndTo

    int

    rtype

    bool

LocalizeBefore()
  • On the element of range <I>, searches the first intersection point located before the parameter <From>, wich orientation is not TopAbs_EXTERNAL. If found, returns <Standard_True>. <Or> contains the orientation of the point, <IndFrom> and <IndTo> represents the interval of index in the sequence of intersection point corresponding to the point (IndFrom <= IndTo). <Tol> is used to determine if 2 parameters are equal. //! Otherwise, returns <Standard_False>.
    param I

    type I

    int

    param From

    type From

    float

    param Tol

    type Tol

    float

    param Or

    type Or

    TopAbs_Orientation

    param IndFrom

    type IndFrom

    int

    param IndTo

    type IndTo

    int

    rtype

    bool* On the element of range <I>, searches the first intersection point located before the index <FromInd> ( <= FromInd -1), wich orientation is not TopAbs_EXTERNAL. If found, returns <Standard_True>. <Or> contains the orientation of the point, <IndFrom> and <IndTo> represents the interval of index in the sequence of intersection point corresponding to the point (IndFrom <= IndTo). <Tol> is used to determine if 2 parameters are equal. //! Otherwise, returns <Standard_False>.

    param I

    type I

    int

    param FromInd

    type FromInd

    int

    param Tol

    type Tol

    float

    param Or

    type Or

    TopAbs_Orientation

    param IndFrom

    type IndFrom

    int

    param IndTo

    type IndTo

    int

    rtype

    bool

NbPoints()
  • Returns the number of intersection point on the element of range <I>.
    param I

    type I

    int

    rtype

    int

Perform()
Parameters

Slin

type Slin

LocOpe_SequenceOfLin

rtype

None:param Scir:

type Scir

LocOpe_SequenceOfCirc

rtype

None:param Scur:

type Scur

TColGeom_SequenceOfCurve

rtype

None

Point()
  • Returns the intersection point of range <Index> on element of range <I>. The points are sorted in increasing order of parameter along the axis.
    param I

    type I

    int

    param Index

    type Index

    int

    rtype

    LocOpe_PntFace

property thisown

The membership flag

class LocOpe_CurveShapeIntersector(*args)

Bases: object

  • Empty constructor.
    rtype

    None* Creates and performs the intersection betwwen <Ax1> and <S>.

    param Axis

    type Axis

    gp_Ax1

    param S

    type S

    TopoDS_Shape

    rtype

    None* Creates and performs yte intersection betwwen <C> and <S>.

    param C

    type C

    gp_Circ

    param S

    type S

    TopoDS_Shape

    rtype

    None

Init()
  • Performs the intersection between <Ax1 and <S>.
    param Axis

    type Axis

    gp_Ax1

    param S

    type S

    TopoDS_Shape

    rtype

    None* Performs the intersection between <Ax1 and <S>.

    param C

    type C

    gp_Circ

    param S

    type S

    TopoDS_Shape

    rtype

    None

IsDone()
  • Returns <Standard_True> if the intersection has been done.
    rtype

    bool

LocalizeAfter()
  • Searches the first intersection point located after the parameter <From>, wich orientation is not TopAbs_EXTERNAL. If found, returns <Standard_True>. <Or> contains the orientation of the point, <IndFrom> and <IndTo> represents the interval of index in the sequence of intersection point corresponding to the point. (IndFrom <= IndTo). //! Otherwise, returns <Standard_False>.
    param From

    type From

    float

    param Or

    type Or

    TopAbs_Orientation

    param IndFrom

    type IndFrom

    int

    param IndTo

    type IndTo

    int

    rtype

    bool* Searches the first intersection point located after the index <FromInd> ( >= FromInd + 1), wich orientation is not TopAbs_EXTERNAL. If found, returns <Standard_True>. <Or> contains the orientation of the point, <IndFrom> and <IndTo> represents the interval of index in the sequence of intersection point corresponding to the point. (IndFrom <= IndTo). //! Otherwise, returns <Standard_False>.

    param FromInd

    type FromInd

    int

    param Or

    type Or

    TopAbs_Orientation

    param IndFrom

    type IndFrom

    int

    param IndTo

    type IndTo

    int

    rtype

    bool

LocalizeBefore()
  • Searches the first intersection point located before the parameter <From>, wich orientation is not TopAbs_EXTERNAL. If found, returns <Standard_True>. <Or> contains the orientation of the point, <IndFrom> and <IndTo> represents the interval of index in the sequence of intersection point corresponding to the point (IndFrom <= IndTo). //! Otherwise, returns <Standard_False>.
    param From

    type From

    float

    param Or

    type Or

    TopAbs_Orientation

    param IndFrom

    type IndFrom

    int

    param IndTo

    type IndTo

    int

    rtype

    bool* Searches the first intersection point located before the index <FromInd> ( <= FromInd -1), wich orientation is not TopAbs_EXTERNAL. If found, returns <Standard_True>. <Or> contains the orientation of the point, <IndFrom> and <IndTo> represents the interval of index in the sequence of intersection point corresponding to the point (IndFrom <= IndTo). //! Otherwise, returns <Standard_False>.

    param FromInd

    type FromInd

    int

    param Or

    type Or

    TopAbs_Orientation

    param IndFrom

    type IndFrom

    int

    param IndTo

    type IndTo

    int

    rtype

    bool

NbPoints()
  • Returns the number of intersection point.
    rtype

    int

Point()
  • Returns the intersection point of range <Index>. The points are sorted in increasing order of parameter along the axis.
    param Index

    type Index

    int

    rtype

    LocOpe_PntFace

property thisown

The membership flag

class LocOpe_DPrism(*args)

Bases: object

Parameters

Spine

type Spine

TopoDS_Face

param Height1

type Height1

float

param Height2

type Height2

float

param Angle

type Angle

float

rtype

None:param Spine:

type Spine

TopoDS_Face

param Height

type Height

float

param Angle

type Angle

float

rtype

None

BarycCurve()
Return type

opencascade::handle<Geom_Curve>

Curves()
Parameters

SCurves

type SCurves

TColGeom_SequenceOfCurve

rtype

None

FirstShape()
Return type

TopoDS_Shape

IsDone()
Return type

bool

LastShape()
Return type

TopoDS_Shape

Profile()
Return type

TopoDS_Shape

Shape()
Return type

TopoDS_Shape

Shapes()
Parameters

S

type S

TopoDS_Shape

rtype

TopTools_ListOfShape

Spine()
Return type

TopoDS_Shape

property thisown

The membership flag

class LocOpe_DataMapOfShapePnt(*args)

Bases: object

Assign()
Bind()
Bound()
ChangeFind()
ChangeSeek()
Clear()
Exchange()
Find()
IsBound()
ReSize()
Seek()
Set()
Size()
UnBind()
begin()
cbegin()
cend()
end()
property thisown

The membership flag

class LocOpe_FindEdges(*args)

Bases: object

Return type

None:param FFrom: :type FFrom: TopoDS_Shape :param FTo: :type FTo: TopoDS_Shape :rtype: None

EdgeFrom()
Return type

TopoDS_Edge

EdgeTo()
Return type

TopoDS_Edge

InitIterator()
Return type

None

More()
Return type

bool

Next()
Return type

None

Set()
Parameters

FFrom

type FFrom

TopoDS_Shape

param FTo

type FTo

TopoDS_Shape

rtype

None

property thisown

The membership flag

class LocOpe_FindEdgesInFace(*args)

Bases: object

Return type

None:param S: :type S: TopoDS_Shape :param F: :type F: TopoDS_Face :rtype: None

Edge()
Return type

TopoDS_Edge

Init()
Return type

None

More()
Return type

bool

Next()
Return type

None

Set()
Parameters

S

type S

TopoDS_Shape

param F

type F

TopoDS_Face

rtype

None

property thisown

The membership flag

class LocOpe_GeneratedShape(*args, **kwargs)

Bases: OCC.Core.Standard.Standard_Transient

  • Empty constructor

Return type

None* Copy constructor – does nothing

Parameters

& (Standard_Transient) –

Return type

None

static DownCast(t)
Generated()
  • Returns the edge created by the vertex <V>. If none, must return a null shape.
    param V

    type V

    TopoDS_Vertex

    rtype

    TopoDS_Edge* Returns the face created by the edge <E>. If none, must return a null shape.

    param E

    type E

    TopoDS_Edge

    rtype

    TopoDS_Face

GeneratingEdges()
Return type

TopTools_ListOfShape

OrientedFaces()
  • Returns the list of correctly oriented generated faces.
    rtype

    TopTools_ListOfShape

property thisown

The membership flag

class LocOpe_Generator(*args)

Bases: object

  • Empty constructor.
    rtype

    None* Creates the algorithm on the shape <S>.

    param S

    type S

    TopoDS_Shape

    rtype

    None

DescendantFace()
  • Returns the descendant face of <F>. <F> may belong to the original shape or to the ‘generated’ shape. The returned face may be a null shape (when <F> disappears).
    param F

    type F

    TopoDS_Face

    rtype

    TopTools_ListOfShape

Init()
  • Initializes the algorithm on the shape <S>.
    param S

    type S

    TopoDS_Shape

    rtype

    None

IsDone()
Return type

bool

Perform()
Parameters

G

type G

LocOpe_GeneratedShape

rtype

None

ResultingShape()
  • Returns the new shape
    rtype

    TopoDS_Shape

Shape()
  • Returns the initial shape
    rtype

    TopoDS_Shape

property thisown

The membership flag

class LocOpe_GluedShape(*args)

Bases: OCC.Core.LocOpe.LocOpe_GeneratedShape

Return type

None:param S: :type S: TopoDS_Shape :rtype: None

static DownCast(t)
Generated()
  • Returns the edge created by the vertex <V>. If none, must return a null shape.
    param V

    type V

    TopoDS_Vertex

    rtype

    TopoDS_Edge* Returns the face created by the edge <E>. If none, must return a null shape.

    param E

    type E

    TopoDS_Edge

    rtype

    TopoDS_Face

GlueOnFace()
Parameters

F

type F

TopoDS_Face

rtype

None

Init()
Parameters

S

type S

TopoDS_Shape

rtype

None

property thisown

The membership flag

class LocOpe_Gluer(*args)

Bases: object

Return type

None:param Sbase: :type Sbase: TopoDS_Shape :param Snew: :type Snew: TopoDS_Shape :rtype: None

BasisShape()
Return type

TopoDS_Shape

Bind()
Parameters

Fnew

type Fnew

TopoDS_Face

param Fbase

type Fbase

TopoDS_Face

rtype

None:param Enew:

type Enew

TopoDS_Edge

param Ebase

type Ebase

TopoDS_Edge

rtype

None

DescendantFaces()
Parameters

F

type F

TopoDS_Face

rtype

TopTools_ListOfShape

Edges()
Return type

TopTools_ListOfShape

GluedShape()
Return type

TopoDS_Shape

Init()
Parameters

Sbase

type Sbase

TopoDS_Shape

param Snew

type Snew

TopoDS_Shape

rtype

None

IsDone()
Return type

bool

OpeType()
Return type

LocOpe_Operation

Perform()
Return type

None

ResultingShape()
Return type

TopoDS_Shape

TgtEdges()
Return type

TopTools_ListOfShape

property thisown

The membership flag

class LocOpe_LinearForm(*args)

Bases: object

Return type

None:param Base: :type Base: TopoDS_Shape :param V: :type V: gp_Vec :param Pnt1: :type Pnt1: gp_Pnt :param Pnt2: :type Pnt2: gp_Pnt :rtype: None:param Base: :type Base: TopoDS_Shape :param V: :type V: gp_Vec :param Vectra: :type Vectra: gp_Vec :param Pnt1: :type Pnt1: gp_Pnt :param Pnt2: :type Pnt2: gp_Pnt :rtype: None

FirstShape()
Return type

TopoDS_Shape

LastShape()
Return type

TopoDS_Shape

Perform()
Parameters

Base

type Base

TopoDS_Shape

param V

type V

gp_Vec

param Pnt1

type Pnt1

gp_Pnt

param Pnt2

type Pnt2

gp_Pnt

rtype

None:param Base:

type Base

TopoDS_Shape

param V

type V

gp_Vec

param Vectra

type Vectra

gp_Vec

param Pnt1

type Pnt1

gp_Pnt

param Pnt2

type Pnt2

gp_Pnt

rtype

None

Shape()
Return type

TopoDS_Shape

Shapes()
Parameters

S

type S

TopoDS_Shape

rtype

TopTools_ListOfShape

property thisown

The membership flag

class LocOpe_Pipe(*args)

Bases: object

Parameters

Spine

type Spine

TopoDS_Wire

param Profile

type Profile

TopoDS_Shape

rtype

None

BarycCurve()
Return type

opencascade::handle<Geom_Curve>

Curves()
Parameters

Spt

type Spt

TColgp_SequenceOfPnt

rtype

TColGeom_SequenceOfCurve

FirstShape()
Return type

TopoDS_Shape

LastShape()
Return type

TopoDS_Shape

Profile()
Return type

TopoDS_Shape

Shape()
Return type

TopoDS_Shape

Shapes()
Parameters

S

type S

TopoDS_Shape

rtype

TopTools_ListOfShape

Spine()
Return type

TopoDS_Shape

property thisown

The membership flag

class LocOpe_PntFace(*args)

Bases: object

  • Empty constructor. Useful only for the list.
    rtype

    None:param P:

    type P

    gp_Pnt

    param F

    type F

    TopoDS_Face

    param Or

    type Or

    TopAbs_Orientation

    param Param

    type Param

    float

    param UPar

    type UPar

    float

    param VPar

    type VPar

    float

    rtype

    None

ChangeOrientation()
Return type

TopAbs_Orientation

Face()
Return type

TopoDS_Face

Orientation()
Return type

TopAbs_Orientation

Parameter()
Return type

float

Pnt()
Return type

gp_Pnt

UParameter()
Return type

float

VParameter()
Return type

float

property thisown

The membership flag

class LocOpe_Prism(*args)

Bases: object

Return type

None:param Base: :type Base: TopoDS_Shape :param V: :type V: gp_Vec :rtype: None:param Base: :type Base: TopoDS_Shape :param V: :type V: gp_Vec :param Vectra: :type Vectra: gp_Vec :rtype: None

BarycCurve()
Return type

opencascade::handle<Geom_Curve>

Curves()
Parameters

SCurves

type SCurves

TColGeom_SequenceOfCurve

rtype

None

FirstShape()
Return type

TopoDS_Shape

LastShape()
Return type

TopoDS_Shape

Perform()
Parameters

Base

type Base

TopoDS_Shape

param V

type V

gp_Vec

rtype

None:param Base:

type Base

TopoDS_Shape

param V

type V

gp_Vec

param Vtra

type Vtra

gp_Vec

rtype

None

Shape()
Return type

TopoDS_Shape

Shapes()
Parameters

S

type S

TopoDS_Shape

rtype

TopTools_ListOfShape

property thisown

The membership flag

class LocOpe_SequenceOfCirc(*args)

Bases: object

Append()
Assign()
ChangeFirst()
ChangeLast()
ChangeValue()
Clear()
Exchange()
First()
InsertAfter()
InsertBefore()
IsEmpty()
Last()
Length()
Lower()
Prepend()
Remove()
Reverse()
Set()
SetValue()
Size()
Split()
Upper()
Value()
begin()
cbegin()
cend()
static delNode()
end()
property thisown

The membership flag

class LocOpe_SequenceOfLin(*args)

Bases: object

Append()
Assign()
ChangeFirst()
ChangeLast()
ChangeValue()
Clear()
Exchange()
First()
InsertAfter()
InsertBefore()
IsEmpty()
Last()
Length()
Lower()
Prepend()
Remove()
Reverse()
Set()
SetValue()
Size()
Split()
Upper()
Value()
begin()
cbegin()
cend()
static delNode()
end()
property thisown

The membership flag

class LocOpe_SequenceOfPntFace(*args)

Bases: object

Append()
Assign()
ChangeFirst()
ChangeLast()
ChangeValue()
Clear()
Exchange()
First()
InsertAfter()
InsertBefore()
IsEmpty()
Last()
Length()
Lower()
Prepend()
Remove()
Reverse()
Set()
SetValue()
Size()
Split()
Upper()
Value()
begin()
cbegin()
cend()
static delNode()
end()
property thisown

The membership flag

class LocOpe_SplitDrafts(*args)

Bases: object

  • Empty constructor.
    rtype

    None* Creates the algoritm on the shape <S>.

    param S

    type S

    TopoDS_Shape

    rtype

    None

Init()
  • Initializes the algoritm with the shape <S>.
    param S

    type S

    TopoDS_Shape

    rtype

    None

IsDone()
  • Returns <Standard_True> if the modification has been succesfully performed.
    rtype

    bool

OriginalShape()
Return type

TopoDS_Shape

Perform()
  • Splits the face <F> of the former given shape with the wire <W>. The wire is assumed to lie on the face. Puts a draft angle on both parts of the wire. <Extractg>, <Nplg>, <Angleg> define the arguments for the left part of the wire. <Extractd>, <Npld>, <Angled> define the arguments for the right part of the wire. The draft angle is measured with the direction <Extract>. <Npl> defines the neutral plane (points belonging to the neutral plane are not modified). <Angle> is the value of the draft angle. If <ModifyLeft> is set to <Standard_False>, no draft angle is applied to the left part of the wire. If <ModifyRight> is set to <Standard_False>,no draft angle is applied to the right part of the wire.
    param F

    type F

    TopoDS_Face

    param W

    type W

    TopoDS_Wire

    param Extractg

    type Extractg

    gp_Dir

    param NPlg

    type NPlg

    gp_Pln

    param Angleg

    type Angleg

    float

    param Extractd

    type Extractd

    gp_Dir

    param NPld

    type NPld

    gp_Pln

    param Angled

    type Angled

    float

    param ModifyLeft

    default value is Standard_True

    type ModifyLeft

    bool

    param ModifyRight

    default value is Standard_True

    type ModifyRight

    bool

    rtype

    None* Splits the face <F> of the former given shape with the wire <W>. The wire is assumed to lie on the face. Puts a draft angle on the left part of the wire. The draft angle is measured with the direction <Extract>. <Npl> defines the neutral plane (points belonging to the neutral plane are not modified). <Angle> is the value of the draft angle.

    param F

    type F

    TopoDS_Face

    param W

    type W

    TopoDS_Wire

    param Extract

    type Extract

    gp_Dir

    param NPl

    type NPl

    gp_Pln

    param Angle

    type Angle

    float

    rtype

    None

Shape()
  • Returns the modified shape.
    rtype

    TopoDS_Shape

ShapesFromShape()
  • Manages the descendant shapes.
    param S

    type S

    TopoDS_Shape

    rtype

    TopTools_ListOfShape

property thisown

The membership flag

class LocOpe_SplitShape(*args)

Bases: object

  • Empty constructor.
    rtype

    None* Creates the process with the shape <S>.

    param S

    type S

    TopoDS_Shape

    rtype

    None

Add()
  • Adds the vertex <V> on the edge <E>, at parameter <P>.
    param V

    type V

    TopoDS_Vertex

    param P

    type P

    float

    param E

    type E

    TopoDS_Edge

    rtype

    None* Adds the wire <W> on the face <F>.

    param W

    type W

    TopoDS_Wire

    param F

    type F

    TopoDS_Face

    rtype

    bool* Adds the list of wires <Lwires> on the face <F>.

    param Lwires

    type Lwires

    TopTools_ListOfShape

    param F

    type F

    TopoDS_Face

    rtype

    bool

CanSplit()
  • Tests if it is possible to split the edge <E>.
    param E

    type E

    TopoDS_Edge

    rtype

    bool

DescendantShapes()
  • Returns the list of descendant shapes of <S>.
    param S

    type S

    TopoDS_Shape

    rtype

    TopTools_ListOfShape

Init()
  • Initializes the process on the shape <S>.
    param S

    type S

    TopoDS_Shape

    rtype

    None

LeftOf()
  • Returns the ‘left’ part defined by the wire <W> on the face <F>. The returned list of shape is in fact a list of faces. The face <F> is considered with its topological orientation in the original shape. <W> is considered with its orientation.
    param W

    type W

    TopoDS_Wire

    param F

    type F

    TopoDS_Face

    rtype

    TopTools_ListOfShape

Shape()
  • Returns the ‘original’ shape.
    rtype

    TopoDS_Shape

property thisown

The membership flag

class LocOpe_Spliter(*args)

Bases: object

  • Empty constructor.
    rtype

    None* Creates the algorithm on the shape <S>.

    param S

    type S

    TopoDS_Shape

    rtype

    None

DescendantShapes()
  • Returns the list of descendant shapes of <S>.
    param S

    type S

    TopoDS_Shape

    rtype

    TopTools_ListOfShape

DirectLeft()
  • Returns the faces which are the left of the projected wires and which are
    rtype

    TopTools_ListOfShape

Init()
  • Initializes the algorithm on the shape <S>.
    param S

    type S

    TopoDS_Shape

    rtype

    None

IsDone()
Return type

bool

Left()
  • Returns the faces of the ‘left’ part on the shape. (It is build from DirectLeft, with the faces connected to this set, and so on…).
    rtype

    TopTools_ListOfShape

Perform()
Parameters

PW

type PW

LocOpe_WiresOnShape

rtype

None

ResultingShape()
  • Returns the new shape
    rtype

    TopoDS_Shape

Shape()
  • Returns the initial shape
    rtype

    TopoDS_Shape

property thisown

The membership flag

class LocOpe_WiresOnShape(*args)

Bases: OCC.Core.Standard.Standard_Transient

Parameters

S

type S

TopoDS_Shape

rtype

None

Add()
  • Add splitting edges or wires for whole initial shape withot additional specification edge->face, edge->edge This method puts edge on the corresponding faces from initial shape
    param theEdges

    type theEdges

    TopTools_SequenceOfShape

    rtype

    bool

Bind()
Parameters

W

type W

TopoDS_Wire

param F

type F

TopoDS_Face

rtype

None:param Comp:

type Comp

TopoDS_Compound

param F

type F

TopoDS_Face

rtype

None:param E:

type E

TopoDS_Edge

param F

type F

TopoDS_Face

rtype

None:param EfromW:

type EfromW

TopoDS_Edge

param EonFace

type EonFace

TopoDS_Edge

rtype

None

BindAll()
Return type

None

static DownCast(t)
Edge()
Return type

TopoDS_Edge

Init()
Parameters

S

type S

TopoDS_Shape

rtype

None

InitEdgeIterator()
Return type

None

IsDone()
Return type

bool

IsFaceWithSection()
  • tells is the face to be split by section or not
    param aFace

    type aFace

    TopoDS_Shape

    rtype

    bool

MoreEdge()
Return type

bool

NextEdge()
Return type

None

OnEdge()
  • If the current edge is projected on an edge, returns <Standard_True> and sets the value of <E>. Otherwise, returns <Standard_False>.
    param E

    type E

    TopoDS_Edge

    rtype

    bool* If the vertex <V> lies on an edge of the original shape, returns <Standard_True> and sets the concerned edge in <E>, and the parameter on the edge in <P>. Else returns <Standard_False>.

    param V

    type V

    TopoDS_Vertex

    param E

    type E

    TopoDS_Edge

    param P

    type P

    float

    rtype

    bool* If the vertex <V> lies on an edge of the original shape, returns <Standard_True> and sets the concerned edge in <E>, and the parameter on the edge in <P>. Else returns <Standard_False>.

    param V

    type V

    TopoDS_Vertex

    param EdgeFrom

    type EdgeFrom

    TopoDS_Edge

    param E

    type E

    TopoDS_Edge

    param P

    type P

    float

    rtype

    bool

OnFace()
  • Returns the face of the shape on which the current edge is projected.
    rtype

    TopoDS_Face

OnVertex()
Parameters

Vwire

type Vwire

TopoDS_Vertex

param Vshape

type Vshape

TopoDS_Vertex

rtype

bool

SetCheckInterior()
  • Set the flag of check internal intersections default value is True (to check)
    param ToCheckInterior

    type ToCheckInterior

    bool

    rtype

    None

property thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

advance()
copy()
decr()
distance()
equal()
incr()
next()
previous()
property thisown

The membership flag

value()
class locope

Bases: object

static Closed()
  • Returns Standard_True when the wire <W> is closed on the face <OnF>.
    param W

    type W

    TopoDS_Wire

    param OnF

    type OnF

    TopoDS_Face

    rtype

    bool* Returns Standard_True when the edge <E> is closed on the face <OnF>.

    param E

    type E

    TopoDS_Edge

    param OnF

    type OnF

    TopoDS_Face

    rtype

    bool

static SampleEdges()
Parameters

S

type S

TopoDS_Shape

param Pt

type Pt

TColgp_SequenceOfPnt

rtype

void

static TgtFaces()
  • Returns Standard_True when the faces are tangent
    param E

    type E

    TopoDS_Edge

    param F1

    type F1

    TopoDS_Face

    param F2

    type F2

    TopoDS_Face

    rtype

    bool

property thisown

The membership flag