pycatia.hybrid_shape_interfaces.hybrid_shape_combine¶
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_combine.HybridShapeCombine(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeCombineRepresents the hybrid shape combined curve object.Role: To access the data of the hybrid shape combined curve object. This dataincludes:The three curves to which the circle is tangentThe surface that supports the circleThe orientation of each curve.Use the HybridShapeFactory object to create a HybridShapeCombineobject.- property direction1: HybridShapeDirection¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Direction1() As HybridShapeDirectionReturns or sets the first direction used to create the combined curve. Thefirst direction is the direction along which the first curve isextruded.Example:This example sets firstDir as the first direction to create thecombined curvehybCombCurve.hybCombCurve.Direction1 = firstDir
- Return type:
- property direction2: HybridShapeDirection¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Direction2() As HybridShapeDirectionReturns or sets the second direction used to create the combinedcurve.Example:This example retrieves in secondDir the second directionusedto create the combined curve hybCombCurve.Dim secondDir As CATIAHybridShapeDirectionSet secondDir = hybCombCurve.Direction2
- Return type:
- property elem1: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Elem1() As ReferenceReturns or sets the first curve used to create the combinedcurve.Sub-element(s) supported (see Boundary object): TriDimFeatEdge orBiDimFeatEdge.Example:This example sets firstCurve as the first curve to create thecombined curvehybCombCurve.hybCombCurve.Elem1 = firstCurve
- Return type:
- property elem2: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Elem2() As ReferenceReturns or sets the second curve used to create the combinedcurve.Sub-element(s) supported (see Boundary object): TriDimFeatEdge orBiDimFeatEdge.Example:This example retrieves in secondCurve the second curve used tocreatethe combined curve hybCombCurve.Dim secondCurve As CATIAReferenceSet secondCurve = hybCombCurve.Elem2
- Return type:
- property nearest_solution: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property NearestSolution() As longReturns or sets whether the combined curve is or should be created as thecurve closest to the first curve.Role: The nearest solution indicates whether the created combined curve isthe one closest to the first curve if there are several possible combinedcurves, or if all these possible combined curves arecreated..Legal values: 0 for the nearest solution and 1 for all possiblesolutions.Example:This example sets the nearest solution mode to create the combinedcurvehybCombCurve closest to the first curve.hybCombCurve.NearestSolution = 1
- Return type:
int
- property solution_type_combine: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SolutionTypeCombine() As longReturns or sets whether the curves that create the combined curve are orshould be extruded along normals to the curve planes or along givendirections.Role: The curves that make up the combined curve are each extruded along adirection. This direction can be the normal to the curve plane, or can be setto a given direction. This is valid for the two curvesaltogether.Legal values: 0 for the normal to the curve planes (default mode), 1 forgiven directionsExample:This example sets that the combined curve hybCombCurve should becreatedby extruding the two curves along the normals to theirplanes.hybCombCurve.SolutionTypeCombine = 0
- Return type:
int