OCC.BRepProj module

The BRepProj package provides ProjectionAlgorithms like Cylindrical and ConicalProjections. Those algorithms have been put in anindependant package instead of BRepAlgo (likeNormalProjection) because of cyclic reference withBRepFill. So this package is not available forthe moment to BRepFill.

class BRepProj_Projection(*args)

Bases: object

  • Makes a Cylindrical projection of Wire om Shape
Parameters:
  • Wire (TopoDS_Shape &) –
  • Shape (TopoDS_Shape &) –
  • D (gp_Dir) –
Return type:

None

  • Makes a Conical projection of Wire om Shape
Parameters:
  • Wire (TopoDS_Shape &) –
  • Shape (TopoDS_Shape &) –
  • P (gp_Pnt) –
Return type:

None

Current()
  • Returns the current result wire.
Return type:TopoDS_Wire
Init()
  • Resets the iterator by resulting wires.
Return type:None
IsDone()
  • returns False if the section failed
Return type:bool
More()
  • Returns True if there is a current result wire
Return type:bool
Next()
  • Move to the next result wire.
Return type:None
Shape()
  • Returns the complete result as compound of wires.
Return type:TopoDS_Compound
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