OCC.BRepFill module

class BRepFill_ACRLaw(*args)

Bases: OCC.BRepFill.BRepFill_LocationLaw

Parameters:
  • Path (TopoDS_Wire &) –
  • Law (Handle_GeomFill_LocationGuide &) –
Return type:

None

GetHandle()
thisown

The membership flag

class BRepFill_ApproxSeewing(*args)

Bases: object

Return type:None
Parameters:ML (BRepFill_MultiLine &) –
Return type:None
Curve()
  • returns the approximation of the 3d Curve
Return type:Handle_Geom_Curve
CurveOnF1()
  • returns the approximation of the PCurve on the first face of the MultiLine
Return type:Handle_Geom2d_Curve
CurveOnF2()
  • returns the approximation of the PCurve on the first face of the MultiLine
Return type:Handle_Geom2d_Curve
IsDone()
Return type:bool
Perform()
Parameters:ML (BRepFill_MultiLine &) –
Return type:None
thisown

The membership flag

class BRepFill_CompatibleWires(*args)

Bases: object

Return type:None
Parameters:Sections (TopTools_SequenceOfShape &) –
Return type:None
Generated()
Return type:TopTools_DataMapOfShapeListOfShape
GeneratedShapes()
  • Returns the shapes created from a subshape <SubSection> of a section.
Parameters:SubSection (TopoDS_Edge &) –
Return type:TopTools_ListOfShape
Init()
Parameters:Sections (TopTools_SequenceOfShape &) –
Return type:None
IsDone()
Return type:bool
Perform()
  • Performs CompatibleWires According to the orientation and the origin of each other
Parameters:WithRotation (bool) – default value is Standard_True
Return type:None
SetPercent()
Parameters:percent (float) – default value is 0.01
Return type:None
Shape()
  • returns the generated sequence.
Return type:TopTools_SequenceOfShape
thisown

The membership flag

class BRepFill_ComputeCLine(*args)

Bases: object

Parameters:
  • Line (BRepFill_MultiLine &) –
  • degreemin (int) – default value is 3
  • degreemax (int) – default value is 8
  • Tolerance3d (float) – default value is 1.0e-5
  • Tolerance2d (float) – default value is 1.0e-5
  • cutting (bool) – default value is Standard_False
  • FirstC (AppParCurves_Constraint) – default value is AppParCurves_TangencyPoint
  • LastC (AppParCurves_Constraint) – default value is AppParCurves_TangencyPoint
  • degreemin – default value is 3
  • degreemax – default value is 8
  • Tolerance3d – default value is 1.0e-05
  • Tolerance2d – default value is 1.0e-05
  • cutting – default value is Standard_False
  • FirstC – default value is AppParCurves_TangencyPoint
  • LastC – default value is AppParCurves_TangencyPoint
Return type:

None

Return type:

None

Error()
Parameters:
  • Index (int) –
  • tol3d (float &) –
  • tol2d (float &) –
Return type:

None

IsAllApproximated()
Return type:bool
IsToleranceReached()
Return type:bool
NbMultiCurves()
Return type:int
Parameters()
Parameters:
  • Index (int) –
  • firstp (float &) –
  • lastp (float &) –
Return type:

None

Perform()
Parameters:Line (BRepFill_MultiLine &) –
Return type:None
SetConstraints()
Parameters:
  • FirstC (AppParCurves_Constraint) –
  • LastC (AppParCurves_Constraint) –
Return type:

None

SetDegrees()
Parameters:
  • degreemin (int) –
  • degreemax (int) –
Return type:

None

SetTolerances()
Parameters:
Return type:

None

Value()
Parameters:Index (int) – default value is 1
Return type:AppParCurves_MultiCurve
thisown

The membership flag

class BRepFill_CurveConstraint(*args)

Bases: OCC.GeomPlate.GeomPlate_CurveConstraint

  • Create a constraint Order is the order of the constraint. The possible values for order are -1,0,1,2. Order i means constraints Gi Npt is the number of points associated with the constraint. TolDist is the maximum error to satisfy for G0 constraints TolAng is the maximum error to satisfy for G1 constraints TolCurv is the maximum error to satisfy for G2 constraints These errors can be replaced by laws of criterion.
Parameters:
  • Boundary (Handle_Adaptor3d_HCurve &) –
  • Order (int) –
  • NPt (int) – default value is 10
  • TolDist (float) – default value is 0.0001
  • TolAng (float) – default value is 0.01
  • TolCurv (float) – default value is 0.1
  • Boundary
  • Tang (int) –
  • NPt – default value is 10
  • TolDist – default value is 0.0001
Return type:

None

Return type:

None

GetHandle()
thisown

The membership flag

class BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (BRepFill_DataMapOfNodeDataMapOfShapeShape &) –
Return type:None
Initialize()
Parameters:aMap (BRepFill_DataMapOfNodeDataMapOfShapeShape &) –
Return type:None
Key()
Return type:Handle_MAT_Node
Value()
Return type:TopTools_DataMapOfShapeShape
thisown

The membership flag

class BRepFill_DataMapIteratorOfDataMapOfNodeShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (BRepFill_DataMapOfNodeShape &) –
Return type:None
Initialize()
Parameters:aMap (BRepFill_DataMapOfNodeShape &) –
Return type:None
Key()
Return type:Handle_MAT_Node
Value()
Return type:TopoDS_Shape
thisown

The membership flag

class BRepFill_DataMapIteratorOfDataMapOfOrientedShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (BRepFill_DataMapOfOrientedShapeListOfShape &) –
Return type:None
Initialize()
Parameters:aMap (BRepFill_DataMapOfOrientedShapeListOfShape &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:TopTools_ListOfShape
thisown

The membership flag

class BRepFill_DataMapIteratorOfDataMapOfShapeDataMapOfShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (BRepFill_DataMapOfShapeDataMapOfShapeListOfShape &) –
Return type:None
Initialize()
Parameters:aMap (BRepFill_DataMapOfShapeDataMapOfShapeListOfShape &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:TopTools_DataMapOfShapeListOfShape
thisown

The membership flag

class BRepFill_DataMapIteratorOfDataMapOfShapeHArray2OfShape(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (BRepFill_DataMapOfShapeHArray2OfShape &) –
Return type:None
Initialize()
Parameters:aMap (BRepFill_DataMapOfShapeHArray2OfShape &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:Handle_TopTools_HArray2OfShape
thisown

The membership flag

class BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfPnt(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (BRepFill_DataMapOfShapeSequenceOfPnt &) –
Return type:None
Initialize()
Parameters:aMap (BRepFill_DataMapOfShapeSequenceOfPnt &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:TColgp_SequenceOfPnt
thisown

The membership flag

class BRepFill_DataMapIteratorOfDataMapOfShapeSequenceOfReal(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (BRepFill_DataMapOfShapeSequenceOfReal &) –
Return type:None
Initialize()
Parameters:aMap (BRepFill_DataMapOfShapeSequenceOfReal &) –
Return type:None
Key()
Return type:TopoDS_Shape
Value()
Return type:TColStd_SequenceOfReal
thisown

The membership flag

class BRepFill_DataMapNodeOfDataMapOfNodeDataMapOfShapeShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (Handle_MAT_Node &) –
  • I (TopTools_DataMapOfShapeShape &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:Handle_MAT_Node
Value()
Return type:TopTools_DataMapOfShapeShape
thisown

The membership flag

class BRepFill_DataMapNodeOfDataMapOfNodeShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (Handle_MAT_Node &) –
  • I (TopoDS_Shape &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:Handle_MAT_Node
Value()
Return type:TopoDS_Shape
thisown

The membership flag

class BRepFill_DataMapNodeOfDataMapOfOrientedShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (TopoDS_Shape &) –
  • I (TopTools_ListOfShape &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:TopoDS_Shape
Value()
Return type:TopTools_ListOfShape
thisown

The membership flag

class BRepFill_DataMapNodeOfDataMapOfShapeDataMapOfShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (TopoDS_Shape &) –
  • I (TopTools_DataMapOfShapeListOfShape &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:TopoDS_Shape
Value()
Return type:TopTools_DataMapOfShapeListOfShape
thisown

The membership flag

class BRepFill_DataMapNodeOfDataMapOfShapeHArray2OfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (TopoDS_Shape &) –
  • I (Handle_TopTools_HArray2OfShape &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:TopoDS_Shape
Value()
Return type:Handle_TopTools_HArray2OfShape
thisown

The membership flag

class BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfPnt(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
Return type:

None

GetHandle()
Key()
Return type:TopoDS_Shape
Value()
Return type:TColgp_SequenceOfPnt
thisown

The membership flag

class BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfReal(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (TopoDS_Shape &) –
  • I (TColStd_SequenceOfReal &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Key()
Return type:TopoDS_Shape
Value()
Return type:TColStd_SequenceOfReal
thisown

The membership flag

class BRepFill_DataMapOfNodeDataMapOfShapeShape(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (BRepFill_DataMapOfNodeDataMapOfShapeShape &) –
Return type:BRepFill_DataMapOfNodeDataMapOfShapeShape
Bind()
Parameters:
  • K (Handle_MAT_Node &) –
  • I (TopTools_DataMapOfShapeShape &) –
Return type:

bool

ChangeFind()
Parameters:K (Handle_MAT_Node &) –
Return type:TopTools_DataMapOfShapeShape
ChangeFind1()
Parameters:K (Handle_MAT_Node &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (Handle_MAT_Node &) –
Return type:TopTools_DataMapOfShapeShape
Find1()
Parameters:K (Handle_MAT_Node &) –
Return type:Standard_Address
IsBound()
Parameters:K (Handle_MAT_Node &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (BRepFill_DataMapOfNodeDataMapOfShapeShape &) –
Return type:BRepFill_DataMapOfNodeDataMapOfShapeShape
UnBind()
Parameters:K (Handle_MAT_Node &) –
Return type:bool
thisown

The membership flag

class BRepFill_DataMapOfNodeShape(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (BRepFill_DataMapOfNodeShape &) –
Return type:BRepFill_DataMapOfNodeShape
Bind()
Parameters:
  • K (Handle_MAT_Node &) –
  • I (TopoDS_Shape &) –
Return type:

bool

ChangeFind()
Parameters:K (Handle_MAT_Node &) –
Return type:TopoDS_Shape
ChangeFind1()
Parameters:K (Handle_MAT_Node &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (Handle_MAT_Node &) –
Return type:TopoDS_Shape
Find1()
Parameters:K (Handle_MAT_Node &) –
Return type:Standard_Address
IsBound()
Parameters:K (Handle_MAT_Node &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (BRepFill_DataMapOfNodeShape &) –
Return type:BRepFill_DataMapOfNodeShape
UnBind()
Parameters:K (Handle_MAT_Node &) –
Return type:bool
thisown

The membership flag

class BRepFill_DataMapOfOrientedShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (BRepFill_DataMapOfOrientedShapeListOfShape &) –
Return type:BRepFill_DataMapOfOrientedShapeListOfShape
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (TopTools_ListOfShape &) –
Return type:

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:TopTools_ListOfShape
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:TopTools_ListOfShape
Find1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
IsBound()
Parameters:K (TopoDS_Shape &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (BRepFill_DataMapOfOrientedShapeListOfShape &) –
Return type:BRepFill_DataMapOfOrientedShapeListOfShape
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class BRepFill_DataMapOfShapeDataMapOfShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (BRepFill_DataMapOfShapeDataMapOfShapeListOfShape &) –
Return type:BRepFill_DataMapOfShapeDataMapOfShapeListOfShape
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (TopTools_DataMapOfShapeListOfShape &) –
Return type:

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:TopTools_DataMapOfShapeListOfShape
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:TopTools_DataMapOfShapeListOfShape
Find1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
IsBound()
Parameters:K (TopoDS_Shape &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (BRepFill_DataMapOfShapeDataMapOfShapeListOfShape &) –
Return type:BRepFill_DataMapOfShapeDataMapOfShapeListOfShape
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class BRepFill_DataMapOfShapeHArray2OfShape(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (BRepFill_DataMapOfShapeHArray2OfShape &) –
Return type:BRepFill_DataMapOfShapeHArray2OfShape
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (Handle_TopTools_HArray2OfShape &) –
Return type:

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:Handle_TopTools_HArray2OfShape
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:Handle_TopTools_HArray2OfShape
Find1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
IsBound()
Parameters:K (TopoDS_Shape &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (BRepFill_DataMapOfShapeHArray2OfShape &) –
Return type:BRepFill_DataMapOfShapeHArray2OfShape
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class BRepFill_DataMapOfShapeSequenceOfPnt(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (BRepFill_DataMapOfShapeSequenceOfPnt &) –
Return type:BRepFill_DataMapOfShapeSequenceOfPnt
Bind()
Parameters:
Return type:

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:TColgp_SequenceOfPnt
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:TColgp_SequenceOfPnt
Find1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
IsBound()
Parameters:K (TopoDS_Shape &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (BRepFill_DataMapOfShapeSequenceOfPnt &) –
Return type:BRepFill_DataMapOfShapeSequenceOfPnt
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class BRepFill_DataMapOfShapeSequenceOfReal(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Assign()
Parameters:Other (BRepFill_DataMapOfShapeSequenceOfReal &) –
Return type:BRepFill_DataMapOfShapeSequenceOfReal
Bind()
Parameters:
  • K (TopoDS_Shape &) –
  • I (TColStd_SequenceOfReal &) –
Return type:

bool

ChangeFind()
Parameters:K (TopoDS_Shape &) –
Return type:TColStd_SequenceOfReal
ChangeFind1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Find()
Parameters:K (TopoDS_Shape &) –
Return type:TColStd_SequenceOfReal
Find1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
IsBound()
Parameters:K (TopoDS_Shape &) –
Return type:bool
ReSize()
Parameters:NbBuckets (int) –
Return type:None
Set()
Parameters:Other (BRepFill_DataMapOfShapeSequenceOfReal &) –
Return type:BRepFill_DataMapOfShapeSequenceOfReal
UnBind()
Parameters:K (TopoDS_Shape &) –
Return type:bool
thisown

The membership flag

class BRepFill_Draft(*args)

Bases: object

Parameters:
  • Shape (TopoDS_Shape &) –
  • Dir (gp_Dir) –
  • Angle (float) –
Return type:

None

Generated()
  • Returns the list of shapes generated from the shape <S>.
Parameters:S (TopoDS_Shape &) –
Return type:TopTools_ListOfShape
IsDone()
Return type:bool
Perform()
Parameters:
  • LengthMax (float) –
  • Surface (Handle_Geom_Surface &) –
  • KeepInsideSurface (bool) – default value is Standard_True
  • StopShape (TopoDS_Shape &) –
  • KeepOutSide (bool) – default value is Standard_True
Return type:

None

Return type:

None

Return type:

None

SetDraft()
Parameters:IsInternal (bool) – default value is Standard_False
Return type:None
SetOptions()
Parameters:
  • Style (BRepFill_TransitionStyle) – default value is BRepFill_Right
  • AngleMin (float) – default value is 0.01
  • AngleMax (float) – default value is 3.0
Return type:

None

Shape()
Return type:TopoDS_Shape
Shell()
  • Returns the draft surface To have the complete shape you have to use the Shape() methode.
Return type:TopoDS_Shell
thisown

The membership flag

class BRepFill_DraftLaw(*args)

Bases: OCC.BRepFill.BRepFill_Edge3DLaw

Parameters:
  • Path (TopoDS_Wire &) –
  • Law (Handle_GeomFill_LocationDraft &) –
Return type:

None

CleanLaw()
  • To clean the little discontinuities.
Parameters:TolAngular (float) –
Return type:None
GetHandle()
thisown

The membership flag

class BRepFill_Edge3DLaw(*args)

Bases: OCC.BRepFill.BRepFill_LocationLaw

Parameters:
  • Path (TopoDS_Wire &) –
  • Law (Handle_GeomFill_LocationLaw &) –
Return type:

None

GetHandle()
thisown

The membership flag

class BRepFill_EdgeFaceAndOrder(*args)

Bases: object

Return type:

None

Parameters:
  • anEdge (TopoDS_Edge &) –
  • aFace (TopoDS_Face &) –
  • anOrder (GeomAbs_Shape) –
Return type:

None

thisown

The membership flag

class BRepFill_EdgeOnSurfLaw(*args)

Bases: OCC.BRepFill.BRepFill_LocationLaw

Parameters:
  • Path (TopoDS_Wire &) –
  • Surf (TopoDS_Shape &) –
Return type:

None

GetHandle()
HasResult()
  • returns <False> if one Edge of <Path> do not have representation on <Surf>. In this case it is impossible to use this object.
Return type:bool
thisown

The membership flag

class BRepFill_Evolved(*args)

Bases: object

Return type:None
  • Creates an evolved shape by sweeping the <Profile> along the <Spine>. <AxeProf> is used to set the position of <Profile> along <Spine> as follows: <AxeProf> slides on the profile with direction colinear to the normal to <Spine>, and its <XDirection> mixed with the tangent to <Spine>.
Parameters:
  • Spine (TopoDS_Wire &) –
  • Profile (TopoDS_Wire &) –
  • AxeProf (gp_Ax3) –
  • Join (GeomAbs_JoinType) – default value is GeomAbs_Arc
  • Solid (bool) – default value is Standard_False
Return type:

None

  • Creates an evolved shape by sweeping the <Profile> along the <Spine>
Parameters:
  • Spine (TopoDS_Face &) –
  • Profile (TopoDS_Wire &) –
  • AxeProf (gp_Ax3) –
  • Join (GeomAbs_JoinType) – default value is GeomAbs_Arc
  • Solid (bool) – default value is Standard_False
Return type:

None

Bottom()
  • Return the face Bottom if <Solid> is True in the constructor.
Return type:TopoDS_Shape
GeneratedShapes()
  • Returns the shapes created from a subshape <SpineShape> of the spine and a subshape <ProfShape> on the profile.
Parameters:
  • SpineShape (TopoDS_Shape &) –
  • ProfShape (TopoDS_Shape &) –
Return type:

TopTools_ListOfShape

IsDone()
Return type:bool
JoinType()
Return type:GeomAbs_JoinType
Perform()
  • Performs an evolved shape by sweeping the <Profile> along the <Spine>
Parameters:
  • Spine (TopoDS_Wire &) –
  • Profile (TopoDS_Wire &) –
  • AxeProf (gp_Ax3) –
  • Join (GeomAbs_JoinType) – default value is GeomAbs_Arc
  • Solid (bool) – default value is Standard_False
Return type:

None

  • Performs an evolved shape by sweeping the <Profile> along the <Spine>
Parameters:
  • Spine (TopoDS_Face &) –
  • Profile (TopoDS_Wire &) –
  • AxeProf (gp_Ax3) –
  • Join (GeomAbs_JoinType) – default value is GeomAbs_Arc
  • Solid (bool) – default value is Standard_False
Return type:

None

Shape()
  • returns the generated shape.
Return type:TopoDS_Shape
Top()
  • Return the face Top if <Solid> is True in the constructor.
Return type:TopoDS_Shape
thisown

The membership flag

class BRepFill_FaceAndOrder(*args)

Bases: object

Return type:

None

Parameters:
  • aFace (TopoDS_Face &) –
  • anOrder (GeomAbs_Shape) –
Return type:

None

thisown

The membership flag

class BRepFill_Filling(*args)

Bases: object

  • Constructor
Parameters:
  • Degree (int) – default value is 3
  • NbPtsOnCur (int) – default value is 15
  • NbIter (int) – default value is 2
  • Anisotropie (bool) – default value is Standard_False
  • Tol2d (float) – default value is 0.00001
  • Tol3d (float) – default value is 0.0001
  • TolAng (float) – default value is 0.01
  • TolCurv (float) – default value is 0.1
  • MaxDeg (int) – default value is 8
  • MaxSegments (int) – default value is 9
Return type:

None

Add()
  • Adds a new constraint which also defines an edge of the wire of the face Order: Order of the constraint: GeomAbs_C0 : the surface has to pass by 3D representation of the edge GeomAbs_G1 : the surface has to pass by 3D representation of the edge and to respect tangency with the first face of the edge GeomAbs_G2 : the surface has to pass by 3D representation of the edge and to respect tangency and curvature with the first face of the edge.
Parameters:
  • anEdge (TopoDS_Edge &) –
  • Order (GeomAbs_Shape) –
  • IsBound (bool) – default value is Standard_True
Return type:

int

  • Adds a new constraint which also defines an edge of the wire of the face Order: Order of the constraint: GeomAbs_C0 : the surface has to pass by 3D representation of the edge GeomAbs_G1 : the surface has to pass by 3D representation of the edge and to respect tangency with the given face GeomAbs_G2 : the surface has to pass by 3D representation of the edge and to respect tangency and curvature with the given face.
Parameters:
  • anEdge (TopoDS_Edge &) –
  • Support (TopoDS_Face &) –
  • Order (GeomAbs_Shape) –
  • IsBound (bool) – default value is Standard_True
Return type:

int

  • Adds a free constraint on a face. The corresponding edge has to be automatically recomputed. It is always a bound.
Parameters:
  • Support (TopoDS_Face &) –
  • Order (GeomAbs_Shape) –
Return type:

int

  • Adds a punctual constraint
Parameters:Point (gp_Pnt) –
Return type:int
  • Adds a punctual constraint.
Parameters:
  • U (float) –
  • V (float) –
  • Support (TopoDS_Face &) –
  • Order (GeomAbs_Shape) –
Return type:

int

Build()
  • Builds the resulting faces
Return type:None
Face()
Return type:TopoDS_Face
G0Error()
Return type:float
Parameters:Index (int) –
Return type:float
G1Error()
Return type:float
Parameters:Index (int) –
Return type:float
G2Error()
Return type:float
Parameters:Index (int) –
Return type:float
Generated()
  • Returns the list of shapes generated from the shape <S>.
Parameters:S (TopoDS_Shape &) –
Return type:TopTools_ListOfShape
IsDone()
Return type:bool
LoadInitSurface()
  • Loads the initial Surface The initial surface must have orthogonal local coordinates, i.e. partial derivatives dS/du and dS/dv must be orthogonal at each point of surface. If this condition breaks, distortions of resulting surface are possible.
Parameters:aFace (TopoDS_Face &) –
Return type:None
SetApproxParam()
  • Sets the parameters used for approximation of the surface
Parameters:
  • MaxDeg (int) – default value is 8
  • MaxSegments (int) – default value is 9
Return type:

None

SetConstrParam()
  • Sets the values of Tolerances used to control the constraint. Tol2d: Tol3d: it is the maximum distance allowed between the support surface and the constraints TolAng: it is the maximum angle allowed between the normal of the surface and the constraints TolCurv: it is the maximum difference of curvature allowed between the surface and the constraint
Parameters:
  • Tol2d (float) – default value is 0.00001
  • Tol3d (float) – default value is 0.0001
  • TolAng (float) – default value is 0.01
  • TolCurv (float) – default value is 0.1
Return type:

None

SetResolParam()
  • Sets the parameters used for resolution. The default values of these parameters have been chosen for a good ratio quality/performance. Degree: it is the order of energy criterion to minimize for computing the deformation of the surface. The default value is 3 The recommanded value is i+2 where i is the maximum order of the constraints. NbPtsOnCur: it is the average number of points for discretisation of the edges. NbIter: it is the maximum number of iterations of the process. For each iteration the number of discretisation points is increased. Anisotropie:
Parameters:
  • Degree (int) – default value is 3
  • NbPtsOnCur (int) – default value is 15
  • NbIter (int) – default value is 2
  • Anisotropie (bool) – default value is Standard_False
Return type:

None

thisown

The membership flag

class BRepFill_Generator(*args)

Bases: object

Return type:None
AddWire()
Parameters:Wire (TopoDS_Wire &) –
Return type:None
Generated()
  • Returns all the shapes created
Return type:TopTools_DataMapOfShapeListOfShape
GeneratedShapes()
  • Returns the shapes created from a subshape <SSection> of a section.
Parameters:SSection (TopoDS_Shape &) –
Return type:TopTools_ListOfShape
Perform()
  • Compute the shell.
Return type:None
Shell()
Return type:TopoDS_Shell
thisown

The membership flag

class BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K1 (TopoDS_Shape &) –
  • K2 (int) –
  • I (TopTools_ListOfShape &) –
  • n1 (TCollection_MapNodePtr &) –
  • n2 (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey2()

BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape_GetKey2(BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape self) -> Standard_Integer

Key1()
Return type:TopoDS_Shape
Next2()
Return type:TCollection_MapNodePtr
SetKey2()

BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape_SetKey2(BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape self, Standard_Integer value)

Value()
Return type:TopTools_ListOfShape
thisown

The membership flag

class BRepFill_IndexedDataMapOfOrientedShapeListOfShape(*args)

Bases: OCC.TCollection.TCollection_BasicMap

Parameters:NbBuckets (int) – default value is 1
Return type:None
Add()
Parameters:
  • K (TopoDS_Shape &) –
  • I (TopTools_ListOfShape &) –
Return type:

int

Assign()
Parameters:Other (BRepFill_IndexedDataMapOfOrientedShapeListOfShape &) –
Return type:BRepFill_IndexedDataMapOfOrientedShapeListOfShape
ChangeFromIndex()
Parameters:I (int) –
Return type:TopTools_ListOfShape
ChangeFromKey()
Parameters:K (TopoDS_Shape &) –
Return type:TopTools_ListOfShape
ChangeFromKey1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
Clear()
Return type:None
Contains()
Parameters:K (TopoDS_Shape &) –
Return type:bool
FindFromIndex()
Parameters:I (int) –
Return type:TopTools_ListOfShape
FindFromKey()
Parameters:K (TopoDS_Shape &) –
Return type:TopTools_ListOfShape
FindFromKey1()
Parameters:K (TopoDS_Shape &) –
Return type:Standard_Address
FindIndex()
Parameters:K (TopoDS_Shape &) –
Return type:int
FindKey()
Parameters:I (int) –
Return type:TopoDS_Shape
ReSize()
Parameters:NbBuckets (int) –
Return type:None
RemoveLast()
Return type:None
Set()
Parameters:Other (BRepFill_IndexedDataMapOfOrientedShapeListOfShape &) –
Return type:BRepFill_IndexedDataMapOfOrientedShapeListOfShape
Substitute()
Parameters:
  • I (int) –
  • K (TopoDS_Shape &) –
  • T (TopTools_ListOfShape &) –
Return type:

None

thisown

The membership flag

class BRepFill_ListIteratorOfListOfOffsetWire(*args)

Bases: object

Return type:None
Parameters:L (BRepFill_ListOfOffsetWire &) –
Return type:None
Initialize()
Parameters:L (BRepFill_ListOfOffsetWire &) –
Return type:None
More()
Return type:bool
Next()
Return type:None
Value()
Return type:BRepFill_OffsetWire
thisown

The membership flag

class BRepFill_ListNodeOfListOfOffsetWire(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • I (BRepFill_OffsetWire &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:BRepFill_OffsetWire
thisown

The membership flag

class BRepFill_ListOfOffsetWire(*args)

Bases: object

Return type:None
Parameters:Other (BRepFill_ListOfOffsetWire &) –
Return type:None
Append()
Parameters:
  • I (BRepFill_OffsetWire &) –
  • I
  • theIt (BRepFill_ListIteratorOfListOfOffsetWire &) –
  • Other (BRepFill_ListOfOffsetWire &) –
Return type:

None

Return type:

None

Return type:

None

Assign()
Parameters:Other (BRepFill_ListOfOffsetWire &) –
Return type:None
Clear()
Return type:None
Extent()
Return type:int
First()
Return type:BRepFill_OffsetWire
InsertAfter()
Parameters:
  • I (BRepFill_OffsetWire &) –
  • It (BRepFill_ListIteratorOfListOfOffsetWire &) –
  • Other (BRepFill_ListOfOffsetWire &) –
  • It
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • I (BRepFill_OffsetWire &) –
  • It (BRepFill_ListIteratorOfListOfOffsetWire &) –
  • Other (BRepFill_ListOfOffsetWire &) –
  • It
Return type:

None

Return type:

None

IsEmpty()
Return type:bool
Last()
Return type:BRepFill_OffsetWire
Prepend()
Parameters:
  • I (BRepFill_OffsetWire &) –
  • I
  • theIt (BRepFill_ListIteratorOfListOfOffsetWire &) –
  • Other (BRepFill_ListOfOffsetWire &) –
Return type:

None

Return type:

None

Return type:

None

Remove()
Parameters:It (BRepFill_ListIteratorOfListOfOffsetWire &) –
Return type:None
RemoveFirst()
Return type:None
Set()
Parameters:Other (BRepFill_ListOfOffsetWire &) –
Return type:None
thisown

The membership flag

class BRepFill_LocationLaw(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

Abscissa()
  • Return the curvilinear abscissa corresponding to a point of the path, defined by <Index> of Edge and a parameter on the edge.
Parameters:
Return type:

float

CurvilinearBounds()
  • Return the Curvilinear Bounds of the <Index> Law
Parameters:
  • Index (int) –
  • First (float &) –
  • Last (float &) –
Return type:

None

D0()
  • Apply the Law to a shape, for a given Curnilinear abscissa
Parameters:
  • Abscissa (float) –
  • Section (TopoDS_Shape &) –
Return type:

None

DeleteTransform()
Return type:None
Edge()
  • Return the Edge of rank <Index> in the path <Index> have to be in [1, NbLaw()]
Parameters:Index (int) –
Return type:TopoDS_Edge
GetHandle()
GetStatus()
  • Return a error status, if the status is not PipeOk then it exist a parameter tlike the law is not valuable for t.
Return type:GeomFill_PipeError
Holes()
Parameters:Interval (TColStd_Array1OfInteger &) –
Return type:None
IsClosed()
Return type:bool
IsG1()
  • Compute the Law’s continuity beetween 2 edges of the path The result can be : -1 : Case Not connex 0 : It is connex (G0) 1 : It is tangent (G1)
Parameters:
  • Index (int) –
  • SpatialTolerance (float) – default value is 1.0e-7
  • AngularTolerance (float) – default value is 1.0e-4
Return type:

int

NbHoles()
Parameters:Tol (float) – default value is 1.0e-7
Return type:int
NbLaw()
  • Return the number of elementary Law
Return type:int
Parameter()
  • Find the index Law and the parmaeter, for a given Curnilinear abscissa
Parameters:
  • Abscissa (float) –
  • Index (int &) –
  • Param (float &) –
Return type:

None

PerformVertex()
  • Compute <OutputVertex> like a transformation of <InputVertex> the transformation is given by evaluation of the location law in the vertex of rank <Index>. <Location> is used to manage discontinuities : - -1 : The law before the vertex is used. - 1 : The law after the vertex is used. - 0 : Average of the both laws is used.
Parameters:
  • Index (int) –
  • InputVertex (TopoDS_Vertex &) –
  • TolMin (float) –
  • OutputVertex (TopoDS_Vertex &) –
  • Location (int) – default value is 0
Return type:

None

TransformInCompatibleLaw()
  • Apply a linear transformation on each law, to reduce the dicontinuities of law at one rotation.
Parameters:AngularTolerance (float) –
Return type:void
TransformInG0Law()
  • Apply a linear transformation on each law, to have continuity of the global law beetween the edges.
Return type:void
Vertex()
  • Return the vertex of rank <Index> in the path <Index> have to be in [0, NbLaw()]
Parameters:Index (int) –
Return type:TopoDS_Vertex
Wire()
  • return the path
Return type:TopoDS_Wire
law()
  • Return the elementary Law of rank <Index> <Index> have to be in [1, NbLaw()]
Parameters:Index (int) –
Return type:Handle_GeomFill_LocationLaw
thisown

The membership flag

class BRepFill_MultiLine(*args)

Bases: object

Return type:

None

Parameters:
  • Face1 (TopoDS_Face &) –
  • Face2 (TopoDS_Face &) –
  • Edge1 (TopoDS_Edge &) –
  • Edge2 (TopoDS_Edge &) –
  • Inv1 (bool) –
  • Inv2 (bool) –
  • Bissec (Handle_Geom2d_Curve &) –
Return type:

None

Continuity()
  • Returns the continuity betwwen the two faces seShape from GeomAbsparated by myBis.
Return type:GeomAbs_Shape
Curves()
  • raises if IsParticularCase is <False>.
Parameters:
  • Curve (Handle_Geom_Curve &) –
  • PCurve1 (Handle_Geom2d_Curve &) –
  • PCurve2 (Handle_Geom2d_Curve &) –
Return type:

None

FirstParameter()
  • returns the first parameter of the Bissectrice.
Return type:float
IsParticularCase()
  • Search if the Projection of the Bissectrice on the faces needs an approximation or not. Returns true if the approximation is not needed.
Return type:bool
LastParameter()
  • returns the last parameter of the Bissectrice.
Return type:float
Value()
  • Returns the current point on the 3d curve
Parameters:U (float) –
Return type:gp_Pnt
Value3dOnF1OnF2()
Parameters:
Return type:

None

ValueOnF1()
  • returns the current point on the PCurve of the first face
Parameters:U (float) –
Return type:gp_Pnt2d
ValueOnF2()
  • returns the current point on the PCurve of the first face
Parameters:U (float) –
Return type:gp_Pnt2d
thisown

The membership flag

class BRepFill_MultiLineTool

Bases: object

static D1(*args)
  • returns the 3d derivative values of the multipoint <MPointIndex> when only 3d points exist. returns False if the derivative cannot be computed.
Parameters:
Return type:

bool

  • returns the 2d derivative values of the multipoint <MPointIndex> only when 2d points exist. returns False if the derivative cannot be computed.
Parameters:
Return type:

bool

  • returns the 3d and 2d derivative values of the multipoint <MPointIndex>. returns False if the derivative cannot be computed.
Parameters:
Return type:

bool

static FirstParameter(*args)
  • returns the first parameter of the Line.
Parameters:ML (BRepFill_MultiLine &) –
Return type:float
static LastParameter(*args)
  • returns the last parameter of the Line.
Parameters:ML (BRepFill_MultiLine &) –
Return type:float
static NbP2d(*args)
  • Returns the number of 2d points of a MLine
Parameters:ML (BRepFill_MultiLine &) –
Return type:int
static NbP3d(*args)
  • Returns the number of 3d points of a MLine.
Parameters:ML (BRepFill_MultiLine &) –
Return type:int
static Value(*args)
  • returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.
Parameters:
Return type:

void

  • returns the 2d points of the multipoint <MPointIndex> when only 2d points exist.
Parameters:
Return type:

void

  • returns the 3d and 2d points of the multipoint <MPointIndex>.
Parameters:
Return type:

void

thisown

The membership flag

BRepFill_MultiLineTool_D1(*args)
  • returns the 3d derivative values of the multipoint <MPointIndex> when only 3d points exist. returns False if the derivative cannot be computed.
Parameters:
Return type:

bool

  • returns the 2d derivative values of the multipoint <MPointIndex> only when 2d points exist. returns False if the derivative cannot be computed.
Parameters:
Return type:

bool

  • returns the 3d and 2d derivative values of the multipoint <MPointIndex>. returns False if the derivative cannot be computed.
Parameters:
Return type:

bool

BRepFill_MultiLineTool_FirstParameter(*args)
  • returns the first parameter of the Line.
Parameters:ML (BRepFill_MultiLine &) –
Return type:float
BRepFill_MultiLineTool_LastParameter(*args)
  • returns the last parameter of the Line.
Parameters:ML (BRepFill_MultiLine &) –
Return type:float
BRepFill_MultiLineTool_NbP2d(*args)
  • Returns the number of 2d points of a MLine
Parameters:ML (BRepFill_MultiLine &) –
Return type:int
BRepFill_MultiLineTool_NbP3d(*args)
  • Returns the number of 3d points of a MLine.
Parameters:ML (BRepFill_MultiLine &) –
Return type:int
BRepFill_MultiLineTool_Value(*args)
  • returns the 3d points of the multipoint <MPointIndex> when only 3d points exist.
Parameters:
Return type:

void

  • returns the 2d points of the multipoint <MPointIndex> when only 2d points exist.
Parameters:
Return type:

void

  • returns the 3d and 2d points of the multipoint <MPointIndex>.
Parameters:
Return type:

void

class BRepFill_MyLeastSquareOfComputeCLine(*args)

Bases: object

Parameters:
  • SSP (BRepFill_MultiLine &) –
  • U0 (float) –
  • U1 (float) –
  • FirstCons (AppParCurves_Constraint) –
  • LastCons (AppParCurves_Constraint) –
  • Deg (int) –
  • NbPoints (int) – default value is 24
Return type:

None

Error()
Parameters:
  • F (float &) –
  • MaxE3d (float &) –
  • MaxE2d (float &) –
Return type:

None

IsDone()
Return type:bool
Value()
Return type:AppParCurves_MultiCurve
thisown

The membership flag

class BRepFill_NSections(*args)

Bases: OCC.BRepFill.BRepFill_SectionLaw

  • Construct
Parameters:
  • S (TopTools_SequenceOfShape &) –
  • Build (bool) – default value is Standard_True
Return type:

None

  • Construct
Parameters:
  • S (TopTools_SequenceOfShape &) –
  • Trsfs (GeomFill_SequenceOfTrsf &) –
  • P (TColStd_SequenceOfReal &) –
  • VF (float) –
  • VL (float) –
  • Build (bool) – default value is Standard_True
Return type:

None

GetHandle()
thisown

The membership flag

class BRepFill_OffsetAncestors(*args)

Bases: object

Return type:None
Parameters:Paral (BRepFill_OffsetWire &) –
Return type:None
Ancestor()
  • may return a Null Shape if S1 is not a subShape of <Paral>; if Perform is not done.
Parameters:S1 (TopoDS_Edge &) –
Return type:TopoDS_Shape
HasAncestor()
Parameters:S1 (TopoDS_Edge &) –
Return type:bool
IsDone()
Return type:bool
Perform()
Parameters:Paral (BRepFill_OffsetWire &) –
Return type:None
thisown

The membership flag

class BRepFill_OffsetWire(*args)

Bases: object

Return type:

None

Parameters:
  • Spine (TopoDS_Face &) –
  • Join (GeomAbs_JoinType) – default value is GeomAbs_Arc
  • IsOpenResult (bool) – default value is Standard_False
Return type:

None

GeneratedShapes()
  • Returns the shapes created from a subshape <SpineShape> of the spine. Returns the last computed Offset.
Parameters:SpineShape (TopoDS_Shape &) –
Return type:TopTools_ListOfShape
Init()
  • Initialize the evaluation of Offseting.
Parameters:
  • Spine (TopoDS_Face &) –
  • Join (GeomAbs_JoinType) – default value is GeomAbs_Arc
  • IsOpenResult (bool) – default value is Standard_False
Return type:

None

IsDone()
Return type:bool
JoinType()
Return type:GeomAbs_JoinType
Perform()
  • Performs an OffsetWire at an altitude <Alt> from the face ( According to the orientation of the face)
Parameters:
  • Offset (float) –
  • Alt (float) – default value is 0.0
Return type:

None

PerformWithBiLo()
  • Performs an OffsetWire
Parameters:
  • WSP (TopoDS_Face &) –
  • Offset (float) –
  • Locus (BRepMAT2d_BisectingLocus &) –
  • Link (BRepMAT2d_LinkTopoBilo &) –
  • Join (GeomAbs_JoinType) – default value is GeomAbs_Arc
  • Alt (float) – default value is 0.0
Return type:

None

Shape()
  • returns the generated shape.
Return type:TopoDS_Shape
Spine()
Return type:TopoDS_Face
thisown

The membership flag

class BRepFill_Pipe(*args)

Bases: object

Return type:

None

Parameters:
  • Spine (TopoDS_Wire &) –
  • Profile (TopoDS_Shape &) –
  • aMode (GeomFill_Trihedron) – default value is GeomFill_IsCorrectedFrenet
  • ForceApproxC1 (bool) – default value is Standard_False
  • GeneratePartCase (bool) – default value is Standard_False
Return type:

None

Edge()
  • Returns the edge created from an edge of the spine and a vertex of the profile. if the edge or the vertex are not in the spine or the profile.
Parameters:
  • ESpine (TopoDS_Edge &) –
  • VProfile (TopoDS_Vertex &) –
Return type:

TopoDS_Edge

ErrorOnSurface()
Return type:float
Face()
  • Returns the face created from an edge of the spine and an edge of the profile. if the edges are not in the spine or the profile
Parameters:
  • ESpine (TopoDS_Edge &) –
  • EProfile (TopoDS_Edge &) –
Return type:

TopoDS_Face

FirstShape()
Return type:TopoDS_Shape
LastShape()
Return type:TopoDS_Shape
Perform()
Parameters:
  • Spine (TopoDS_Wire &) –
  • Profile (TopoDS_Shape &) –
  • GeneratePartCase (bool) – default value is Standard_False
Return type:

None

PipeLine()
  • Create a Wire by sweeping the Point along the <spine> if the <Spine> is undefined
Parameters:Point (gp_Pnt) –
Return type:TopoDS_Wire
Profile()
Return type:TopoDS_Shape
Section()
  • Returns the shape created from the profile at the position of the vertex VSpine. if the vertex is not in the Spine
Parameters:VSpine (TopoDS_Vertex &) –
Return type:TopoDS_Shape
Shape()
Return type:TopoDS_Shape
Spine()
Return type:TopoDS_Shape
thisown

The membership flag

class BRepFill_PipeShell(*args)

Bases: OCC.MMgt.MMgt_TShared

  • Set an sweep’s mode If no mode are setted, the mode use in MakePipe is used
Parameters:Spine (TopoDS_Wire &) –
Return type:None
Add()
  • Set an section. The corespondance with the spine, will be automaticaly performed.
Parameters:
  • Profile (TopoDS_Shape &) –
  • WithContact (bool) – default value is Standard_False
  • WithCorrection (bool) – default value is Standard_False
Return type:

None

  • Set an section. The corespondance with the spine, is given by <Location>
Parameters:
  • Profile (TopoDS_Shape &) –
  • Location (TopoDS_Vertex &) –
  • WithContact (bool) – default value is Standard_False
  • WithCorrection (bool) – default value is Standard_False
Return type:

None

Build()
  • Builds the resulting shape (redefined from MakeShape).
Return type:bool
Delete()
  • Delete an section.
Parameters:Profile (TopoDS_Shape &) –
Return type:None
ErrorOnSurface()
Return type:float
FirstShape()
  • Returns the TopoDS Shape of the bottom of the sweep.
Return type:TopoDS_Shape
Generated()
  • Returns the list of shapes generated from the shape <S>.
Parameters:
  • S (TopoDS_Shape &) –
  • L (TopTools_ListOfShape &) –
Return type:

None

GetHandle()
GetStatus()
  • Get a status, when Simulate or Build failed.
Return type:GeomFill_PipeError
IsReady()
  • Say if <self> is ready to build the shape return False if <self> do not have section definition
Return type:bool
LastShape()
  • Returns the TopoDS Shape of the top of the sweep.
Return type:TopoDS_Shape
MakeSolid()
  • Transform the sweeping Shell in Solid. If the section are not closed returns False
Return type:bool
Set()
  • Set an Frenet or an CorrectedFrenet trihedron to perform the sweeping
Parameters:Frenet (bool) – default value is Standard_False
Return type:None
  • Set an fixed trihedron to perform the sweeping all sections will be parallel.
Parameters:Axe (gp_Ax2) –
Return type:None
  • Set an fixed BiNormal direction to perform the sweeping
Parameters:BiNormal (gp_Dir) –
Return type:None
  • Set support to the spine to define the BiNormal at the spine, like the normal the surfaces. Warning: To be effective, Each edge of the <spine> must have an representaion on one face of<SpineSupport>
Parameters:SpineSupport (TopoDS_Shape &) –
Return type:bool
  • Set an auxiliary spine to define the Normal For each Point of the Spine P, an Point Q is evalued on <AuxiliarySpine> If <CurvilinearEquivalence> Q split <AuxiliarySpine> with the same length ratio than P split <Spline>. Else the plan define by P and the tangent to the <Spine> intersect <AuxiliarySpine> in Q. If <KeepContact> equals BRepFill_NoContact: The Normal is defined by the vector PQ. If <KeepContact> equals BRepFill_Contact: The Normal is defined to achieve that the sweeped section is in contact to the auxiliarySpine. The width of section is constant all along the path. In other words, the auxiliary spine lies on the swept surface, but not necessarily is a boundary of this surface. However, the auxiliary spine has to be close enough to the main spine to provide intersection with any section all along the path. If <KeepContact> equals BRepFill_ContactOnBorder: The auxiliary spine becomes a boundary of the swept surface and the width of section varies along the path.
Parameters:
  • AuxiliarySpine (TopoDS_Wire &) –
  • CurvilinearEquivalence (bool) – default value is Standard_True
  • KeepContact (BRepFill_TypeOfContact) – default value is BRepFill_NoContact
Return type:

None

SetDiscrete()
  • Set a Discrete trihedron to perform the sweeping
Return type:None
SetForceApproxC1()
  • Set the flag that indicates attempt to approximate a C1-continuous surface if a swept surface proved to be C0. Give section to sweep. Possibilities are : - Give one or sevral profile - Give one profile and an homotetic law. - Automatic compute of correspondance beetween profile, and section on the sweeped shape - correspondance beetween profile, and section on the sweeped shape defined by a vertex of the spine
Parameters:ForceApproxC1 (bool) –
Return type:None
SetLaw()
  • Set an section and an homotetic law. The homotetie’s centers is given by point on the <Spine>.
Parameters:
  • Profile (TopoDS_Shape &) –
  • L (Handle_Law_Function &) –
  • WithContact (bool) – default value is Standard_False
  • WithCorrection (bool) – default value is Standard_False
Return type:

None

  • Set an section and an homotetic law. The homotetie center is given by point on the <Spine>
Parameters:
  • Profile (TopoDS_Shape &) –
  • L (Handle_Law_Function &) –
  • Location (TopoDS_Vertex &) –
  • WithContact (bool) – default value is Standard_False
  • WithCorrection (bool) – default value is Standard_False
Return type:

None

SetMaxDegree()
  • Define the maximum V degree of resulting surface
Parameters:NewMaxDegree (int) –
Return type:None
SetMaxSegments()
  • Define the maximum number of spans in V-direction on resulting surface
Parameters:NewMaxSegments (int) –
Return type:None
SetTolerance()
Parameters:
  • Tol3d (float) – default value is 1.0e-4
  • BoundTol (float) – default value is 1.0e-4
  • TolAngular (float) – default value is 1.0e-2
Return type:

None

SetTransition()
  • Set the Transition Mode to manage discontinuities on the sweep.
Parameters:
  • Mode (BRepFill_TransitionStyle) – default value is BRepFill_Modified
  • Angmin (float) – default value is 1.0e-2
  • Angmax (float) – default value is 6.0
Return type:

None

Shape()
  • Returns the result Shape.
Return type:TopoDS_Shape
Simulate()
  • Perform simulation of the sweep : Somes Section are returned.
Parameters:
  • NumberOfSection (int) –
  • Sections (TopTools_ListOfShape &) –
Return type:

None

thisown

The membership flag

class BRepFill_Section(*args)

Bases: object

Return type:

None

Parameters:
  • Profile (TopoDS_Shape &) –
  • V (TopoDS_Vertex &) –
  • WithContact (bool) –
  • WithCorrection (bool) –
Return type:

None

IsLaw()
Return type:bool
Set()
Parameters:IsLaw (bool) –
Return type:None
Vertex()
Return type:TopoDS_Vertex
Wire()
Return type:TopoDS_Wire
WithContact()
Return type:bool
WithCorrection()
Return type:bool
thisown

The membership flag

class BRepFill_SectionLaw(*args, **kwargs)

Bases: OCC.MMgt.MMgt_TShared

ConcatenedLaw()
Return type:Handle_GeomFill_SectionLaw
Continuity()
Parameters:
  • Index (int) –
  • TolAngular (float) –
Return type:

GeomAbs_Shape

CurrentEdge()
Return type:TopoDS_Edge
D0()
Parameters:
  • U (float) –
  • S (TopoDS_Shape &) –
Return type:

void

GetHandle()
Init()
Parameters:W (TopoDS_Wire &) –
Return type:None
IsConstant()
Return type:bool
IsUClosed()
Return type:bool
IsVClosed()
Return type:bool
IsVertex()
  • Say if the input sahpe is a vertex.
Return type:bool
NbLaw()
Return type:int
Vertex()
Parameters:
Return type:

TopoDS_Vertex

VertexTol()
Parameters:
Return type:

float

law()
Parameters:Index (int) –
Return type:Handle_GeomFill_SectionLaw
thisown

The membership flag

class BRepFill_SectionPlacement(*args)

Bases: object

  • Automatic placement
Parameters:
  • Law (Handle_BRepFill_LocationLaw &) –
  • Section (TopoDS_Shape &) –
  • WithContact (bool) – default value is Standard_False
  • WithCorrection (bool) – default value is Standard_False
Return type:

None

  • Placement on vertex
Parameters:
  • Law (Handle_BRepFill_LocationLaw &) –
  • Section (TopoDS_Shape &) –
  • Vertex (TopoDS_Shape &) –
  • WithContact (bool) – default value is Standard_False
  • WithCorrection (bool) – default value is Standard_False
Return type:

None

AbscissaOnPath()
Return type:float
Transformation()
Return type:gp_Trsf
thisown

The membership flag

class BRepFill_SequenceNodeOfSequenceOfEdgeFaceAndOrder(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (BRepFill_EdgeFaceAndOrder &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:BRepFill_EdgeFaceAndOrder
thisown

The membership flag

class BRepFill_SequenceNodeOfSequenceOfFaceAndOrder(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (BRepFill_FaceAndOrder &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:BRepFill_FaceAndOrder
thisown

The membership flag

class BRepFill_SequenceNodeOfSequenceOfSection(*args)

Bases: OCC.TCollection.TCollection_SeqNode

Parameters:
  • I (BRepFill_Section &) –
  • n (TCollection_SeqNodePtr &) –
  • p (TCollection_SeqNodePtr &) –
Return type:

None

GetHandle()
Value()
Return type:BRepFill_Section
thisown

The membership flag

class BRepFill_SequenceOfEdgeFaceAndOrder(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (BRepFill_SequenceOfEdgeFaceAndOrder &) –
Return type:None
Append()
Parameters:
  • T (BRepFill_EdgeFaceAndOrder &) –
  • S (BRepFill_SequenceOfEdgeFaceAndOrder &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (BRepFill_SequenceOfEdgeFaceAndOrder &) –
Return type:BRepFill_SequenceOfEdgeFaceAndOrder
ChangeValue()
Parameters:Index (int) –
Return type:BRepFill_EdgeFaceAndOrder
Clear()
Return type:None
First()
Return type:BRepFill_EdgeFaceAndOrder
InsertAfter()
Parameters:
  • Index (int) –
  • T (BRepFill_EdgeFaceAndOrder &) –
  • Index
  • S (BRepFill_SequenceOfEdgeFaceAndOrder &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (BRepFill_EdgeFaceAndOrder &) –
  • Index
  • S (BRepFill_SequenceOfEdgeFaceAndOrder &) –
Return type:

None

Return type:

None

Last()
Return type:BRepFill_EdgeFaceAndOrder
Prepend()
Parameters:
  • T (BRepFill_EdgeFaceAndOrder &) –
  • S (BRepFill_SequenceOfEdgeFaceAndOrder &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (BRepFill_SequenceOfEdgeFaceAndOrder &) –
Return type:BRepFill_SequenceOfEdgeFaceAndOrder
SetValue()
Parameters:
  • Index (int) –
  • I (BRepFill_EdgeFaceAndOrder &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (BRepFill_SequenceOfEdgeFaceAndOrder &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:BRepFill_EdgeFaceAndOrder
thisown

The membership flag

class BRepFill_SequenceOfFaceAndOrder(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (BRepFill_SequenceOfFaceAndOrder &) –
Return type:None
Append()
Parameters:
  • T (BRepFill_FaceAndOrder &) –
  • S (BRepFill_SequenceOfFaceAndOrder &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (BRepFill_SequenceOfFaceAndOrder &) –
Return type:BRepFill_SequenceOfFaceAndOrder
ChangeValue()
Parameters:Index (int) –
Return type:BRepFill_FaceAndOrder
Clear()
Return type:None
First()
Return type:BRepFill_FaceAndOrder
InsertAfter()
Parameters:
  • Index (int) –
  • T (BRepFill_FaceAndOrder &) –
  • Index
  • S (BRepFill_SequenceOfFaceAndOrder &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (BRepFill_FaceAndOrder &) –
  • Index
  • S (BRepFill_SequenceOfFaceAndOrder &) –
Return type:

None

Return type:

None

Last()
Return type:BRepFill_FaceAndOrder
Prepend()
Parameters:
  • T (BRepFill_FaceAndOrder &) –
  • S (BRepFill_SequenceOfFaceAndOrder &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (BRepFill_SequenceOfFaceAndOrder &) –
Return type:BRepFill_SequenceOfFaceAndOrder
SetValue()
Parameters:
  • Index (int) –
  • I (BRepFill_FaceAndOrder &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (BRepFill_SequenceOfFaceAndOrder &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:BRepFill_FaceAndOrder
thisown

The membership flag

class BRepFill_SequenceOfSection(*args)

Bases: OCC.TCollection.TCollection_BaseSequence

Return type:None
Parameters:Other (BRepFill_SequenceOfSection &) –
Return type:None
Append()
Parameters:
  • T (BRepFill_Section &) –
  • S (BRepFill_SequenceOfSection &) –
Return type:

None

Return type:

None

Assign()
Parameters:Other (BRepFill_SequenceOfSection &) –
Return type:BRepFill_SequenceOfSection
ChangeValue()
Parameters:Index (int) –
Return type:BRepFill_Section
Clear()
Return type:None
First()
Return type:BRepFill_Section
InsertAfter()
Parameters:
  • Index (int) –
  • T (BRepFill_Section &) –
  • Index
  • S (BRepFill_SequenceOfSection &) –
Return type:

None

Return type:

None

InsertBefore()
Parameters:
  • Index (int) –
  • T (BRepFill_Section &) –
  • Index
  • S (BRepFill_SequenceOfSection &) –
Return type:

None

Return type:

None

Last()
Return type:BRepFill_Section
Prepend()
Parameters:
  • T (BRepFill_Section &) –
  • S (BRepFill_SequenceOfSection &) –
Return type:

None

Return type:

None

Remove()
Parameters:
  • Index (int) –
  • FromIndex (int) –
  • ToIndex (int) –
Return type:

None

Return type:

None

Set()
Parameters:Other (BRepFill_SequenceOfSection &) –
Return type:BRepFill_SequenceOfSection
SetValue()
Parameters:
  • Index (int) –
  • I (BRepFill_Section &) –
Return type:

None

Split()
Parameters:
  • Index (int) –
  • Sub (BRepFill_SequenceOfSection &) –
Return type:

None

Value()
Parameters:Index (int) –
Return type:BRepFill_Section
thisown

The membership flag

class BRepFill_ShapeLaw(*args)

Bases: OCC.BRepFill.BRepFill_SectionLaw

  • Construct an constant Law
Parameters:
  • V (TopoDS_Vertex &) –
  • Build (bool) – default value is Standard_True
Return type:

None

  • Construct an constant Law
Parameters:
  • W (TopoDS_Wire &) –
  • Build (bool) – default value is Standard_True
Return type:

None

  • Construct an evolutive Law
Parameters:
  • W (TopoDS_Wire &) –
  • L (Handle_Law_Function &) –
  • Build (bool) – default value is Standard_True
Return type:

None

Edge()
Parameters:Index (int) –
Return type:TopoDS_Edge
GetHandle()
thisown

The membership flag

class BRepFill_Sweep(*args)

Bases: object

Parameters:
  • Section (Handle_BRepFill_SectionLaw &) –
  • Location (Handle_BRepFill_LocationLaw &) –
  • WithKPart (bool) –
Return type:

None

Build()
  • Build the Sweeep Surface Transition define Transition strategy Approx define Approximation Strategy - GeomFill_Section : The composed Function Location X Section is directly approximed. - GeomFill_Location : The location law is approximed, and the SweepSurface is bulid algebric composition of approximed location law and section law This option is Ok, if Section.Surface() methode is effective. Continuity : The continuity in v waiting on the surface Degmax : The maximum degree in v requiered on the surface Segmax : The maximum number of span in v requiered on the surface.
Parameters:
  • ReversedEdges (TopTools_MapOfShape &) –
  • Tapes (BRepFill_DataMapOfShapeHArray2OfShape &) –
  • Rails (BRepFill_DataMapOfShapeHArray2OfShape &) –
  • Transition (BRepFill_TransitionStyle) – default value is BRepFill_Modified
  • Continuity (GeomAbs_Shape) – default value is GeomAbs_C2
  • Approx (GeomFill_ApproxStyle) – default value is GeomFill_Location
  • Degmax (int) – default value is 11
  • Segmax (int) – default value is 30
Return type:

None

ErrorOnSurface()
  • Get the Approximation error.
Return type:float
InterFaces()
Return type:Handle_TopTools_HArray2OfShape
IsDone()
  • Say if the Shape is Build.
Return type:bool
Sections()
Return type:Handle_TopTools_HArray2OfShape
SetAngularControl()
  • Tolerance To controle Corner management. //! If the discontinuity is lesser than <AngleMin> in radian The Transition Performed will be alway ‘Modified’
Parameters:
  • AngleMin (float) – default value is 0.01
  • AngleMax (float) – default value is 6.0
Return type:

None

SetBounds()
Parameters:
  • FirstShape (TopoDS_Wire &) –
  • LastShape (TopoDS_Wire &) –
Return type:

None

SetForceApproxC1()
  • Set the flag that indicates attempt to approximate a C1-continuous surface if a swept surface proved to be C0.
Parameters:ForceApproxC1 (bool) –
Return type:None
SetTolerance()
  • Set Approximation Tolerance Tol3d : Tolerance to surface approximation Tol2d : Tolerance used to perform curve approximation Normaly the 2d curve are approximated with a tolerance given by the resolution on support surfaces, but if this tolerance is too large Tol2d is used. TolAngular : Tolerance (in radian) to control the angle beetween tangents on the section law and tangent of iso-v on approximed surface
Parameters:
  • Tol3d (float) –
  • BoundTol (float) – default value is 1.0
  • Tol2d (float) – default value is 1.0e-5
  • TolAngular (float) – default value is 1.0e-2
Return type:

None

Shape()
  • returns the Sweeping Shape
Return type:TopoDS_Shape
SubShape()
Return type:Handle_TopTools_HArray2OfShape
thisown

The membership flag

class BRepFill_TrimEdgeTool(*args)

Bases: object

Return type:

None

Parameters:
  • Bisec (Bisector_Bisec &) –
  • S1 (Handle_Geom2d_Geometry &) –
  • S2 (Handle_Geom2d_Geometry &) –
  • Offset (float) –
Return type:

None

AddOrConfuse()
Parameters:
Return type:

None

IntersectWith()
Parameters:
Return type:

None

IsInside()
Parameters:P (gp_Pnt2d) –
Return type:bool
thisown

The membership flag

class BRepFill_TrimShellCorner(*args)

Bases: object

Parameters:
  • theFaces (Handle_TopTools_HArray2OfShape &) –
  • theAxeOfBisPlane (gp_Ax2) –
  • theSecPlane (TopoDS_Face &) –
  • theFaces
  • theAxeOfBisPlane
  • theSpine (TopoDS_Wire &) –
  • theSecPlane
Return type:

None

Return type:

None

AddBounds()
Parameters:Bounds (Handle_TopTools_HArray2OfShape &) –
Return type:None
AddUEdges()
Parameters:theUEdges (Handle_TopTools_HArray2OfShape &) –
Return type:None
HasSection()
Return type:bool
IsDone()
Return type:bool
Modified()
Parameters:
  • S (TopoDS_Shape &) –
  • theModified (TopTools_ListOfShape &) –
Return type:

None

Perform()
Return type:None
SetSpine()
Parameters:theSpine (TopoDS_Wire &) –
Return type:None
thisown

The membership flag

class BRepFill_TrimSurfaceTool(*args)

Bases: object

Parameters:
  • Bis (Handle_Geom2d_Curve &) –
  • Face1 (TopoDS_Face &) –
  • Face2 (TopoDS_Face &) –
  • Edge1 (TopoDS_Edge &) –
  • Edge2 (TopoDS_Edge &) –
  • Inv1 (bool) –
  • Inv2 (bool) –
Return type:

None

IntersectWith()
  • Intersect <Bis> with the projection of the edges <EdgeOnFi> and returns the intersecting parameters on Bis and on the edges P.X() : Parameter on Bis P.Y() : Parameter on EdgeOnF1 P.Z() : Parameter on EdgeOnF2 raises if <Edge> is not a edge of Face1 or Face2.
Parameters:
Return type:

None

IsOnFace()
  • returns True if the Line (P, DZ) intersect the Faces
Parameters:Point (gp_Pnt2d) –
Return type:bool
ProjOn()
  • returns the parameter of the point <Point> on the Edge <Edge>, assuming that the point is on the edge.
Parameters:
  • Point (gp_Pnt2d) –
  • Edge (TopoDS_Edge &) –
Return type:

float

Project()
Parameters:
  • U1 (float) –
  • U2 (float) –
  • Curve (Handle_Geom_Curve &) –
  • PCurve1 (Handle_Geom2d_Curve &) –
  • PCurve2 (Handle_Geom2d_Curve &) –
  • myCont (GeomAbs_Shape &) –
Return type:

None

thisown

The membership flag

class Handle_BRepFill_ACRLaw(*args)

Bases: OCC.BRepFill.Handle_BRepFill_LocationLaw

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_CurveConstraint(*args)

Bases: OCC.GeomPlate.Handle_GeomPlate_CurveConstraint

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_DataMapNodeOfDataMapOfNodeDataMapOfShapeShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_DataMapNodeOfDataMapOfNodeShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_DataMapNodeOfDataMapOfOrientedShapeListOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_DataMapNodeOfDataMapOfShapeDataMapOfShapeListOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_DataMapNodeOfDataMapOfShapeHArray2OfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfPnt(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfReal(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_DraftLaw(*args)

Bases: OCC.BRepFill.Handle_BRepFill_Edge3DLaw

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_Edge3DLaw(*args)

Bases: OCC.BRepFill.Handle_BRepFill_LocationLaw

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_EdgeOnSurfLaw(*args)

Bases: OCC.BRepFill.Handle_BRepFill_LocationLaw

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_ListNodeOfListOfOffsetWire(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_LocationLaw(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_NSections(*args)

Bases: OCC.BRepFill.Handle_BRepFill_SectionLaw

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_PipeShell(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_SectionLaw(*args)

Bases: OCC.MMgt.Handle_MMgt_TShared

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_SequenceNodeOfSequenceOfEdgeFaceAndOrder(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_SequenceNodeOfSequenceOfFaceAndOrder(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_SequenceNodeOfSequenceOfSection(*args)

Bases: OCC.TCollection.Handle_TCollection_SeqNode

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class Handle_BRepFill_ShapeLaw(*args)

Bases: OCC.BRepFill.Handle_BRepFill_SectionLaw

static DownCast()
GetObject()
IsNull()
Nullify()
thisown

The membership flag

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class brepfill

Bases: object

static Axe(*args)
  • Computes <AxeProf> as Follow. <Location> is the Position of the nearest vertex V of <Profile> to <Spine>.<XDirection> is confused with the tangent to <Spine> at the projected point of V on the Spine. <Direction> is normal to <Spine>. <Spine> is a plane wire or a plane face.
Parameters:
  • Spine (TopoDS_Shape &) –
  • Profile (TopoDS_Wire &) –
  • AxeProf (gp_Ax3) –
  • ProfOnSpine (bool) –
  • Tol (float) –
Return type:

void

static ComputeACR(*args)
  • Compute ACR on a wire
Parameters:
  • wire (TopoDS_Wire &) –
  • ACR (TColStd_Array1OfReal &) –
Return type:

void

static Face(*args)
  • Computes a ruled surface between two edges.
Parameters:
  • Edge1 (TopoDS_Edge &) –
  • Edge2 (TopoDS_Edge &) –
Return type:

TopoDS_Face

static InsertACR(*args)
  • Insert ACR on a wire
Parameters:
  • wire (TopoDS_Wire &) –
  • ACRcuts (TColStd_Array1OfReal &) –
  • prec (float) –
Return type:

TopoDS_Wire

static Shell(*args)
  • Computes a ruled surface between two wires. The wires must have the same number of edges.
Parameters:
  • Wire1 (TopoDS_Wire &) –
  • Wire2 (TopoDS_Wire &) –
Return type:

TopoDS_Shell

thisown

The membership flag

brepfill_Axe(*args)
  • Computes <AxeProf> as Follow. <Location> is the Position of the nearest vertex V of <Profile> to <Spine>.<XDirection> is confused with the tangent to <Spine> at the projected point of V on the Spine. <Direction> is normal to <Spine>. <Spine> is a plane wire or a plane face.
Parameters:
  • Spine (TopoDS_Shape &) –
  • Profile (TopoDS_Wire &) –
  • AxeProf (gp_Ax3) –
  • ProfOnSpine (bool) –
  • Tol (float) –
Return type:

void

brepfill_ComputeACR(*args)
  • Compute ACR on a wire
Parameters:
  • wire (TopoDS_Wire &) –
  • ACR (TColStd_Array1OfReal &) –
Return type:

void

brepfill_Face(*args)
  • Computes a ruled surface between two edges.
Parameters:
  • Edge1 (TopoDS_Edge &) –
  • Edge2 (TopoDS_Edge &) –
Return type:

TopoDS_Face

brepfill_InsertACR(*args)
  • Insert ACR on a wire
Parameters:
  • wire (TopoDS_Wire &) –
  • ACRcuts (TColStd_Array1OfReal &) –
  • prec (float) –
Return type:

TopoDS_Wire

brepfill_Shell(*args)
  • Computes a ruled surface between two wires. The wires must have the same number of edges.
Parameters:
  • Wire1 (TopoDS_Wire &) –
  • Wire2 (TopoDS_Wire &) –
Return type:

TopoDS_Shell

register_handle(handle, base_object)

Inserts the handle into the base object to prevent memory corruption in certain cases