OCC.BRepFill module¶
-
class
BRepFill_ACRLaw
(*args)¶ Bases:
OCC.BRepFill.BRepFill_LocationLaw
Parameters: - Path (TopoDS_Wire &) –
- Law (Handle_GeomFill_LocationGuide &) –
Return type: -
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
-
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
-
Perform
()¶ - Performs CompatibleWires According to the orientation and the origin of each other
Parameters: WithRotation (bool) – default value is Standard_True 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: Return type: -
SetConstraints
()¶ Parameters: - FirstC (AppParCurves_Constraint) –
- LastC (AppParCurves_Constraint) –
Return type:
-
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: Return type: Return type: -
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
BRepFill_DataMapIteratorOfDataMapOfNodeDataMapOfShapeShape
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None 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 -
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 -
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 -
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 -
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 -
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: -
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: -
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: -
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: -
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: -
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: - K (TopoDS_Shape &) –
- I (TColgp_SequenceOfPnt) –
- n (TCollection_MapNodePtr &) –
Return type: -
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: -
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
-
ChangeFind
()¶ Parameters: K (Handle_MAT_Node &) – Return type: TopTools_DataMapOfShapeShape
-
ChangeFind1
()¶ Parameters: K (Handle_MAT_Node &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (Handle_MAT_Node &) – Return type: TopTools_DataMapOfShapeShape
-
Find1
()¶ Parameters: K (Handle_MAT_Node &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (BRepFill_DataMapOfNodeDataMapOfShapeShape &) – Return type: BRepFill_DataMapOfNodeDataMapOfShapeShape
-
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
-
ChangeFind
()¶ Parameters: K (Handle_MAT_Node &) – Return type: TopoDS_Shape
-
ChangeFind1
()¶ Parameters: K (Handle_MAT_Node &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (Handle_MAT_Node &) – Return type: TopoDS_Shape
-
Find1
()¶ Parameters: K (Handle_MAT_Node &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (BRepFill_DataMapOfNodeShape &) – Return type: BRepFill_DataMapOfNodeShape
-
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
-
ChangeFind
()¶ Parameters: K (TopoDS_Shape &) – Return type: TopTools_ListOfShape
-
ChangeFind1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TopoDS_Shape &) – Return type: TopTools_ListOfShape
-
Find1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (BRepFill_DataMapOfOrientedShapeListOfShape &) – Return type: BRepFill_DataMapOfOrientedShapeListOfShape
-
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:
-
ChangeFind
()¶ Parameters: K (TopoDS_Shape &) – Return type: TopTools_DataMapOfShapeListOfShape
-
ChangeFind1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TopoDS_Shape &) – Return type: TopTools_DataMapOfShapeListOfShape
-
Find1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (BRepFill_DataMapOfShapeDataMapOfShapeListOfShape &) – Return type: BRepFill_DataMapOfShapeDataMapOfShapeListOfShape
-
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
-
ChangeFind
()¶ Parameters: K (TopoDS_Shape &) – Return type: Handle_TopTools_HArray2OfShape
-
ChangeFind1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TopoDS_Shape &) – Return type: Handle_TopTools_HArray2OfShape
-
Find1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (BRepFill_DataMapOfShapeHArray2OfShape &) – Return type: BRepFill_DataMapOfShapeHArray2OfShape
-
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: - K (TopoDS_Shape &) –
- I (TColgp_SequenceOfPnt) –
Return type:
-
ChangeFind
()¶ Parameters: K (TopoDS_Shape &) – Return type: TColgp_SequenceOfPnt
-
ChangeFind1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TopoDS_Shape &) – Return type: TColgp_SequenceOfPnt
-
Find1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (BRepFill_DataMapOfShapeSequenceOfPnt &) – Return type: BRepFill_DataMapOfShapeSequenceOfPnt
-
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
-
ChangeFind
()¶ Parameters: K (TopoDS_Shape &) – Return type: TColStd_SequenceOfReal
-
ChangeFind1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TopoDS_Shape &) – Return type: TColStd_SequenceOfReal
-
Find1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (BRepFill_DataMapOfShapeSequenceOfReal &) – Return type: BRepFill_DataMapOfShapeSequenceOfReal
-
thisown
¶ The membership flag
-
-
class
BRepFill_Draft
(*args)¶ Bases:
object
Parameters: Return type: -
Generated
()¶ - Returns the list of shapes generated from the shape <S>.
Parameters: S (TopoDS_Shape &) – Return type: TopTools_ListOfShape
-
Perform
()¶ Parameters: Return type: Return type: Return type:
-
SetOptions
()¶ Parameters: Return type:
-
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: -
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
BRepFill_Edge3DLaw
(*args)¶ Bases:
OCC.BRepFill.BRepFill_LocationLaw
Parameters: - Path (TopoDS_Wire &) –
- Law (Handle_GeomFill_LocationLaw &) –
Return type: -
GetHandle
()¶
-
thisown
¶ The membership flag
-
class
BRepFill_EdgeFaceAndOrder
(*args)¶ Bases:
object
Return type: Parameters: - anEdge (TopoDS_Edge &) –
- aFace (TopoDS_Face &) –
- anOrder (GeomAbs_Shape) –
Return type: -
thisown
¶ The membership flag
-
class
BRepFill_EdgeOnSurfLaw
(*args)¶ Bases:
OCC.BRepFill.BRepFill_LocationLaw
Parameters: - Path (TopoDS_Wire &) –
- Surf (TopoDS_Shape &) –
Return type: -
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: Return type: - Creates an evolved shape by sweeping the <Profile> along the <Spine>
Parameters: Return type: -
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:
-
JoinType
()¶ Return type: GeomAbs_JoinType
-
Perform
()¶ - Performs an evolved shape by sweeping the <Profile> along the <Spine>
Parameters: Return type: - Performs an evolved shape by sweeping the <Profile> along the <Spine>
Parameters: Return type:
-
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: Parameters: - aFace (TopoDS_Face &) –
- anOrder (GeomAbs_Shape) –
Return type: -
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: -
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: - 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: - 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: - Adds a punctual constraint
Parameters: Point (gp_Pnt) – Return type: int - Adds a punctual constraint.
Parameters: Return type:
-
Face
()¶ Return type: TopoDS_Face
-
Generated
()¶ - Returns the list of shapes generated from the shape <S>.
Parameters: S (TopoDS_Shape &) – Return type: TopTools_ListOfShape
-
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: Return type:
-
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: Return type:
-
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: Return type:
-
thisown
¶ The membership flag
-
class
BRepFill_Generator
(*args)¶ Bases:
object
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
-
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: -
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 -
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
-
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
-
FindKey
()¶ Parameters: I (int) – Return type: TopoDS_Shape
-
Set
()¶ Parameters: Other (BRepFill_IndexedDataMapOfOrientedShapeListOfShape &) – Return type: BRepFill_IndexedDataMapOfOrientedShapeListOfShape
-
thisown
¶ The membership flag
-
-
class
BRepFill_ListIteratorOfListOfOffsetWire
(*args)¶ Bases:
object
Return type: None Parameters: L (BRepFill_ListOfOffsetWire &) – 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: -
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: Return type: Return type:
-
First
()¶ Return type: BRepFill_OffsetWire
-
InsertAfter
()¶ Parameters: - I (BRepFill_OffsetWire &) –
- It (BRepFill_ListIteratorOfListOfOffsetWire &) –
- Other (BRepFill_ListOfOffsetWire &) –
- It –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - I (BRepFill_OffsetWire &) –
- It (BRepFill_ListIteratorOfListOfOffsetWire &) –
- Other (BRepFill_ListOfOffsetWire &) –
- It –
Return type: Return type:
-
Last
()¶ Return type: BRepFill_OffsetWire
-
Prepend
()¶ Parameters: - I (BRepFill_OffsetWire &) –
- I –
- theIt (BRepFill_ListIteratorOfListOfOffsetWire &) –
- Other (BRepFill_ListOfOffsetWire &) –
Return type: Return type: Return type:
-
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:
-
CurvilinearBounds
()¶ - Return the Curvilinear Bounds of the <Index> Law
Parameters: - Index (int) –
- First (float &) –
- Last (float &) –
Return type:
-
D0
()¶ - Apply the Law to a shape, for a given Curnilinear abscissa
Parameters: - Abscissa (float) –
- Section (TopoDS_Shape &) –
Return type:
-
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
-
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: Return type:
-
Parameter
()¶ - Find the index Law and the parmaeter, for a given Curnilinear abscissa
Parameters: - Abscissa (float) –
- Index (int &) –
- Param (float &) –
Return type:
-
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: Return type:
-
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:
OCC.AppCont.AppCont_Function
Return type: Parameters: Return type: -
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:
-
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
-
Value
()¶ - Returns the current point on the 3d curve
Parameters: U (float) – Return type: gp_Pnt - Returns the point at parameter <theU>.
Parameters: - theU (float) –
- thePnt2d (NCollection_Array1<gp_Pnt2d>) –
- thePnt (NCollection_Array1<gp_Pnt>) –
Return type:
-
Value3dOnF1OnF2
()¶ Parameters: Return type:
-
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_NSections
(*args)¶ Bases:
OCC.BRepFill.BRepFill_SectionLaw
- Construct
Parameters: - S (TopTools_SequenceOfShape &) –
- Build (bool) – default value is Standard_True
Return type: - Construct
Parameters: Return type: -
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
-
thisown
¶ The membership flag
-
-
class
BRepFill_OffsetWire
(*args)¶ Bases:
object
Return type: Parameters: - Spine (TopoDS_Face &) –
- Join (GeomAbs_JoinType) – default value is GeomAbs_Arc
- IsOpenResult (bool) – default value is Standard_False
Return type: -
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:
-
JoinType
()¶ Return type: GeomAbs_JoinType
-
Perform
()¶ - Performs an OffsetWire at an altitude <Alt> from the face ( According to the orientation of the face)
Parameters: Return type:
-
PerformWithBiLo
()¶ - Performs an OffsetWire
Parameters: Return type:
-
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: Parameters: Return type: -
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:
-
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:
-
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:
-
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: Return type: - Set an section. The corespondance with the spine, is given by <Location>
Parameters: Return type:
-
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:
-
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:
-
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: Return type: - Set an section and an homotetic law. The homotetie center is given by point on the <Spine>
Parameters: Return type:
-
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: Return type:
-
SetTransition
()¶ - Set the Transition Mode to manage discontinuities on the sweep.
Parameters: Return type:
-
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:
-
thisown
¶ The membership flag
-
class
BRepFill_Section
(*args)¶ Bases:
object
Return type: Parameters: Return type: -
Vertex
()¶ Return type: TopoDS_Vertex
-
Wire
()¶ Return type: TopoDS_Wire
-
thisown
¶ The membership flag
-
-
class
BRepFill_SectionLaw
(*args, **kwargs)¶ Bases:
OCC.MMgt.MMgt_TShared
-
ConcatenedLaw
()¶ Return type: Handle_GeomFill_SectionLaw
-
CurrentEdge
()¶ Return type: TopoDS_Edge
-
GetHandle
()¶
-
Vertex
()¶ Parameters: Return type:
-
law
()¶ Parameters: Index (int) – Return type: Handle_GeomFill_SectionLaw
-
thisown
¶ The membership flag
-
-
class
BRepFill_SectionPlacement
(*args)¶ Bases:
object
- Automatic placement
Parameters: Return type: - Placement on vertex
Parameters: Return type: -
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: -
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: -
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: -
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: Return type:
-
Assign
()¶ Parameters: Other (BRepFill_SequenceOfEdgeFaceAndOrder &) – Return type: BRepFill_SequenceOfEdgeFaceAndOrder
-
ChangeValue
()¶ Parameters: Index (int) – Return type: BRepFill_EdgeFaceAndOrder
-
First
()¶ Return type: BRepFill_EdgeFaceAndOrder
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (BRepFill_EdgeFaceAndOrder &) –
- Index –
- S (BRepFill_SequenceOfEdgeFaceAndOrder &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (BRepFill_EdgeFaceAndOrder &) –
- Index –
- S (BRepFill_SequenceOfEdgeFaceAndOrder &) –
Return type: Return type:
-
Last
()¶ Return type: BRepFill_EdgeFaceAndOrder
-
Prepend
()¶ Parameters: - T (BRepFill_EdgeFaceAndOrder &) –
- S (BRepFill_SequenceOfEdgeFaceAndOrder &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (BRepFill_SequenceOfEdgeFaceAndOrder &) – Return type: BRepFill_SequenceOfEdgeFaceAndOrder
-
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: Return type:
-
Assign
()¶ Parameters: Other (BRepFill_SequenceOfFaceAndOrder &) – Return type: BRepFill_SequenceOfFaceAndOrder
-
ChangeValue
()¶ Parameters: Index (int) – Return type: BRepFill_FaceAndOrder
-
First
()¶ Return type: BRepFill_FaceAndOrder
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (BRepFill_FaceAndOrder &) –
- Index –
- S (BRepFill_SequenceOfFaceAndOrder &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (BRepFill_FaceAndOrder &) –
- Index –
- S (BRepFill_SequenceOfFaceAndOrder &) –
Return type: Return type:
-
Last
()¶ Return type: BRepFill_FaceAndOrder
-
Prepend
()¶ Parameters: - T (BRepFill_FaceAndOrder &) –
- S (BRepFill_SequenceOfFaceAndOrder &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (BRepFill_SequenceOfFaceAndOrder &) – Return type: BRepFill_SequenceOfFaceAndOrder
-
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: Return type:
-
Assign
()¶ Parameters: Other (BRepFill_SequenceOfSection &) – Return type: BRepFill_SequenceOfSection
-
ChangeValue
()¶ Parameters: Index (int) – Return type: BRepFill_Section
-
First
()¶ Return type: BRepFill_Section
-
InsertAfter
()¶ Parameters: - Index (int) –
- T (BRepFill_Section &) –
- Index –
- S (BRepFill_SequenceOfSection &) –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - Index (int) –
- T (BRepFill_Section &) –
- Index –
- S (BRepFill_SequenceOfSection &) –
Return type: Return type:
-
Last
()¶ Return type: BRepFill_Section
-
Prepend
()¶ Parameters: - T (BRepFill_Section &) –
- S (BRepFill_SequenceOfSection &) –
Return type: Return type:
-
Remove
()¶ Parameters: Return type: Return type:
-
Set
()¶ Parameters: Other (BRepFill_SequenceOfSection &) – Return type: BRepFill_SequenceOfSection
-
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: - Construct an constant Law
Parameters: - W (TopoDS_Wire &) –
- Build (bool) – default value is Standard_True
Return type: - Construct an evolutive Law
Parameters: - W (TopoDS_Wire &) –
- L (Handle_Law_Function &) –
- Build (bool) – default value is Standard_True
Return type: -
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: -
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:
-
InterFaces
()¶ Return type: Handle_TopTools_HArray2OfShape
-
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: Return type:
-
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: Return type:
-
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: Parameters: - Bisec (Bisector_Bisec &) –
- S1 (Handle_Geom2d_Geometry &) –
- S2 (Handle_Geom2d_Geometry &) –
- Offset (float) –
Return type: -
AddOrConfuse
()¶ Parameters: - Start (bool) –
- Edge1 (TopoDS_Edge &) –
- Edge2 (TopoDS_Edge &) –
- Params (TColgp_SequenceOfPnt) –
Return type:
-
IntersectWith
()¶ Parameters: - Edge1 (TopoDS_Edge &) –
- Edge2 (TopoDS_Edge &) –
- theJoinType (GeomAbs_JoinType) –
- Params (TColgp_SequenceOfPnt) –
Return type:
-
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: Return type: -
Modified
()¶ Parameters: - S (TopoDS_Shape &) –
- theModified (TopTools_ListOfShape &) –
Return type:
-
thisown
¶ The membership flag
-
class
BRepFill_TrimSurfaceTool
(*args)¶ Bases:
object
Parameters: Return type: -
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: - EdgeOnF1 (TopoDS_Edge &) –
- EdgeOnF2 (TopoDS_Edge &) –
- Points (TColgp_SequenceOfPnt) –
Return type:
-
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:
-
Project
()¶ Parameters: Return type:
-
thisown
¶ The membership flag
-
-
class
Handle_BRepFill_ACRLaw
(*args)¶ Bases:
OCC.BRepFill.Handle_BRepFill_LocationLaw
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_CurveConstraint
(*args)¶ Bases:
OCC.GeomPlate.Handle_GeomPlate_CurveConstraint
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_DataMapNodeOfDataMapOfNodeDataMapOfShapeShape
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_DataMapNodeOfDataMapOfNodeShape
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_DataMapNodeOfDataMapOfOrientedShapeListOfShape
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_DataMapNodeOfDataMapOfShapeDataMapOfShapeListOfShape
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_DataMapNodeOfDataMapOfShapeHArray2OfShape
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfPnt
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_DataMapNodeOfDataMapOfShapeSequenceOfReal
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_DraftLaw
(*args)¶ Bases:
OCC.BRepFill.Handle_BRepFill_Edge3DLaw
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_Edge3DLaw
(*args)¶ Bases:
OCC.BRepFill.Handle_BRepFill_LocationLaw
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_EdgeOnSurfLaw
(*args)¶ Bases:
OCC.BRepFill.Handle_BRepFill_LocationLaw
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_IndexedDataMapNodeOfIndexedDataMapOfOrientedShapeListOfShape
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_ListNodeOfListOfOffsetWire
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_LocationLaw
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_NSections
(*args)¶ Bases:
OCC.BRepFill.Handle_BRepFill_SectionLaw
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_PipeShell
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_SectionLaw
(*args)¶ Bases:
OCC.MMgt.Handle_MMgt_TShared
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_SequenceNodeOfSequenceOfEdgeFaceAndOrder
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_SequenceNodeOfSequenceOfFaceAndOrder
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_SequenceNodeOfSequenceOfSection
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_SeqNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepFill_ShapeLaw
(*args)¶ Bases:
OCC.BRepFill.Handle_BRepFill_SectionLaw
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
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
()¶ - 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: Return type: void
-
static
ComputeACR
()¶ - Compute ACR on a wire
Parameters: - wire (TopoDS_Wire &) –
- ACR (TColStd_Array1OfReal &) –
Return type: void
-
static
Face
()¶ - Computes a ruled surface between two edges.
Parameters: - Edge1 (TopoDS_Edge &) –
- Edge2 (TopoDS_Edge &) –
Return type:
-
static
InsertACR
()¶ - Insert ACR on a wire
Parameters: - wire (TopoDS_Wire &) –
- ACRcuts (TColStd_Array1OfReal &) –
- prec (float) –
Return type:
-
static
Shell
()¶ - 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:
-
thisown
¶ The membership flag
-
static
-
brepfill_Axe
()¶ - 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: Return type: void
-
brepfill_ComputeACR
()¶ - Compute ACR on a wire
Parameters: - wire (TopoDS_Wire &) –
- ACR (TColStd_Array1OfReal &) –
Return type: void
-
brepfill_Face
()¶ - Computes a ruled surface between two edges.
Parameters: - Edge1 (TopoDS_Edge &) –
- Edge2 (TopoDS_Edge &) –
Return type:
-
brepfill_InsertACR
()¶ - Insert ACR on a wire
Parameters: - wire (TopoDS_Wire &) –
- ACRcuts (TColStd_Array1OfReal &) –
- prec (float) –
Return type:
-
brepfill_Shell
()¶ - 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:
-
new_instancemethod
(func, inst, cls)¶
-
register_handle
(handle, base_object)¶ Inserts the handle into the base object to prevent memory corruption in certain cases