pycatia.hybrid_shape_interfaces.hybrid_shape_project¶
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_project.HybridShapeProject(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeProjectRepresents the hybrid shape project feature object.Role: To access data of the hybrid shape project feature. The dataincludes:The element to project which is a point or a curveThe support element which is a curve or a surfaceThe projection type ( normal or along a direction)The projection direction if neededThe option to have either the nearest solution or allsolutionsUse the CATIAHybridShapeFactory to create HybridShapeFeaturesobjects.See also:HybridShapeFactory- property direction: HybridShapeDirection¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Direction() As HybridShapeDirectionReturns or sets the projection direction.Example: This example retrieves in Dir the direction for the Project hybridshape feature.Dim Dir As ReferenceSet Dir = Project.Direction
- Return type:
- property elem_to_project: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ElemToProject() As ReferenceReturns or sets the element to project.This element can be a point or acurve.Sub-element(s) supported (see Boundary object): TriDimFeatEdge,BiDimFeatEdge or Vertex.Example: This example retrieves in Elem the element to project for theProject hybrid shape feature.Dim Elem As ReferenceSet Elem = Project.ElemToProject
- Return type:
- property extrapolation_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ExtrapolationMode() As longReturns or sets the extrapolation mode. The extrapolation mode is overridenwhen the solution type is ‘Nearest solution’ (0) or when the extrapolation modebeing set is ‘None’ (0), otherwise the method fails. Role: None (0), Tangency(1) or Curvature (2).Example: This example retrieves in ExtrapolMode the solution type for theProject hybrid shape feature.Dim ExtrapolMode As longSet ExtrapolMode = Project.ExtrapolationMode
- Return type:
int
- property maximum_deviation_value: float¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property MaximumDeviationValue() As doubleSets or Gets the maximum deviation allowed for smoothingoperation.Sets in distance unit, it corresponds to the radius of a pipe around theinput curve in which the result is allowed to be. This value must be set in SIunit (m).Example: This example retrieves in DeviationValue the maximum deviationvalue for the Project hybrid shape feature.Dim DeviationValue As CATIALengthSet DeviationValue = Project.MaximumDeviationValue
- Return type:
float
- property normal: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Normal() As booleanReturns or sets the direction option. Role: To define the type ofprojection. Normal is set to TRUE if the projection is a normalprojection.Otherwise, the projection is defined along a specifieddirection.Example: This example retrieves in NormalOption the support for the Projecthybrid shape feature.Dim NormalOption As booleanSet NormalOption = Project.Normal
- Return type:
bool
- property p_3d_smoothing: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property p3DSmoothing() As booleanReturns or sets the ‘3D Smoothing’ option.Role: To activate or not the 3D smoothing option Available only for tangent or curvaturesmoothing type TRUE : Smoothing performed without specifying support FALSE : Smoothing performedwith specific supportExample: This example retrieves in 3DSmoothingOption the support for theProject hybrid shape feature.Dim 3DSmoothingOption As booleanSet 3DSmoothingOption = Project.p3DSmoothing
- Return type:
bool
- property smoothing_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SmoothingType() As longSets or Gets Smoothing Type.Role: Smoothing type: 0 -> No Smoothing: 2 -> G1 Smoothing : Enhance current continuity to tangent continuity: 3 -> G2 Smoothing : Enhance current continuity to curvature continuityExample: This example retrieves in SType the smoothing type for the Projecthybrid shape feature.Dim SType As longSet SType = Project.SmoothingType
- Return type:
int
- property solution_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property SolutionType() As longReturns or sets the solution type. When the solution type being set is ‘Allsolutions’ (1), the extrapolation mode gets overriden to ‘None’ (0). Role: Allsolutions (1) or Nearest solution (0) (only nearest projection is kept whenmore than one solution is possible).Example: This example retrieves in SolType the solution type for theProject hybrid shape feature.Dim SolType As longSet SolType = Project.SolutionType
- Return type:
int
- property support: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Support() As ReferenceReturns or sets the support element.This element can be a plane or asurface.Sub-element(s) supported (see Boundary object): Face, TriDimFeatEdge orBiDimFeatEdge.Example: This example retrieves in SupportElem the support for the Projecthybrid shape feature.Dim SupportElem As ReferenceSet SupportElem = Project.Support
- Return type: