OCC.GC module

class OCC.GC.GC_MakeArcOfCircle(*args)

Bases: OCC.GC.GC_Root

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

The membership flag

class OCC.GC.GC_MakeArcOfEllipse(*args)

Bases: OCC.GC.GC_Root

Operator()
Return type:Handle_Geom_TrimmedCurve
Value()
  • Returns the constructed arc of ellipse.
Return type:Handle_Geom_TrimmedCurve
thisown

The membership flag

class OCC.GC.GC_MakeArcOfHyperbola(*args)

Bases: OCC.GC.GC_Root

Operator()
Return type:Handle_Geom_TrimmedCurve
Value()
  • Returns the constructed arc of hyperbola.
Return type:Handle_Geom_TrimmedCurve
thisown

The membership flag

class OCC.GC.GC_MakeArcOfParabola(*args)

Bases: OCC.GC.GC_Root

Operator()
Return type:Handle_Geom_TrimmedCurve
Value()
  • Returns the constructed arc of parabola.
Return type:Handle_Geom_TrimmedCurve
thisown

The membership flag

class OCC.GC.GC_MakeCircle(*args)

Bases: OCC.GC.GC_Root

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

The membership flag

class OCC.GC.GC_MakeConicalSurface(*args)

Bases: OCC.GC.GC_Root

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

The membership flag

class OCC.GC.GC_MakeCylindricalSurface(*args)

Bases: OCC.GC.GC_Root

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

The membership flag

class OCC.GC.GC_MakeEllipse(*args)

Bases: OCC.GC.GC_Root

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

The membership flag

class OCC.GC.GC_MakeHyperbola(*args)

Bases: OCC.GC.GC_Root

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

The membership flag

class OCC.GC.GC_MakeLine(*args)

Bases: OCC.GC.GC_Root

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

The membership flag

class OCC.GC.GC_MakeMirror(*args)

Bases: object

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

The membership flag

class OCC.GC.GC_MakePlane(*args)

Bases: OCC.GC.GC_Root

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

The membership flag

class OCC.GC.GC_MakeRotation(*args)

Bases: object

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

The membership flag

class OCC.GC.GC_MakeScale(*args)

Bases: object

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

The membership flag

class OCC.GC.GC_MakeSegment(*args)

Bases: OCC.GC.GC_Root

Operator()
Return type:Handle_Geom_TrimmedCurve
Value()
  • Returns the constructed line segment.
Return type:Handle_Geom_TrimmedCurve
thisown

The membership flag

class OCC.GC.GC_MakeTranslation(*args)

Bases: object

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

The membership flag

class OCC.GC.GC_MakeTrimmedCone(*args)

Bases: OCC.GC.GC_Root

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

The membership flag

class OCC.GC.GC_MakeTrimmedCylinder(*args)

Bases: OCC.GC.GC_Root

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

The membership flag

class OCC.GC.GC_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

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

Bases: object

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

The membership flag

value()