OCC.ChFiKPart module

Fonctions de remplissage pour une SurfData, dansles cas particulers de conges/chanfreins suivants :- cylindre/plan entre 2 surfaces planes,- tore/sphere/cone entre un plan et un cylindre othogonal,- tore/sphere/cone entre un plan et un cone othogonal,- tore/sphere/cone entre un plan et un tore othogonal,- tore/cone entre un plan et une sphere.

class ChFiKPart_ComputeData

Bases: object

static Compute()
  • Computes a simple fillet in several particular cases.
Parameters:
  • DStr (TopOpeBRepDS_DataStructure &) –
  • Data (Handle_ChFiDS_SurfData &) –
  • S1 (Handle_Adaptor3d_HSurface &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • Or1 (TopAbs_Orientation) –
  • Or2 (TopAbs_Orientation) –
  • Sp (Handle_ChFiDS_Spine &) –
  • Iedge (int) –
Return type:

bool

static ComputeCorner()
  • Computes a toric or spheric corner fillet.
Parameters:
  • DStr (TopOpeBRepDS_DataStructure &) –
  • Data (Handle_ChFiDS_SurfData &) –
  • S1 (Handle_Adaptor3d_HSurface &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • OrFace1 (TopAbs_Orientation) –
  • OrFace2 (TopAbs_Orientation) –
  • Or1 (TopAbs_Orientation) –
  • Or2 (TopAbs_Orientation) –
  • minRad (float) –
  • majRad (float) –
  • P1S1 (gp_Pnt2d) –
  • P2S1 (gp_Pnt2d) –
  • P1S2 (gp_Pnt2d) –
  • P2S2 (gp_Pnt2d) –
Return type:

bool

  • Computes spheric corner fillet with non iso pcurve on S2.
Parameters:
  • DStr (TopOpeBRepDS_DataStructure &) –
  • Data (Handle_ChFiDS_SurfData &) –
  • S1 (Handle_Adaptor3d_HSurface &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • OrFace1 (TopAbs_Orientation) –
  • OrFace2 (TopAbs_Orientation) –
  • Or1 (TopAbs_Orientation) –
  • Or2 (TopAbs_Orientation) –
  • Rad (float) –
  • PS1 (gp_Pnt2d) –
  • P1S2 (gp_Pnt2d) –
  • P2S2 (gp_Pnt2d) –
Return type:

bool

  • Computes a toric corner rotule.
Parameters:
  • DStr (TopOpeBRepDS_DataStructure &) –
  • Data (Handle_ChFiDS_SurfData &) –
  • S (Handle_Adaptor3d_HSurface &) –
  • S1 (Handle_Adaptor3d_HSurface &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • OfS (TopAbs_Orientation) –
  • OS (TopAbs_Orientation) –
  • OS1 (TopAbs_Orientation) –
  • OS2 (TopAbs_Orientation) –
  • Radius (float) –
Return type:

bool

thisown

The membership flag

ChFiKPart_ComputeData_Compute()
  • Computes a simple fillet in several particular cases.
Parameters:
  • DStr (TopOpeBRepDS_DataStructure &) –
  • Data (Handle_ChFiDS_SurfData &) –
  • S1 (Handle_Adaptor3d_HSurface &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • Or1 (TopAbs_Orientation) –
  • Or2 (TopAbs_Orientation) –
  • Sp (Handle_ChFiDS_Spine &) –
  • Iedge (int) –
Return type:

bool

ChFiKPart_ComputeData_ComputeCorner()
  • Computes a toric or spheric corner fillet.
Parameters:
  • DStr (TopOpeBRepDS_DataStructure &) –
  • Data (Handle_ChFiDS_SurfData &) –
  • S1 (Handle_Adaptor3d_HSurface &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • OrFace1 (TopAbs_Orientation) –
  • OrFace2 (TopAbs_Orientation) –
  • Or1 (TopAbs_Orientation) –
  • Or2 (TopAbs_Orientation) –
  • minRad (float) –
  • majRad (float) –
  • P1S1 (gp_Pnt2d) –
  • P2S1 (gp_Pnt2d) –
  • P1S2 (gp_Pnt2d) –
  • P2S2 (gp_Pnt2d) –
Return type:

bool

  • Computes spheric corner fillet with non iso pcurve on S2.
Parameters:
  • DStr (TopOpeBRepDS_DataStructure &) –
  • Data (Handle_ChFiDS_SurfData &) –
  • S1 (Handle_Adaptor3d_HSurface &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • OrFace1 (TopAbs_Orientation) –
  • OrFace2 (TopAbs_Orientation) –
  • Or1 (TopAbs_Orientation) –
  • Or2 (TopAbs_Orientation) –
  • Rad (float) –
  • PS1 (gp_Pnt2d) –
  • P1S2 (gp_Pnt2d) –
  • P2S2 (gp_Pnt2d) –
Return type:

bool

  • Computes a toric corner rotule.
Parameters:
  • DStr (TopOpeBRepDS_DataStructure &) –
  • Data (Handle_ChFiDS_SurfData &) –
  • S (Handle_Adaptor3d_HSurface &) –
  • S1 (Handle_Adaptor3d_HSurface &) –
  • S2 (Handle_Adaptor3d_HSurface &) –
  • OfS (TopAbs_Orientation) –
  • OS (TopAbs_Orientation) –
  • OS1 (TopAbs_Orientation) –
  • OS2 (TopAbs_Orientation) –
  • Radius (float) –
Return type:

bool

class ChFiKPart_DataMapIteratorOfRstMap(*args)

Bases: OCC.TCollection.TCollection_BasicMapIterator

Return type:None
Parameters:aMap (ChFiKPart_RstMap &) –
Return type:None
Initialize()
Parameters:aMap (ChFiKPart_RstMap &) –
Return type:None
Key()
Return type:int
Value()
Return type:Handle_Adaptor2d_HCurve2d
thisown

The membership flag

class ChFiKPart_DataMapNodeOfRstMap(*args)

Bases: OCC.TCollection.TCollection_MapNode

Parameters:
  • K (int &) –
  • I (Handle_Adaptor2d_HCurve2d &) –
  • n (TCollection_MapNodePtr &) –
Return type:

None

GetHandle()
GetKey()

ChFiKPart_DataMapNodeOfRstMap_GetKey(ChFiKPart_DataMapNodeOfRstMap self) -> Standard_Integer

SetKey()

ChFiKPart_DataMapNodeOfRstMap_SetKey(ChFiKPart_DataMapNodeOfRstMap self, Standard_Integer value)

Value()
Return type:Handle_Adaptor2d_HCurve2d
thisown

The membership flag

class ChFiKPart_RstMap(*args)

Bases: OCC.TCollection.TCollection_BasicMap

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

bool

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

The membership flag

class Handle_ChFiKPart_DataMapNodeOfRstMap(*args)

Bases: OCC.TCollection.Handle_TCollection_MapNode

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()
new_instancemethod(func, inst, cls)
register_handle(handle, base_object)

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