OCC.BRepOffset module¶
-
class
BRepOffset_Analyse
(*args)¶ Bases:
object
Return type: Parameters: - S (TopoDS_Shape &) –
- Angle (float) –
Return type: -
AddFaces
()¶ - Add in <CO> the faces of the shell containing <Face> where all the connex edges are of type <Side>.
Parameters: - Face (TopoDS_Face &) –
- Co (TopoDS_Compound &) –
- Map (TopTools_MapOfShape &) –
- Type (BRepOffset_Type) –
Return type: - Add in <CO> the faces of the shell containing <Face> where all the connex edges are of type <Side1> or <Side2>.
Parameters: - Face (TopoDS_Face &) –
- Co (TopoDS_Compound &) –
- Map (TopTools_MapOfShape &) –
- Type1 (BRepOffset_Type) –
- Type2 (BRepOffset_Type) –
Return type:
-
Ancestors
()¶ Parameters: S (TopoDS_Shape &) – Return type: TopTools_ListOfShape
-
Edges
()¶ - Stores in <L> all the edges of Type <T> on the vertex <V>.
Parameters: - V (TopoDS_Vertex &) –
- T (BRepOffset_Type) –
- L (TopTools_ListOfShape &) –
Return type: - Stores in <L> all the edges of Type <T> on the face <F>.
Parameters: - F (TopoDS_Face &) –
- T (BRepOffset_Type) –
- L (TopTools_ListOfShape &) –
Return type:
-
Explode
()¶ - Explode in compounds of faces where all the connex edges are of type <Side>
Parameters: - L (TopTools_ListOfShape &) –
- Type (BRepOffset_Type) –
Return type: - Explode in compounds of faces where all the connex edges are of type <Side1> or <Side2>
Parameters: - L (TopTools_ListOfShape &) –
- Type1 (BRepOffset_Type) –
- Type2 (BRepOffset_Type) –
Return type:
-
TangentEdges
()¶ - set in <Edges> all the Edges of <Shape> which are tangent to <Edge> at the vertex <Vertex>.
Parameters: - Edge (TopoDS_Edge &) –
- Vertex (TopoDS_Vertex &) –
- Edges (TopTools_ListOfShape &) –
Return type:
-
Type
()¶ Parameters: E (TopoDS_Edge &) – Return type: BRepOffset_ListOfInterval
-
thisown
¶ The membership flag
-
class
BRepOffset_DataMapIteratorOfDataMapOfShapeListOfInterval
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None Parameters: aMap (BRepOffset_DataMapOfShapeListOfInterval &) – Return type: None -
Key
()¶ Return type: TopoDS_Shape
-
Value
()¶ Return type: BRepOffset_ListOfInterval
-
thisown
¶ The membership flag
-
-
class
BRepOffset_DataMapIteratorOfDataMapOfShapeMapOfShape
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None Parameters: aMap (BRepOffset_DataMapOfShapeMapOfShape &) – Return type: None -
Key
()¶ Return type: TopoDS_Shape
-
Value
()¶ Return type: TopTools_MapOfShape
-
thisown
¶ The membership flag
-
-
class
BRepOffset_DataMapIteratorOfDataMapOfShapeOffset
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMapIterator
Return type: None Parameters: aMap (BRepOffset_DataMapOfShapeOffset &) – Return type: None -
Key
()¶ Return type: TopoDS_Shape
-
Value
()¶ Return type: BRepOffset_Offset
-
thisown
¶ The membership flag
-
-
class
BRepOffset_DataMapNodeOfDataMapOfShapeListOfInterval
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K (TopoDS_Shape &) –
- I (BRepOffset_ListOfInterval &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Key
()¶ Return type: TopoDS_Shape
-
Value
()¶ Return type: BRepOffset_ListOfInterval
-
thisown
¶ The membership flag
-
class
BRepOffset_DataMapNodeOfDataMapOfShapeMapOfShape
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K (TopoDS_Shape &) –
- I (TopTools_MapOfShape &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Key
()¶ Return type: TopoDS_Shape
-
Value
()¶ Return type: TopTools_MapOfShape
-
thisown
¶ The membership flag
-
class
BRepOffset_DataMapNodeOfDataMapOfShapeOffset
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - K (TopoDS_Shape &) –
- I (BRepOffset_Offset &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Key
()¶ Return type: TopoDS_Shape
-
Value
()¶ Return type: BRepOffset_Offset
-
thisown
¶ The membership flag
-
class
BRepOffset_DataMapOfShapeListOfInterval
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMap
Parameters: NbBuckets (int) – default value is 1 Return type: None -
Assign
()¶ Parameters: Other (BRepOffset_DataMapOfShapeListOfInterval &) – Return type: BRepOffset_DataMapOfShapeListOfInterval
-
ChangeFind
()¶ Parameters: K (TopoDS_Shape &) – Return type: BRepOffset_ListOfInterval
-
ChangeFind1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TopoDS_Shape &) – Return type: BRepOffset_ListOfInterval
-
Find1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (BRepOffset_DataMapOfShapeListOfInterval &) – Return type: BRepOffset_DataMapOfShapeListOfInterval
-
thisown
¶ The membership flag
-
-
class
BRepOffset_DataMapOfShapeMapOfShape
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMap
Parameters: NbBuckets (int) – default value is 1 Return type: None -
Assign
()¶ Parameters: Other (BRepOffset_DataMapOfShapeMapOfShape &) – Return type: BRepOffset_DataMapOfShapeMapOfShape
-
ChangeFind
()¶ Parameters: K (TopoDS_Shape &) – Return type: TopTools_MapOfShape
-
ChangeFind1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TopoDS_Shape &) – Return type: TopTools_MapOfShape
-
Find1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (BRepOffset_DataMapOfShapeMapOfShape &) – Return type: BRepOffset_DataMapOfShapeMapOfShape
-
thisown
¶ The membership flag
-
-
class
BRepOffset_DataMapOfShapeOffset
(*args)¶ Bases:
OCC.TCollection.TCollection_BasicMap
Parameters: NbBuckets (int) – default value is 1 Return type: None -
Assign
()¶ Parameters: Other (BRepOffset_DataMapOfShapeOffset &) – Return type: BRepOffset_DataMapOfShapeOffset
-
ChangeFind
()¶ Parameters: K (TopoDS_Shape &) – Return type: BRepOffset_Offset
-
ChangeFind1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Find
()¶ Parameters: K (TopoDS_Shape &) – Return type: BRepOffset_Offset
-
Find1
()¶ Parameters: K (TopoDS_Shape &) – Return type: Standard_Address
-
Set
()¶ Parameters: Other (BRepOffset_DataMapOfShapeOffset &) – Return type: BRepOffset_DataMapOfShapeOffset
-
thisown
¶ The membership flag
-
-
class
BRepOffset_Inter2d
¶ Bases:
object
-
static
Compute
()¶ - Computes the intersections between the edges stored is AsDes as descendants of <F> . Intersections is computed between two edges if one of them is bound in NewEdges.
Parameters: - AsDes (Handle_BRepAlgo_AsDes &) –
- F (TopoDS_Face &) –
- NewEdges (TopTools_IndexedMapOfShape &) –
- Tol (float) –
Return type: void
-
static
ConnexIntByInt
()¶ Parameters: Return type: void
-
thisown
¶ The membership flag
-
static
-
BRepOffset_Inter2d_Compute
()¶ - Computes the intersections between the edges stored is AsDes as descendants of <F> . Intersections is computed between two edges if one of them is bound in NewEdges.
Parameters: - AsDes (Handle_BRepAlgo_AsDes &) –
- F (TopoDS_Face &) –
- NewEdges (TopTools_IndexedMapOfShape &) –
- Tol (float) –
Return type: void
-
BRepOffset_Inter2d_ConnexIntByInt
()¶ Parameters: Return type: void
-
class
BRepOffset_Inter3d
(*args)¶ Bases:
object
Parameters: - AsDes (Handle_BRepAlgo_AsDes &) –
- Side (TopAbs_State) –
- Tol (float) –
Return type: -
AsDes
()¶ Return type: Handle_BRepAlgo_AsDes
-
CompletInt
()¶ Parameters: - SetOfFaces (TopTools_ListOfShape &) –
- InitOffsetFace (BRepAlgo_Image &) –
Return type:
-
ConnexIntByArc
()¶ Parameters: - SetOfFaces (TopTools_ListOfShape &) –
- ShapeInit (TopoDS_Shape &) –
- Analyse (BRepOffset_Analyse &) –
- InitOffsetFace (BRepAlgo_Image &) –
Return type:
-
ConnexIntByInt
()¶ Parameters: - SI (TopoDS_Shape &) –
- MapSF (BRepOffset_DataMapOfShapeOffset &) –
- A (BRepOffset_Analyse &) –
- MES (TopTools_DataMapOfShapeShape &) –
- Build (TopTools_DataMapOfShapeShape &) –
- Failed (TopTools_ListOfShape &) –
Return type:
-
ContextIntByArc
()¶ Parameters: - ContextFaces (TopTools_IndexedMapOfShape &) –
- ExtentContext (bool) –
- Analyse (BRepOffset_Analyse &) –
- InitOffsetFace (BRepAlgo_Image &) –
- InitOffsetEdge (BRepAlgo_Image &) –
Return type:
-
ContextIntByInt
()¶ Parameters: - ContextFaces (TopTools_IndexedMapOfShape &) –
- ExtentContext (bool) –
- MapSF (BRepOffset_DataMapOfShapeOffset &) –
- A (BRepOffset_Analyse &) –
- MES (TopTools_DataMapOfShapeShape &) –
- Build (TopTools_DataMapOfShapeShape &) –
- Failed (TopTools_ListOfShape &) –
Return type:
-
FaceInter
()¶ Parameters: - F1 (TopoDS_Face &) –
- F2 (TopoDS_Face &) –
- InitOffsetFace (BRepAlgo_Image &) –
Return type:
-
NewEdges
()¶ Return type: TopTools_IndexedMapOfShape
-
TouchedFaces
()¶ Return type: TopTools_IndexedMapOfShape
-
thisown
¶ The membership flag
-
class
BRepOffset_Interval
(*args)¶ Bases:
object
Return type: Parameters: Return type: -
thisown
¶ The membership flag
-
-
class
BRepOffset_ListIteratorOfListOfInterval
(*args)¶ Bases:
object
Return type: None Parameters: L (BRepOffset_ListOfInterval &) – Return type: None -
Value
()¶ Return type: BRepOffset_Interval
-
thisown
¶ The membership flag
-
-
class
BRepOffset_ListNodeOfListOfInterval
(*args)¶ Bases:
OCC.TCollection.TCollection_MapNode
Parameters: - I (BRepOffset_Interval &) –
- n (TCollection_MapNodePtr &) –
Return type: -
GetHandle
()¶
-
Value
()¶ Return type: BRepOffset_Interval
-
thisown
¶ The membership flag
-
class
BRepOffset_ListOfInterval
(*args)¶ Bases:
object
Return type: None Parameters: Other (BRepOffset_ListOfInterval &) – Return type: None -
Append
()¶ Parameters: - I (BRepOffset_Interval &) –
- I –
- theIt (BRepOffset_ListIteratorOfListOfInterval &) –
- Other (BRepOffset_ListOfInterval &) –
Return type: Return type: Return type:
-
First
()¶ Return type: BRepOffset_Interval
-
InsertAfter
()¶ Parameters: - I (BRepOffset_Interval &) –
- It (BRepOffset_ListIteratorOfListOfInterval &) –
- Other (BRepOffset_ListOfInterval &) –
- It –
Return type: Return type:
-
InsertBefore
()¶ Parameters: - I (BRepOffset_Interval &) –
- It (BRepOffset_ListIteratorOfListOfInterval &) –
- Other (BRepOffset_ListOfInterval &) –
- It –
Return type: Return type:
-
Last
()¶ Return type: BRepOffset_Interval
-
Prepend
()¶ Parameters: - I (BRepOffset_Interval &) –
- I –
- theIt (BRepOffset_ListIteratorOfListOfInterval &) –
- Other (BRepOffset_ListOfInterval &) –
Return type: Return type: Return type:
-
thisown
¶ The membership flag
-
-
class
BRepOffset_MakeLoops
(*args)¶ Bases:
object
Return type: None -
Build
()¶ Parameters: - LF (TopTools_ListOfShape &) –
- AsDes (Handle_BRepAlgo_AsDes &) –
- Image (BRepAlgo_Image &) –
Return type:
-
BuildFaces
()¶ Parameters: - LF (TopTools_ListOfShape &) –
- AsDes (Handle_BRepAlgo_AsDes &) –
- Image (BRepAlgo_Image &) –
Return type:
-
BuildOnContext
()¶ Parameters: - LContext (TopTools_ListOfShape &) –
- Analyse (BRepOffset_Analyse &) –
- AsDes (Handle_BRepAlgo_AsDes &) –
- Image (BRepAlgo_Image &) –
- InSide (bool) –
Return type:
-
thisown
¶ The membership flag
-
-
class
BRepOffset_MakeOffset
(*args)¶ Bases:
object
Return type: Parameters: - S (TopoDS_Shape &) –
- Offset (float) –
- Tol (float) –
- Mode (BRepOffset_Mode) – default value is BRepOffset_Skin
- Intersection (bool) – default value is Standard_False
- SelfInter (bool) – default value is Standard_False
- Join (GeomAbs_JoinType) – default value is GeomAbs_Arc
- Thickening (bool) – default value is Standard_False
Return type: -
AddFace
()¶ - Add Closing Faces, <F> has to be in the initial shape S.
Parameters: F (TopoDS_Face &) – Return type: None
-
CheckInputData
()¶ - Makes pre analysis of possibility offset perform. Use method Error() to get more information. Finds first error. List of checks: 1) Check for existence object with non-null offset. 2) Check for connectivity in offset shell. 3) Check continuity of input surfaces. 4) Check for normals existence on grid. returns 1 if possible make computations and 0 if not possible.
Return type: bool
-
ClosingFaces
()¶ - Returns the list of closing faces stores by AddFace
Return type: TopTools_IndexedMapOfShape
-
Error
()¶ - returns information if IsDone() = False.
Return type: BRepOffset_Error
-
GetBadShape
()¶ - Return bad shape, which obtained in CheckInputData.
Return type: TopoDS_Shape
-
GetJoinType
()¶ - Returns myJoin.
Return type: GeomAbs_JoinType
-
Initialize
()¶ Parameters: - S (TopoDS_Shape &) –
- Offset (float) –
- Tol (float) –
- Mode (BRepOffset_Mode) – default value is BRepOffset_Skin
- Intersection (bool) – default value is Standard_False
- SelfInter (bool) – default value is Standard_False
- Join (GeomAbs_JoinType) – default value is GeomAbs_Arc
- Thickening (bool) – default value is Standard_False
Return type:
-
OffsetEdgesFromShapes
()¶ - Returns <Image> containing links between initials shapes and offset edges.
Return type: BRepAlgo_Image
-
OffsetFacesFromShapes
()¶ - Returns <Image> containing links between initials shapes and offset faces.
Return type: BRepAlgo_Image
-
SetOffsetOnFace
()¶ - set the offset <Off> on the Face <F>
Parameters: - F (TopoDS_Face &) –
- Off (float) –
Return type:
-
Shape
()¶ Return type: TopoDS_Shape
-
thisown
¶ The membership flag
-
class
BRepOffset_Offset
(*args)¶ Bases:
object
Return type: Parameters: Return type: - This method will be called when you want to share the edges soon generated from an other face. e.g. when two faces are tangents the common edge will generate only one edge ( no pipe). //! The Map will be fill as follow: //! Created(E) = E’ with: E = an edge of <Face> E’ = the image of E in the offseting of another face sharing E with a continuity at least G1
Parameters: - Face (TopoDS_Face &) –
- Offset (float) –
- Created (TopTools_DataMapOfShapeShape &) –
- OffsetOutside (bool) – default value is Standard_True
- JoinType (GeomAbs_JoinType) – default value is GeomAbs_Arc
- Path (TopoDS_Edge &) –
- Edge1 (TopoDS_Edge &) –
- Edge2 (TopoDS_Edge &) –
- Offset –
- Polynomial (bool) – default value is Standard_False
- Tol (float) – default value is 1.0e-4
- Conti (GeomAbs_Shape) – default value is GeomAbs_C1
- Path –
- Edge1 –
- Edge2 –
- Offset –
- FirstEdge (TopoDS_Edge &) –
- LastEdge (TopoDS_Edge &) –
- Polynomial – default value is Standard_False
- Tol – default value is 1.0e-4
- Conti – default value is GeomAbs_C1
Return type: Return type: Return type: - Tol and Conti are only used if Polynomial is True (Used to perfrom the approximation)
Parameters: Return type: -
Face
()¶ Return type: TopoDS_Face
-
Generated
()¶ Parameters: Shape (TopoDS_Shape &) – Return type: TopoDS_Shape
-
Init
()¶ Parameters: - Face (TopoDS_Face &) –
- Offset (float) –
- OffsetOutside (bool) – default value is Standard_True
- JoinType (GeomAbs_JoinType) – default value is GeomAbs_Arc
- Face –
- Offset –
- Created (TopTools_DataMapOfShapeShape &) –
- OffsetOutside – default value is Standard_True
- JoinType – default value is GeomAbs_Arc
- Path (TopoDS_Edge &) –
- Edge1 (TopoDS_Edge &) –
- Edge2 (TopoDS_Edge &) –
- Offset –
- Polynomial (bool) – default value is Standard_False
- Tol (float) – default value is 1.0e-4
- Conti (GeomAbs_Shape) – default value is GeomAbs_C1
- Path –
- Edge1 –
- Edge2 –
- Offset –
- FirstEdge (TopoDS_Edge &) –
- LastEdge (TopoDS_Edge &) –
- Polynomial – default value is Standard_False
- Tol – default value is 1.0e-4
- Conti – default value is GeomAbs_C1
Return type: Return type: Return type: Return type: - Tol and Conti are only used if Polynomial is True (Used to perfrom the approximation)
Parameters: Return type: - Only used in Rolling Ball. Pipe on Free Boundary
Parameters: - Edge (TopoDS_Edge &) –
- Offset (float) –
Return type:
-
InitialShape
()¶ Return type: TopoDS_Shape
-
Status
()¶ Return type: BRepOffset_Status
-
thisown
¶ The membership flag
-
class
BRepOffset_Tool
¶ Bases:
object
-
static
BuildNeighbour
()¶ - Via the wire explorer store in <NOnV1> for an Edge <E> of <W> his Edge neighbour on the first vertex <V1> of <E>. Store in NOnV2 the Neighbour of <E>on the last vertex <V2> of <E>.
Parameters: - W (TopoDS_Wire &) –
- F (TopoDS_Face &) –
- NOnV1 (TopTools_DataMapOfShapeShape &) –
- NOnV2 (TopTools_DataMapOfShapeShape &) –
Return type: void
-
static
CheckBounds
()¶ Parameters: Return type: void
-
static
CorrectOrientation
()¶ Parameters: - SI (TopoDS_Shape &) –
- NewEdges (TopTools_IndexedMapOfShape &) –
- AsDes (Handle_BRepAlgo_AsDes &) –
- InitOffset (BRepAlgo_Image &) –
- Offset (float) –
Return type: void
-
static
Deboucle3D
()¶ - Remove the non valid part of an offsetshape 1 - Remove all the free boundary and the faces connex to such edges. 2 - Remove all the shapes not valid in the result (according to the side of offseting) in this verion only the first point is implemented.
Parameters: - S (TopoDS_Shape &) –
- Boundary (TopTools_MapOfShape &) –
Return type:
-
static
EdgeVertices
()¶ - <V1> is the FirstVertex ,<V2> is the Last Vertex of <Edge> taking account the orientation of Edge.
Parameters: - E (TopoDS_Edge &) –
- V1 (TopoDS_Vertex &) –
- V2 (TopoDS_Vertex &) –
Return type: void
-
static
EnLargeFace
()¶ - if <ChangeGeom> is True , the surface can be changed . if <UpdatePCurve> is True, update the pcurves of the edges of <F> on the new surface.if the surface has been changed, Returns True if The Surface of <NF> has changed.
Parameters: Return type:
-
static
ExtentFace
()¶ Parameters: - F (TopoDS_Face &) –
- ConstShapes (TopTools_DataMapOfShapeShape &) –
- ToBuild (TopTools_DataMapOfShapeShape &) –
- Side (TopAbs_State) –
- TolConf (float) –
- NF (TopoDS_Face &) –
Return type: void
-
static
HasCommonShapes
()¶ - Returns True if <F1> and <F2> has common Vertices or edges , <LE> contains the common edges. <LV> the common vertices.
Parameters: - F1 (TopoDS_Face &) –
- F2 (TopoDS_Face &) –
- LE (TopTools_ListOfShape &) –
- LV (TopTools_ListOfShape &) –
Return type:
-
static
Inter2d
()¶ Parameters: - F (TopoDS_Face &) –
- E1 (TopoDS_Edge &) –
- E2 (TopoDS_Edge &) –
- LV (TopTools_ListOfShape &) –
- Tol (float) –
Return type: void
-
static
Inter3D
()¶ - Computes the Section betwwen <F1> and <F2> the edges solution are stored in <LInt1> with the orientation on <F1>, the sames edges are stored in <Lint2> with the orientation on <F2>.
Parameters: - F1 (TopoDS_Face &) –
- F2 (TopoDS_Face &) –
- LInt1 (TopTools_ListOfShape &) –
- LInt2 (TopTools_ListOfShape &) –
- Side (TopAbs_State) –
- RefEdge (TopoDS_Edge &) –
- IsRefEdgeDefined (bool) – default value is Standard_False
Return type: void
-
static
InterOrExtent
()¶ Parameters: - F1 (TopoDS_Face &) –
- F2 (TopoDS_Face &) –
- LInt1 (TopTools_ListOfShape &) –
- LInt2 (TopTools_ListOfShape &) –
- Side (TopAbs_State) –
Return type: void
-
static
MapVertexEdges
()¶ - Store in MVE for a vertex <V> in <S> the incident edges <E> in <S>. An Edge is Store only one Time for a vertex.
Parameters: - S (TopoDS_Shape &) –
- MVE (TopTools_DataMapOfShapeListOfShape &) –
Return type: void
-
static
OriEdgeInFace
()¶ - returns the cumul of the orientation of <Edge> and thc containing wire in <Face>
Parameters: - E (TopoDS_Edge &) –
- F (TopoDS_Face &) –
Return type: TopAbs_Orientation
-
static
OrientSection
()¶ - <E> is a section between <F1> and <F2>. Computes <O1> the orientation of <E> in <F1> influenced by <F2>. idem for <O2>.
Parameters: - E (TopoDS_Edge &) –
- F1 (TopoDS_Face &) –
- F2 (TopoDS_Face &) –
- O1 (TopAbs_Orientation &) –
- O2 (TopAbs_Orientation &) –
Return type: void
-
static
PipeInter
()¶ Parameters: - F1 (TopoDS_Face &) –
- F2 (TopoDS_Face &) –
- LInt1 (TopTools_ListOfShape &) –
- LInt2 (TopTools_ListOfShape &) –
- Side (TopAbs_State) –
Return type: void
-
static
TryProject
()¶ - Find if the edges <Edges> of the face <F2> are on the face <F1>. Set in <LInt1> <LInt2> the updated edges. If all the edges are computed, returns true.
Parameters: - F1 (TopoDS_Face &) –
- F2 (TopoDS_Face &) –
- Edges (TopTools_ListOfShape &) –
- LInt1 (TopTools_ListOfShape &) –
- LInt2 (TopTools_ListOfShape &) –
- Side (TopAbs_State) –
- TolConf (float) –
Return type:
-
thisown
¶ The membership flag
-
static
-
BRepOffset_Tool_BuildNeighbour
()¶ - Via the wire explorer store in <NOnV1> for an Edge <E> of <W> his Edge neighbour on the first vertex <V1> of <E>. Store in NOnV2 the Neighbour of <E>on the last vertex <V2> of <E>.
Parameters: - W (TopoDS_Wire &) –
- F (TopoDS_Face &) –
- NOnV1 (TopTools_DataMapOfShapeShape &) –
- NOnV2 (TopTools_DataMapOfShapeShape &) –
Return type: void
-
BRepOffset_Tool_CheckBounds
()¶ Parameters: Return type: void
-
BRepOffset_Tool_CorrectOrientation
()¶ Parameters: - SI (TopoDS_Shape &) –
- NewEdges (TopTools_IndexedMapOfShape &) –
- AsDes (Handle_BRepAlgo_AsDes &) –
- InitOffset (BRepAlgo_Image &) –
- Offset (float) –
Return type: void
-
BRepOffset_Tool_Deboucle3D
()¶ - Remove the non valid part of an offsetshape 1 - Remove all the free boundary and the faces connex to such edges. 2 - Remove all the shapes not valid in the result (according to the side of offseting) in this verion only the first point is implemented.
Parameters: - S (TopoDS_Shape &) –
- Boundary (TopTools_MapOfShape &) –
Return type:
-
BRepOffset_Tool_EdgeVertices
()¶ - <V1> is the FirstVertex ,<V2> is the Last Vertex of <Edge> taking account the orientation of Edge.
Parameters: - E (TopoDS_Edge &) –
- V1 (TopoDS_Vertex &) –
- V2 (TopoDS_Vertex &) –
Return type: void
-
BRepOffset_Tool_EnLargeFace
()¶ - if <ChangeGeom> is True , the surface can be changed . if <UpdatePCurve> is True, update the pcurves of the edges of <F> on the new surface.if the surface has been changed, Returns True if The Surface of <NF> has changed.
Parameters: Return type:
-
BRepOffset_Tool_ExtentFace
()¶ Parameters: - F (TopoDS_Face &) –
- ConstShapes (TopTools_DataMapOfShapeShape &) –
- ToBuild (TopTools_DataMapOfShapeShape &) –
- Side (TopAbs_State) –
- TolConf (float) –
- NF (TopoDS_Face &) –
Return type: void
-
BRepOffset_Tool_HasCommonShapes
()¶ - Returns True if <F1> and <F2> has common Vertices or edges , <LE> contains the common edges. <LV> the common vertices.
Parameters: - F1 (TopoDS_Face &) –
- F2 (TopoDS_Face &) –
- LE (TopTools_ListOfShape &) –
- LV (TopTools_ListOfShape &) –
Return type:
-
BRepOffset_Tool_Inter2d
()¶ Parameters: - F (TopoDS_Face &) –
- E1 (TopoDS_Edge &) –
- E2 (TopoDS_Edge &) –
- LV (TopTools_ListOfShape &) –
- Tol (float) –
Return type: void
-
BRepOffset_Tool_Inter3D
()¶ - Computes the Section betwwen <F1> and <F2> the edges solution are stored in <LInt1> with the orientation on <F1>, the sames edges are stored in <Lint2> with the orientation on <F2>.
Parameters: - F1 (TopoDS_Face &) –
- F2 (TopoDS_Face &) –
- LInt1 (TopTools_ListOfShape &) –
- LInt2 (TopTools_ListOfShape &) –
- Side (TopAbs_State) –
- RefEdge (TopoDS_Edge &) –
- IsRefEdgeDefined (bool) – default value is Standard_False
Return type: void
-
BRepOffset_Tool_InterOrExtent
()¶ Parameters: - F1 (TopoDS_Face &) –
- F2 (TopoDS_Face &) –
- LInt1 (TopTools_ListOfShape &) –
- LInt2 (TopTools_ListOfShape &) –
- Side (TopAbs_State) –
Return type: void
-
BRepOffset_Tool_MapVertexEdges
()¶ - Store in MVE for a vertex <V> in <S> the incident edges <E> in <S>. An Edge is Store only one Time for a vertex.
Parameters: - S (TopoDS_Shape &) –
- MVE (TopTools_DataMapOfShapeListOfShape &) –
Return type: void
-
BRepOffset_Tool_OriEdgeInFace
()¶ - returns the cumul of the orientation of <Edge> and thc containing wire in <Face>
Parameters: - E (TopoDS_Edge &) –
- F (TopoDS_Face &) –
Return type: TopAbs_Orientation
-
BRepOffset_Tool_OrientSection
()¶ - <E> is a section between <F1> and <F2>. Computes <O1> the orientation of <E> in <F1> influenced by <F2>. idem for <O2>.
Parameters: - E (TopoDS_Edge &) –
- F1 (TopoDS_Face &) –
- F2 (TopoDS_Face &) –
- O1 (TopAbs_Orientation &) –
- O2 (TopAbs_Orientation &) –
Return type: void
-
BRepOffset_Tool_PipeInter
()¶ Parameters: - F1 (TopoDS_Face &) –
- F2 (TopoDS_Face &) –
- LInt1 (TopTools_ListOfShape &) –
- LInt2 (TopTools_ListOfShape &) –
- Side (TopAbs_State) –
Return type: void
-
BRepOffset_Tool_TryProject
()¶ - Find if the edges <Edges> of the face <F2> are on the face <F1>. Set in <LInt1> <LInt2> the updated edges. If all the edges are computed, returns true.
Parameters: - F1 (TopoDS_Face &) –
- F2 (TopoDS_Face &) –
- Edges (TopTools_ListOfShape &) –
- LInt1 (TopTools_ListOfShape &) –
- LInt2 (TopTools_ListOfShape &) –
- Side (TopAbs_State) –
- TolConf (float) –
Return type:
-
class
Handle_BRepOffset_DataMapNodeOfDataMapOfShapeListOfInterval
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepOffset_DataMapNodeOfDataMapOfShapeMapOfShape
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepOffset_DataMapNodeOfDataMapOfShapeOffset
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
static
DownCast
()¶
-
GetObject
()¶
-
IsNull
()¶
-
Nullify
()¶
-
thisown
¶ The membership flag
-
static
-
class
Handle_BRepOffset_ListNodeOfListOfInterval
(*args)¶ Bases:
OCC.TCollection.Handle_TCollection_MapNode
-
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
brepoffset
¶ Bases:
object
-
static
Surface
()¶ - returns the Offset surface computed from the surface <Surface> at an OffsetDistance <Offset>. //! If possible, this method returns the real type of the surface ( e.g. An Offset of a plane is a plane). //! If no particular case is detected, the returned surface will have the Type Geom_OffsetSurface.
Parameters: - Surface (Handle_Geom_Surface &) –
- Offset (float) –
- Status (BRepOffset_Status &) –
Return type:
-
thisown
¶ The membership flag
-
static
-
brepoffset_Surface
()¶ - returns the Offset surface computed from the surface <Surface> at an OffsetDistance <Offset>. //! If possible, this method returns the real type of the surface ( e.g. An Offset of a plane is a plane). //! If no particular case is detected, the returned surface will have the Type Geom_OffsetSurface.
Parameters: - Surface (Handle_Geom_Surface &) –
- Offset (float) –
- Status (BRepOffset_Status &) –
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