pycatia.hybrid_shape_interfaces.hybrid_shape_wrap_curve¶
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.hybrid_shape_interfaces.hybrid_shape_wrap_curve.HybridShapeWrapCurve(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeWrapCurveRepresents the hybrid shape wrap curve surface object.Role: To access the data of the hybrid shape wrap curve surfaceobject.This data includes:Two support surfaces, one at each limit of the wrap curvesurfaceTwo curves, one for each support surfaceThe curve closing pointsUse the CATIAHybridShapeFactory to create a HybridShapeWrapCurveobject.See also:HybridShapeFactory- property first_curves_constraint: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property FirstCurvesConstraint() As longReturns or sets constraint at first curves of theWrapCurve.Legal values:1 = no constraint2 = Deformed surface will have the same tangency and the same curvature as the original surfaceat first curves.Example:This example retrieves in FirstCurvesConstraint the constraint at firstcurves of the ShpWrapCurve hybrid shape WrapCurve feature.Dim FirstCurvesConstraint As longSet FirstCurvesConstraint = ShpWrapCurve.FirstCurvesConstraint
- Return type:
int
- get_curves(i_position: int, o_reference_curve: Reference, o_target_curve: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetCurves(long iPosition,Reference oReferenceCurve,Reference oTargetCurve)Returns a curve from the WrapCurve.Parameters:iPositionThe position of the curves in the list of curves.oReferenceCurvethe reference curve.oTargetCurvethe target curve.Legal values: can be egal to Nothing. In this case, the associatedref curve will be fixed.Example:This example retrieves in WrapCurveRefCurve the first referencecurve of the ShpWrapCurve hybrid shape WrapCurve feature and retrieves inWrapCurveTargCurve the first target curve of the ShpWrapCurve hybrid shapeWrapCurve feature.Dim WrapCurveRefCurve As ReferenceDim WrapCurveTargCurve As ReferenceShpWrapCurve.GetCurve(2)
- get_number_of_curves() int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetNumberOfCurves() As longReturns the number of couples of curves of the WrapCurve.Returns:The number of couples of curvesLegal values: positive or null.Example:This example retrieves in NumberOfCurves the number of couples of curves ofthe ShpWrapCurve hybrid shape WrapCurve feature.NumberOfCurves = ShpWrapCurve.GetNumberOfCurves(2)
- Return type:
int
- get_reference_direction(o_direction_type: int, o_direction: HybridShapeDirection) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetReferenceDirection(long oDirectionType,HybridShapeDirection oDirection)Gets the reference direction projection of the wrap curvefeature.Parameters:oDirectionTypetype of direction.Legal values: 1 = reference direction is computed, and 2 = user direction.oDirectioncurve to be added as a direction, if oDirectionType = 2.Example:This example retrieves in RefDirection the reference direction ofthe ShpWrapCurve hybrid shape WrapCurve feature and in RefDirectionType thereference direction of the ShpWrapCurve hybrid shapeWrapCurveDim RefDirectionType As longDim RefDirection As CATIAHybridShapeDirectionShpWrapCurve.SetReferenceDirection (RefDirectionType,RefDirection)
- Parameters:
o_direction_type (int) –
o_direction (HybridShapeDirection) –
- Return type:
None
- get_reference_spine(o_spine_type: int, o_spine: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetReferenceSpine(long oSpineType,Reference oSpine)Returns the reference spine of the wrap curve feature.Parameters:oSpineTypetype of spine.Legal values: 1 = Reference Spine is equal to the first reference curve, and2 = user spine.oSpinecurve to be added as a spine, if iSpineType = 2.Example:This example retrieves in RefSpine the reference spine of theShpWrapCurve hybrid shape WrapCurve feature and in RefSpineType the referencespine type.Dim RefSpineType As longDim RefSpine As ReferenceShpWrapCurve.GetReferenceSpine (RefSpineType,RefSpine)
- Parameters:
o_spine_type (int) –
o_spine (Reference) –
- Return type:
None
- insert_curves(i_position: int, i_reference_curve: Reference, i_target_curve: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub InsertCurves(long iPosition,Reference iReferenceCurve,Reference iTargetCurve)Inserts a couple of reference curve and target curve to the wrapcurve.Parameters:iPositionThe position of the curves in the list of curves.Legal values: 0 for the end of the list, or positive and not null.iReferenceCurvethe reference curve.Sub-element(s) supported (seeBoundary object): TriDimFeatEdge and BiDimFeatEdge.iTargetCurvethe target curve.Sub-element(s) supported (see Boundary object): TriDimFeatEdge andBiDimFeatEdge.Example:This example sets the RefCurveForWrapCurve curve and theTargCurveForWrapCurve curve at the end of the list to the ShpWrapCurve hybridshape WrapCurve feature.ShpWrapCurve.InsertCurves (0, RefCurveForWrapCurve,TargCurveForWrapCurve)
- insert_reference_curve(i_position: int, i_reference_curve: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub InsertReferenceCurve(long iPosition,Reference iReferenceCurve)Inserts a of reference curve to the wrap curve.Parameters:iPositionThe position of the curves in the list of curves.Legal values: 0 for the end of the list, or positive and not null.iReferenceCurvethe reference curve.Sub-element(s) supported (seeBoundary object): TriDimFeatEdge and BiDimFeatEdge.Example:This example sets the RefCurveForWrapCurve curve at the end of the listto the ShpWrapCurve hybrid shape WrapCurve feature.ShpWrapCurve.InsertCurves (0, RefCurveForWrapCurve)
- Parameters:
i_position (int) –
i_reference_curve (Reference) –
- Return type:
None
- property last_curves_constraint: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property LastCurvesConstraint() As longReturns or sets constraint at last curves of theWrapCurve.Legal values:1 = no constraint,2 = Deformed surface will have the same tangency and the the same curvatureas the originalsurface at last curves.Example:This example retrieves in LastCurvesConstraint the constraint at lastcurves of the ShpWrapCurve hybrid shape WrapCurve feature.Dim LastCurvesConstraint As longSet LastCurvesConstraint = ShpWrapCurve.LastCurvesConstraint
- Return type:
int
- remove_curves(i_position: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveCurves(long iPosition)Removes a couple of reference curve and target curve from theWrapCurve.Parameters:iPositionThe position of the curves in the list of curves.Legal values: positive, not null and lower to numberOfCurvesExample:This example removes the first couple of reference curve and targetcurve of the ShpWrapCurve hybrid shape WrapCurvefeature.ShpWrapCurve.RemoveCurves (1)
- Parameters:
i_position (int) –
- Return type:
None
- set_reference_direction(i_direction: HybridShapeDirection) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetReferenceDirection(HybridShapeDirection iDirection)Sets the reference direction projection to the wrap curvefeature.Parameters:iDirectioncurve to be added as a direction, if iDirectionType = 2.Example:This example sets the RefDirection curve as the reference directionof the ShpWrapCurve hybrid shape WrapCurvefeature.ShpWrapCurve.SetReferenceDirection RefDirection
- Parameters:
i_direction (HybridShapeDirection) –
- Return type:
None
- set_reference_spine(i_spine: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetReferenceSpine(Reference iSpine)Sets the reference spine to the wrap curve feature.Parameters:iSpinecurve to be added as a spine.Sub-element(s) supported (seeBoundary object): TriDimFeatEdge, BiDimFeatEdge.Example:This example sets the Curve10 curve as the reference Spine of theShpWrapCurve hybrid shape WrapCurve feature.ShpWrapCurve.SetReferenceSpine Curve10
- Parameters:
i_spine (Reference) –
- Return type:
None
- property surface: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Surface() As ReferenceReturns or sets the surface to deform of the WrapCurve.Sub-element(s) supported (see Boundary object): Face.Example:This example retrieves in SurfaceToDeform the surface to deform of theShpWrapCurve hybrid shape WrapCurve feature.SurfaceToDeform = ShpWrapCurve.Surface
- Return type: