pycatia.hybrid_shape_interfaces.hybrid_shape_extrapol¶
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_extrapol.HybridShapeExtrapol(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.HybridShapeHybridShapeExtrapolRepresents the hybrid shape extrapolation feature object.Role: To access the data of the hybrid shape affinity feature object. Thehybrid shape extrapolation feature object is created by using an element (acurve or a surface), a boundary of this element (a point in case of curveextrapolation or a curve in case of surface extrapolation), and a limit (whichcan be specified by a length or a limit element).The continuity between the extrapolated element and the extrapolation can beeither tangent continuity or curvature continuity.The extrapolation can be assembled or not with the extrapolated curve orsurface. In case of surface extrapolation, extrapolation borders canbe:Normal to the boundary of the extrapolated surfaceTangent to the edges of the extrapolated surface, that are adjacent to theboundaryUse the CATIAHybridShapeFactory to create a HybridShapeExtrapolobject.See also:HybridShapeFactory- property border_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property BorderType() As longReturns or sets the border type of extrapolation.This applies for surface extrapolation only.Legal values: the border type is either normal to the boundary of theextrapolated surface (CATGSMNormalBorder(=0)), or tangent to the edges of theextrapolated surface that are adjacent to the boundaryCATGSMTangentBorder(=1)).
- Return type:
int
- property boundary: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Boundary() As ReferenceThis method is left available for compatibility reasons but it ispreferable to use the GetBoundary method instead.Migration instructions: use the signature that uses an integer as the firstargument.
- Return type:
- property constant_length_mode: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ConstantLengthMode() As booleanReturns or sets the constant distance mode in case of Length extrapolationlimit.This applies in case of Length extrapolation limit.
- Return type:
bool
- property continuity_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ContinuityType() As longThis method is left available for compatibility reasons but it ispreferable to use the GetContinuityType method instead.Migration instructions: use the signature that uses an integer as the firstargument.
- Return type:
int
- property elem_to_extrapol: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ElemToExtrapol() As ReferenceReturns or sets the curve or surface to extrapolate.Sub-element(s) supported (see Boundary object): see Face , TriDimFeatEdgeor BiDimFeatEdge.
- Return type:
- property elem_until: Reference¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ElemUntil() As ReferenceThis method is left available for compatibility reasons but it ispreferable to use the GetElemUntil method instead.Migration instructions: use the signature that uses an integer as the firstargument.
- Return type:
- property extend_edges_mode: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ExtendEdgesMode() As booleanReturns or sets the extension of extrapolated edges mode.This applies in case of tangent continuity mode, tangent border mode andassembled result.
- Return type:
bool
- property extrapol_both_sides_identically: bool¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property ExtrapolBothSidesIdentically() As booleanReturns or sets the the boolean telling if the second side is extrapolatedaccording to the first side’s settings or to its own ones.This applies in case the element to extrapol is a wire.
- Return type:
bool
- get_boundary(i_pos: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetBoundary(long iPos) As ReferenceReturns or sets the iPos-th boundary of an extrapolated curve or surfacefrom which extrapolation begins. If iPos equals 0 or the number ofextrapolations, SetBoundary appends iBoundary to the list ofboundaries.The boudary is a point for an extrapolated curve, or a curve for anextrapolated surface.Sub-element(s) supported (see Boundary object): see Face , TriDimFeatEdgeor BiDimFeatEdge.
- Parameters:
i_pos (int) –
- Return type:
- get_continuity_type(i_pos: int) int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetContinuityType(long iPos) As longReturns or sets the continuity type between extrapolated element andextrapolation at the iPos-th boundary. If iPos equals 0 or the number ofextrapolations, SetContinuityType appends iLim to the list oflengths.Legal values: the continuity type is either CATGSMTangentContinuity (=0) orCATGSMCurvatureContinuity (=1).
- Parameters:
i_pos (int) –
- Return type:
int
- get_elem_until(i_pos: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetElemUntil(long iPos) As ReferenceReturns or sets the surface or volume specifying the limit of theextrapolation that begins from the iPos-th boundary. If iPos equals 0 or thenumber of extrapolations, SetElemUntil appends iElemUntil to the list of up-toelements.This applies when the limit type is CATGSMUpToElementLimit (=1).
- Parameters:
i_pos (int) –
- Return type:
- get_internal_edges_element(i_pos: int) Reference ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetInternalEdgesElement(long iPos) As ReferenceGets an element in the list of internal elements (vertex oredges).Parameters:oInternalElementinternal elementiPosposition of internal element to be retrieved.
- Parameters:
i_pos (int) –
- Return type:
- get_length(i_pos: int) Length ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetLength(long iPos) As LengthReturns or sets the length specifying the limit of the extrapolation thatbegins from the iPos-th boundary. If iPos equals 0 or the number ofextrapolations, SetLength appends iLength to the list oflengths.This applies when the limit type is CATGSMLengthLimit (=0).
- Parameters:
i_pos (int) –
- Return type:
- get_limit_type(i_pos: int) int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func GetLimitType(long iPos) As longReturns or sets the limit type of the extrapolation that begins from theiPos-th boundary. If iPos equals 0 or the number of extrapolations,SetLimitType appends iLim to the list of limit types.The limit can be a length, a surface, or a volume.Legal values: the limit type is either CATGSMLengthLimit(0) orCATGSMUpToElementLimit(1).
- Parameters:
i_pos (int) –
- Return type:
int
- get_number_of_extrapolations() int ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub GetNumberOfExtrapolations(longoNumberOfExtrapolations)Returns the number of extrapolations set. An extrapolation is specified bya boundary of the element to extrapolate, a limit type, a limit and acontinuity type.
- Return type:
int
- is_assemble() bool ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func IsAssemble() As booleanRetrieves whether extrapolation is assembled with extrapolated curve orsurface.Parameters:oAssembleThe assemble optionTrue when the extrapolation is assembled with extrapolated curve orsurface, and False otherwise
- Return type:
bool
- property length: Length¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property Length() As Length (Read Only)This method is left available for compatibility reasons but it ispreferable to use the GetLength method instead.Migration instructions: use the signature that uses an integer as the firstargument.
- Return type:
- property limit_type: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property LimitType() As longThis method is left available for compatibility reasons but it ispreferable to use the GetLimitType method instead.Migration instructions: use the signature that uses an integer as the firstargument.
- Return type:
int
- property propagation_mode: int¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
- o Property PropagationMode() As longReturns or sets the propagation mode.This applies in case of curvature extrapolation of a shell.
- Return type:
int
- remove_all_extrapolations_except_the_first_one() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveAllExtrapolationsExceptTheFirstOne()Removes all extrapolations that may have been set, except the first one.
- Return type:
None
- remove_all_internal_edges_element() None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveAllInternalEdgesElement()Removes all internal elements.
- Return type:
None
- remove_extrapolation(i_pos: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub RemoveExtrapolation(long iPos)Removes the iPos-th extrapolation that has been set.
- Parameters:
i_pos (int) –
- Return type:
None
- set_assemble(i_assemble: bool) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetAssemble(boolean iAssemble)Sets whether extrapolation is to be assembled with extrapolated curve orsurface.Parameters:iAssembleThe assemble optionTrue when the extrapolation is to be assembled with extrapolatedcurve or surface, and False otherwise.
- Parameters:
i_assemble (bool) –
- Return type:
None
- set_boundary(i_pos: int, i_boundary: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetBoundary(long iPos,Reference iBoundary)
- Parameters:
i_pos (int) –
i_boundary (Reference) –
- Return type:
None
- set_continuity_type(i_pos: int, i_lim: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetContinuityType(long iPos,long iLim)
- Parameters:
i_pos (int) –
i_lim (int) –
- Return type:
None
- set_elem_until(i_pos: int, i_elem_until: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetElemUntil(long iPos,Reference iElemUntil)
- Parameters:
i_pos (int) –
i_elem_until (Reference) –
- Return type:
None
- set_length(i_pos: int, i_length: Length) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetLength(long iPos,Length iLength)Do not use this method.
- Parameters:
i_pos (int) –
i_length (Length) –
- Return type:
None
- set_length_d(i_pos: int, i_length: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetLengthD(long iPos,double iLength)
- Parameters:
i_pos (int) –
i_length (float) –
- Return type:
None
- set_limit_type(i_pos: int, i_lim: int) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub SetLimitType(long iPos,long iLim)
- Parameters:
i_pos (int) –
i_lim (int) –
- Return type:
None
- 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 surface.This applies in case of tangent extrapolation of a wire. If a supportsurface is given, the extrapolation will lie on it.Sub-element(s) supported (see Boundary object): see Face.
- Return type: