OCC.TopCnx module

This algorithm provides algorithms to computestransitions when many interferences occurs at thesame place on a shape.An interference is an intersection on a shape (i.ea vertex on an edge or an edge on a face) withdata about the transition (how the shape iscrossing the boundary where the intersectionoccurs).There are three algorithms to processinterferences :* EdgeFaceTransition : To process interferences onan adge crossing other edges on the boundary of aface.* EdgeSolidTransition : To process interferenceson an edge crossing faces and edges on theboundary of a solid.* FaceSolidTransition : To process interferenceson a face crossing other faces on the boundary ofa solid.This package relies on the TopTrans package forthe geometric computations.

class SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class TopCnx_EdgeFaceTransition(*args)

Bases: object

  • Creates an empty algorithm.
Return type:None
AddInterference()
  • Add a curve element to the boundary. Or is the orientation of the interference on the boundary curve. Tr is the transition of the interference. BTr is the boundary transition of the interference.
Parameters:
  • Tole (float) –
  • Tang (gp_Dir) –
  • Norm (gp_Dir) –
  • Curv (float) –
  • Or (TopAbs_Orientation) –
  • Tr (TopAbs_Orientation) –
  • BTr (TopAbs_Orientation) –
Return type:

None

BoundaryTransition()
  • Returns the current cumulated BoundaryTransition.
Return type:TopAbs_Orientation
Reset()
  • Initialize the algorithm with the local description of the edge.
Parameters:
Return type:

None

  • Initialize the algorithm with a linear Edge.
Parameters:Tgt (gp_Dir) –
Return type:None
Transition()
  • Returns the current cumulated transition.
Return type:TopAbs_Orientation
thisown

The membership flag

new_instancemethod(func, inst, cls)
register_handle(handle, base_object)

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