pycatia.part_interfaces.trim¶
Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445
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.part_interfaces.trim.Trim(com_object)¶
Note
CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.ShapePartInterfaces.BooleanShapeTrimRepresents the Trim, or union trim boolean operation.It is performed between a body and the current shape.- add_face_to_keep(i_face_to_keep: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AddFaceToKeep(Reference iFaceToKeep)Adds a new face to be kept (if face is not divided byoperation).Parameters:iFaceToKeepThe new face to processThe followingBoundary object is supported: Face.Example:The following example adds the new face face to Keep for the TrimfirstTrim:call firstTrim.AddFaceToKeep(face)
- Parameters:
i_face_to_keep (Reference) –
- Return type:
None
- add_face_to_keep2(i_face_to_keep: Reference, i_face_adjacent_for_keep: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AddFaceToKeep2(Reference iFaceToKeep,Reference iFaceAdjacentForKeep)Adds a new face to be kept (if face is divided byoperation).Parameters:iFaceToKeepThe new face to processThe followingBoundary object is supported: Face.iFaceAdjacentForKeepAn adjacent face of iFaceToKeep belonging to the otheroperandThe following Boundary object is supported: Face.Example:The following example adds the new face face to Keep for the TrimfirstTrim:call firstTrim.AddFaceToKeep(face)
- add_face_to_remove(i_face_to_remove: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AddFaceToRemove(Reference iFaceToRemove)Adds a new face to be Removed (if face not divided byoperation).Parameters:iFaceToRemoveThe new face to processThe followingBoundary object is supported: Face.Example:The following example adds the new face face to Remove for the TrimfirstTrim:call firstTrim.AddFaceToRemove(face)
- Parameters:
i_face_to_remove (Reference) –
- Return type:
None
- add_face_to_remove2(i_face_to_remove: Reference, i_face_adjacent_for_remove: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub AddFaceToRemove2(Reference iFaceToRemove,Reference iFaceAdjacentForRemove)Adds a new face to be Removed (if face is divided byoperation).Parameters:iFaceToRemoveThe new face to processThe followingBoundary object is supported: Face.iFaceAdjacentForRemoveAn adjacent face of iFaceToRemove belonging to the otheroperandThe following Boundary object is supported: Face.Example:The following example adds the new face face to Remove for the TrimfirstTrim:call firstTrim.AddFaceToRemove(face)
- withdraw_face_to_keep(i_face_to_withdraw: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub WithdrawFaceToKeep(Reference iFaceToWithdraw)Withdraws an existing Kept face (if face is not divided by operation).Parameters:iFaceToWithdrawThe face to withdrawThe followingBoundary object is supported: Face.Example:The following example withdraws the existing face Kept face from the TrimfirstTrim:call firstTrim.WithdrawFaceToKeep(face)
- Parameters:
i_face_to_withdraw (Reference) –
- Return type:
None
- withdraw_face_to_keep2(i_face_to_withdraw: Reference, i_face_adjacent_for_keep: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub WithdrawFaceToKeep2(Reference iFaceToWithdraw,Reference iFaceAdjacentForKeep)Withdraws an existing Kept face (if face is divided byoperation).Parameters:iFaceToWithdrawThe face to withdrawThe followingBoundary object is supported: Face.iFaceAdjacentForKeepAn adjacent face of iFaceToKeep belonging to the otheroperandThe following Boundary object is supported: Face.Example:The following example withdraws the existing face Kept face from the TrimfirstTrim:call firstTrim.WithdrawFaceToKeep(face)
- withdraw_face_to_remove(i_face_to_withdraw: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub WithdrawFaceToRemove(Reference iFaceToWithdraw)Withdraws an existing Removed face (if face not divided byoperation).Parameters:iFaceToWithdrawThe face to withdrawThe followingBoundary object is supported: Face.Example:The following example withdraws the existing face Removed face from theTrim firstTrim:call firstTrim.WithdrawFaceToRemove(face)
- Parameters:
i_face_to_withdraw (Reference) –
- Return type:
None
- withdraw_face_to_remove2(i_face_to_withdraw: Reference, i_face_adjacent_for_remove: Reference) None ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Sub WithdrawFaceToRemove2(Reference iFaceToWithdraw,Reference iFaceAdjacentForRemove)Withdraws an existing Removed face (if face is divided byoperation).Parameters:iFaceToWithdrawThe face to withdrawThe followingBoundary object is supported: Face.iFaceAdjacentForRemoveAn adjacent face of iFaceToRemove belonging to the otheroperandThe following Boundary object is supported: Face.Example:The following example withdraws the existing face Removed face from theTrim firstTrim:call firstTrim.WithdrawFaceToRemove(face)