OCC.gce module

class OCC.gce.SwigPyIterator(*args, **kwargs)

Bases: object

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

The membership flag

value()
class OCC.gce.gce_MakeCirc(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Circ
Value()
  • Returns the constructed circle. Exceptions StdFail_NotDone if no circle is constructed.
Return type:gp_Circ
thisown

The membership flag

class OCC.gce.gce_MakeCirc2d(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Circ2d
Value()
  • Returns the constructed circle. Exceptions StdFail_NotDone if no circle is constructed.
Return type:gp_Circ2d
thisown

The membership flag

class OCC.gce.gce_MakeCone(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Cone
Value()
  • Returns the constructed cone. Exceptions StdFail_NotDone if no cone is constructed.
Return type:gp_Cone
thisown

The membership flag

class OCC.gce.gce_MakeCylinder(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Cylinder
Value()
  • Returns the constructed cylinder. Exceptions StdFail_NotDone if no cylinder is constructed.
Return type:gp_Cylinder
thisown

The membership flag

class OCC.gce.gce_MakeDir(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Dir
Value()
  • Returns the constructed unit vector. Exceptions StdFail_NotDone if no unit vector is constructed.
Return type:gp_Dir
thisown

The membership flag

class OCC.gce.gce_MakeDir2d(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Dir2d
Value()
  • Returns the constructed unit vector. Exceptions StdFail_NotDone if no unit vector is constructed.
Return type:gp_Dir2d
thisown

The membership flag

class OCC.gce.gce_MakeElips(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Elips
Value()
  • Returns the constructed ellipse. Exceptions StdFail_NotDone if no ellipse is constructed.
Return type:gp_Elips
thisown

The membership flag

class OCC.gce.gce_MakeElips2d(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Elips2d
Value()
  • Returns the constructed ellipse. Exceptions StdFail_NotDone if no ellipse is constructed.
Return type:gp_Elips2d
thisown

The membership flag

class OCC.gce.gce_MakeHypr(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Hypr
Value()
  • Returns the constructed hyperbola. Exceptions StdFail_NotDone if no hyperbola is constructed.
Return type:gp_Hypr
thisown

The membership flag

class OCC.gce.gce_MakeHypr2d(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Hypr2d
Value()
  • Returns the constructed hyperbola. Exceptions StdFail_NotDone if no hyperbola is constructed.
Return type:gp_Hypr2d
thisown

The membership flag

class OCC.gce.gce_MakeLin(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Lin
Value()
  • Returns the constructed line. Exceptions StdFail_NotDone is raised if no line is constructed.
Return type:gp_Lin
thisown

The membership flag

class OCC.gce.gce_MakeLin2d(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Lin2d
Value()
  • Returns the constructed line. Exceptions StdFail_NotDone if no line is constructed.
Return type:gp_Lin2d
thisown

The membership flag

class OCC.gce.gce_MakeMirror(*args)

Bases: object

Operator()
Return type:gp_Trsf
Value()
  • Returns the constructed transformation.
Return type:gp_Trsf
thisown

The membership flag

class OCC.gce.gce_MakeMirror2d(*args)

Bases: object

Operator()
Return type:gp_Trsf2d
Value()
  • Returns the constructed transformation.
Return type:gp_Trsf2d
thisown

The membership flag

class OCC.gce.gce_MakeParab(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Parab
Value()
  • Returns the constructed parabola. Exceptions StdFail_NotDone if no parabola is constructed.
Return type:gp_Parab
thisown

The membership flag

class OCC.gce.gce_MakeParab2d(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Parab2d
Value()
  • Returns the constructed parabola. Exceptions StdFail_NotDone if no parabola is constructed.
Return type:gp_Parab2d
thisown

The membership flag

class OCC.gce.gce_MakePln(*args)

Bases: OCC.gce.gce_Root

Operator()
Return type:gp_Pln
Value()
  • Returns the constructed plane. Exceptions StdFail_NotDone if no plane is constructed.
Return type:gp_Pln
thisown

The membership flag

class OCC.gce.gce_MakeRotation(*args)

Bases: object

Operator()
Return type:gp_Trsf
Value()
  • Returns the constructed transformation.
Return type:gp_Trsf
thisown

The membership flag

class OCC.gce.gce_MakeRotation2d(*args)

Bases: object

Operator()
Return type:gp_Trsf2d
Value()
  • Returns the constructed transformation.
Return type:gp_Trsf2d
thisown

The membership flag

class OCC.gce.gce_MakeScale(*args)

Bases: object

Operator()
Return type:gp_Trsf
Value()
  • Returns the constructed transformation.
Return type:gp_Trsf
thisown

The membership flag

class OCC.gce.gce_MakeScale2d(*args)

Bases: object

Operator()
Return type:gp_Trsf2d
Value()
  • Returns the constructed transformation.
Return type:gp_Trsf2d
thisown

The membership flag

class OCC.gce.gce_MakeTranslation(*args)

Bases: object

Operator()
Return type:gp_Trsf
Value()
  • Returns the constructed transformation.
Return type:gp_Trsf
thisown

The membership flag

class OCC.gce.gce_MakeTranslation2d(*args)

Bases: object

Operator()
Return type:gp_Trsf2d
Value()
  • Returns the constructed transformation.
Return type:gp_Trsf2d
thisown

The membership flag

class OCC.gce.gce_Root(*args, **kwargs)

Bases: object

IsDone()
  • Returns true if the construction is successful.
Return type:bool
Status()
  • Returns the status of the construction: - gce_Done, if the construction is successful, or - another value of the gce_ErrorType enumeration indicating why the construction failed.
Return type:gce_ErrorType
thisown

The membership flag