pycatia.sketcher_interfaces.control_point_2D

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.sketcher_interfaces.control_point_2D.ControlPoint2D(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
SketcherInterfaces.GeometricElement
SketcherInterfaces.Geometry2D
SketcherInterfaces.Point2D
ControlPoint2D

Class defining a spline control point in 2D Space.
property curvature: float

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Curvature() As double

Returns the curvature properties of the spline control
point

Parameters:

oCurvature
The curvature of the tangent determined at the control
point
Return type:

float

get_tangent() tuple

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub GetTangent(CATSafeArrayVariant oTangent)

Returns the tangent properties of the spline control point

Parameters:

oTangent[0]
The X Coordinate of the tangent determined at the control point

oTangent[1]
The Y Coordinate of the tangent determined at the control
point
Return type:

tuple

set_tangent(i_tangent_x: float, i_tangent_y: float) None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub SetTangent(double iTangentX,
double iTangentY)

Imposes the tangent properties of the spline control point

Parameters:

iTangentX
The X Coordinate of the tangent determined at the control point

iTangentY
The Y Coordinate of the tangent determined at the control
point
Parameters:
  • i_tangent_x (float) –

  • i_tangent_y (float) –

Return type:

None

unset_curvature() None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub UnsetCurvature()

Unsets the curvature properties of the spline control point
Return type:

None

unset_tangent() None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub UnsetTangent()

Unsets the tangent properties of the spline control point
Return type:

None