pycatia.part_interfaces.shape_factory¶
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.shape_factory.ShapeFactory(com_object)¶
Note
CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectMecModInterfaces.FactoryShapeFactoryRepresents the factory for shapes to create all kinds of shapes that may beneeded for part design.The ShapeFactory mission is to build from scratch shapes that will be usedwithin the design process of parts. Those shapes have a strong mechanicalbuilt-in knowledge, such as chamfer or hole, and in most cases applycontextually to the part being designed. When created, they become part of thedefinition of whichever body or shape that is current at that time. After theyare created, they become in turn the current body or shape. In most cases,shapes are created from a factory with a minimum number of parameters. Othershapes parameters may be set further on by using methods offered by the shapeitself.- add_new_add(i_body_to_add: Body) Add ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewAdd(Body iBodyToAdd) As AddCreates and returns a new add operation within the currentbody.Parameters:iBodyToAddThe body to add to the current bodyReturns:The created add operation
- add_new_affinity2(x_ratio: float, y_ratio: float, z_ratio: float) AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewAffinity2(double XRatio,double YRatio,double ZRatio) As AnyObjectCreates and returns a Affinity feature.Parameters:XRatioValue for the XRatio.YRatioValue for the YRatio.ZRatioValue for the ZRatio.Returns:the created Affinity feature.
- Parameters:
x_ratio (float) –
y_ratio (float) –
z_ratio (float) –
- Return type:
- add_new_assemble(i_body_to_assemble: Body) Assemble ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewAssemble(Body iBodyToAssemble) As AssembleCreates and returns a new assembly operation within the currentbody.Parameters:iBodyToAssembleThe body to assemble with the current bodyReturns:The created assembly operation
- add_new_auto_draft(i_draft_angle: float) AutoDraft ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewAutoDraft(double iDraftAngle) As AutoDraftCreates and returns a new solid autodraft.Use this method to create autodraft by providing draftangle.Parameters:iDraftAngleThe draft angle.Returns:The created autodraft.
- Parameters:
i_draft_angle (float) –
- Return type:
- add_new_auto_fillet(i_fillet_radius: float, i_round_radius: float) AutoFillet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewAutoFillet(double iFilletRadius,double iRoundRadius) As AutoFilletCreates and returns a new solid autofillet.Use this method to create autofillet by providing fillet and round radiusvalues.Parameters:iFilletRadiusThe fillet radiusiRoundRadiusThe round radiusReturns:The created autofillet
- Parameters:
i_fillet_radius (float) –
i_round_radius (float) –
- Return type:
- add_new_axis_to_axis2(i_reference: Reference, i_target: Reference) AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewAxisToAxis2(Reference iReference,Reference iTarget) As AnyObjectCreates and returns an AxisToAxis transformation feature.Parameters:iReferenceThe reference axis.iTargetThe target axis.Returns:The created AxisToAxis transformation feature.
- add_new_blend() AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewBlend() As AnyObjectCreates and returns a new Blend feature.Returns:The created Blend feature
- Return type:
- add_new_chamfer(i_object_to_chamfer: Reference, i_propagation: int, i_mode: int, i_orientation: int, i_length1: float, i_length2_or_angle: float) Chamfer ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewChamfer(Reference iObjectToChamfer,CatChamferPropagation iPropagation,CatChamferMode iMode,CatChamferOrientation iOrientation,double iLength1,double iLength2OrAngle) As ChamferCreates and returns a new chamfer within the current body.Parameters:iObjectToChamferThe first edge or face to chamferThe followingBoundary object is supported: TriDimFeatEdge.iPropagationControls if and how the chamfering operation should propagate beyondthe first chamfer element iObjectToChamfer, when it is an edgeiModeControls if the chamfer is defined by two lengthes, or by an angle anda lengthThe value of this argument changes the way the arguments iLength1 andiLength2OrAngle should be interpreted.iOrientationDefines the relative meaning of arguments iLength1 and iLength2OrAnglewhen defining a chamfer by two lengthesiLength1The first value for chamfer dimensioning. It represents the chamferfirst length if the chamfer is defined by two lengthes, or the chamfer lengthif the chamfer is defined by a length and an angle.iLength2OrAngleThe second value for chamfer dimensioning. It represents the chamfersecond length if the chamfer is defined by two lengthes, or the chamfer angleif the chamfer is defined by a length and an angle.Returns:The created chamfer
- add_new_circ_pattern(i_shape_to_copy: AnyObject, i_nb_of_copies_in_radial_dir: int, i_nb_of_copies_in_angular_dir: int, i_step_in_radial_dir: float, i_step_in_angular_dir: float, i_shape_to_copy_position_along_radial_dir: int, i_shape_to_copy_position_along_angular_dir: int, i_rotation_center: Reference, i_rotation_axis: Reference, i_is_reversed_rotation_axis: bool, i_rotation_angle: float, i_is_radius_aligned: bool) CircPattern ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircPattern(AnyObject iShapeToCopy,long iNbOfCopiesInRadialDir,long iNbOfCopiesInAngularDir,double iStepInRadialDir,double iStepInAngularDir,long iShapeToCopyPositionAlongRadialDir,long iShapeToCopyPositionAlongAngularDir,Reference iRotationCenter,Reference iRotationAxis,boolean iIsReversedRotationAxis,double iRotationAngle,boolean iIsRadiusAligned) As CircPatternCreates and returns a new circular pattern within the currentbody.Parameters:iShapeToCopyThe shape to be copied by the circular patterniNbOfInstancesInRadialDirThe number of times iShapeToCopy will be copied along patternradial directioniNbOfInstancesInAngularDirThe number of times iShapeToCopy will be copied along patternangular directioniStepInRadialDirThe distance that will separate two consecutive copies in thepattern along its radial directioniStepInAngularDirThe angle that will separate two consecutive copies in the patternalong its angular directioniShapeToCopyPositionAlongRadialDirSpecifies the position of the original shape iShapeToCopy among itscopies along the radial directioniShapeToCopyPositionAlongAngularDirSpecifies the position of the original shape iShapeToCopy among itscopies along the angular directioniRotationCenterThe point or vertex that specifies the pattern center of rotationiRotationAxisThe line or linear edge that specifies the axis around whichinstances will be rotated relative to each otherThe followingBoundary objects are supported: PlanarFace , CylindricalFace ,RectilinearTriDimFeatEdge and RectilinearBiDimFeatEdge.iIsReversedRotationAxisThe boolean flag indicating wether the natural orientation ofiRotationAxis should be used to orient the pattern operation. A value of trueindicates that iItemToDuplicate are copied in the direction of the naturalorientation of iRotationAxis.iRotationAngleThe angle applied to the direction iRotationAxis prior to applying thepattern. The original shape iShapeToCopy is used as the rotation center.Nevertheless, the copied shapes themselves are not rotated. This allows thedefinition of a circular pattern relatively to existing geometry, but notnecessarily parallel to it.iIsRadiusAlignedThe boolean flag that specifies whether the instances ofiItemToDuplicate copied by the pattern should be kept parallel to each other(True) or if they should be aligned with the radial direction they lie upon(False).Returns:The created circular pattern
- Parameters:
i_shape_to_copy (AnyObject) –
i_nb_of_copies_in_radial_dir (int) –
i_nb_of_copies_in_angular_dir (int) –
i_step_in_radial_dir (float) –
i_step_in_angular_dir (float) –
i_shape_to_copy_position_along_radial_dir (int) –
i_shape_to_copy_position_along_angular_dir (int) –
i_rotation_center (Reference) –
i_rotation_axis (Reference) –
i_is_reversed_rotation_axis (bool) –
i_rotation_angle (float) –
i_is_radius_aligned (bool) –
- Return type:
- add_new_circ_patternof_list(i_shape_to_copy: AnyObject, i_nb_of_copies_in_radial_dir: int, i_nb_of_copies_in_angular_dir: int, i_step_in_radial_dir: float, i_step_in_angular_dir: float, i_shape_to_copy_position_along_radial_dir: int, i_shape_to_copy_position_along_angular_dir: int, i_rotation_center: Reference, i_rotation_axis: Reference, i_is_reversed_rotation_axis: bool, i_rotation_angle: float, i_is_radius_aligned: bool) CircPattern ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCircPatternofList(AnyObject iShapeToCopy,long iNbOfCopiesInRadialDir,long iNbOfCopiesInAngularDir,double iStepInRadialDir,double iStepInAngularDir,long iShapeToCopyPositionAlongRadialDir,long iShapeToCopyPositionAlongAngularDir,Reference iRotationCenter,Reference iRotationAxis,boolean iIsReversedRotationAxis,double iRotationAngle,boolean iIsRadiusAligned) As CircPatternV5R8 Only: Creates and returns a new circular pattern within the currentbody using a list of shapes.Parameters:iShapeToCopyThe shape to be copied by the circular pattern. Others shapes willbe add by put_ItemToCopy with CATIAPattern interfaceiNbOfInstancesInRadialDirThe number of times iShapeToCopy will be copied along patternradial directioniNbOfInstancesInAngularDirThe number of times iShapeToCopy will be copied along patternangular directioniStepInRadialDirThe distance that will separate two consecutive copies in thepattern along its radial directioniStepInAngularDirThe angle that will separate two consecutive copies in the patternalong its angular directioniShapeToCopyPositionAlongRadialDirSpecifies the position of the original shape iShapeToCopy among itscopies along the radial directioniShapeToCopyPositionAlongAngularDirSpecifies the position of the original shape iShapeToCopy among itscopies along the angular directioniRotationCenterThe point or vertex that specifies the pattern center of rotationiRotationAxisThe line or linear edge that specifies the axis around whichinstances will be rotated relative to each otheriIsReversedRotationAxisThe boolean flag indicating wether the natural orientation ofiRotationAxis should be used to orient the pattern operation. A value of trueindicates that iItemToDuplicate are copied in the direction of the naturalorientation of iRotationAxis.iRotationAngleThe angle applied to the direction iRotationAxis prior to applyingthe pattern. The original shape iShapeToCopy is used as the rotation center.Nevertheless, the copied shapes themselves are not rotated. This allows thedefinition of a circular pattern relatively to existing geometry, but notnecessarily parallel to it.iIsRadiusAlignedThe boolean flag that specifies whether the instances ofiItemToDuplicate copied by the pattern should be kept parallel to each other(True) or if they should be aligned with the radial direction they lie upon(False).Returns:The created circular pattern
- Parameters:
i_shape_to_copy (AnyObject) –
i_nb_of_copies_in_radial_dir (int) –
i_nb_of_copies_in_angular_dir (int) –
i_step_in_radial_dir (float) –
i_step_in_angular_dir (float) –
i_shape_to_copy_position_along_radial_dir (int) –
i_shape_to_copy_position_along_angular_dir (int) –
i_rotation_center (Reference) –
i_rotation_axis (Reference) –
i_is_reversed_rotation_axis (bool) –
i_rotation_angle (float) –
i_is_radius_aligned (bool) –
- Return type:
- add_new_close_surface(i_close_element: Reference) CloseSurface ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewCloseSurface(Reference iCloseElement) AsCloseSurfaceCreates and returns a new CloseSurface feature.Parameters:iCloseElementThe skin that will be closed and add with the current bodyReturns:The created CloseSurface feature
- Parameters:
i_close_element (Reference) –
- Return type:
- add_new_defeaturing() Defeaturing ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewDefeaturing() As DefeaturingCreates and returns a new defeaturing operation within the currentcontainer.Returns:The created defeaturing operation
- Return type:
- add_new_draft(i_face_to_draft: Reference, i_neutral: Reference, i_neutral_mode: int, i_parting: Reference, i_dir_x: float, i_dir_y: float, i_dir_z: float, i_mode: int, i_angle: float, i_multiselection_mode: int) Draft ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewDraft(Reference iFaceToDraft,Reference iNeutral,CatDraftNeutralPropagationMode iNeutralMode,Reference iParting,double iDirX,double iDirY,double iDirZ,CatDraftMode iMode,double iAngle,CatDraftMultiselectionMode iMultiselectionMode) As DraftCreates and returns a new draft within the current body.The draft needs a reference face on the body. This face will remainunchanged in the draft operation, while faces adjacent to it and specified fordrafting will be rotated by the draft angle.Parameters:iFaceToDraftThe first face to draft in the body. This face should be adjacentto the iFaceToDraft face. If several faces are to be drafted, only the firstone is specified here, the others being inferred by propagating the draftoperation onto faces adjacent to this first face. This is controlled by theiNeutralMode argument.The followingBoundary object is supported: Face.iNeutralThe reference face for the draft. The draft needs a reference face onthe body, that will remain unchanged in the draft operation, while facesadjacent to it and specified for drafting will be rotated according to thedraft angle iAngle.The following Boundary object is supported:PlanarFace.iNeutralModeControls if and how the drafting operation should be propagated beyondthe first face to draft iFaceToDraft to other adjacent faces.iPartingThe draft parting plane, face or surface. It specifies the elementwithin the body to draft that represents the bottom of the mold. This elementcan be located either somewhere in the middle of the body or be one of itsboundary faces. When located in the middle of the body, it crosses the faces todraft, and as a result, those faces are drafted with a positive angle on oneside of the parting surface, and with a negative angle on the otherside.The following Boundary object is supported:PlanarFace.iDirX,iDirY,iDirZThe X, Y, and Z components of the absolute vector representing thedrafting direction (i.e. the mold extraction direction).iModeThe draft connecting mode to its reference face iFaceToDraftiAngleThe draft angleiMultiselectionMode.The elements to be drafted can be selected explicitly or can implicitlyselected as neighbors of the neutral faceReturns:The created draft
- Parameters:
i_face_to_draft (Reference) –
i_neutral (Reference) –
i_neutral_mode (int) – enum cat_draft_neutral_propagation_mode
i_parting (Reference) –
i_dir_x (float) –
i_dir_y (float) –
i_dir_z (float) –
i_mode (int) – enum cat_draft_mode
i_angle (float) –
i_multiselection_mode (int) – enum cat_draft_multiselection_mode
- Return type:
- add_new_edge_fillet_with_constant_radius(i_edge_to_fillet: Reference, i_propag_mode: int, i_radius: float) ConstRadEdgeFillet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewEdgeFilletWithConstantRadius(ReferenceiEdgeToFillet,CatFilletEdgePropagation iPropagMode,double iRadius) As ConstRadEdgeFilletDeprecated:V5R14 #AddNewEdgeFilletWithConstantRadius useAddNewSolidEdgeFilletWithConstantRadius orAddNewSurfaceEdgeFilletWithConstantRadius depending on the type of fillet youwant to create
- Parameters:
i_edge_to_fillet (Reference) –
i_propag_mode (int) – enum cat_fillet_edge_propagation
i_radius (float) –
- Return type:
- add_new_edge_fillet_with_varying_radius(i_edge_to_fillet: Reference, i_propag_mode: int, i_variation_mode: int, i_default_radius: float) VarRadEdgeFillet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewEdgeFilletWithVaryingRadius(ReferenceiEdgeToFillet,CatFilletEdgePropagation iPropagMode,CatFilletVariation iVariationMode,double iDefaultRadius) As VarRadEdgeFilletDeprecated:V5R14 #AddNewEdgeFilletWithVaryingRadius useAddNewSolidEdgeFilletWithVaryingRadius orAddNewSurfaceEdgeFilletWithVaryingRadius depending on the type of fillet youwant to create
- Parameters:
i_edge_to_fillet (Reference) –
i_propag_mode (int) – enum cat_fillet_edge_propagation
i_variation_mode (int) – enum cat_fillet_variation
i_default_radius (float) –
- Return type:
- add_new_face_fillet(i_f1: Reference, i_f2: Reference, i_radius: float) FaceFillet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewFaceFillet(Reference iF1,Reference iF2,double iRadius) As FaceFilletDeprecated:V5R14 #AddNewFaceFillet use AddNewSolidFaceFillet orAddNewSurfaceFaceFillet depending on the type of fillet you want to create
- Parameters:
- Return type:
- add_new_groove(i_sketch: Sketch) Groove ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewGroove(Sketch iSketch) As GrooveCreates and returns a new groove within the current body.The Revolution, as a supertype for grooves, provides starting and endingangles for the groove definition.Parameters:iSketchThe sketch defining the groove section. The sketch must contain acontour and an axis that will be used to rotate the contour in the space, thusdefining the groove. The contour has to penetrate in 3D space the currentshape.Returns:The created groove
- add_new_groove_from_ref(i_profile_elt: Reference) Groove ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewGrooveFromRef(Reference iProfileElt) As GrooveCreates and returns a new groove within the current body.Parameters:iProfileEltThe reference on the element defining the groove baseReturns:The created groove
- add_new_gsd_circ_pattern(i_shape_to_copy: AnyObject, i_nb_of_copies_in_radial_dir: int, i_nb_of_copies_in_angular_dir: int, i_step_in_radial_dir: float, i_step_in_angular_dir: float, i_shape_to_copy_position_along_radial_dir: int, i_shape_to_copy_position_along_angular_dir: int, i_rotation_center: Reference, i_rotation_axis: Reference, i_is_reversed_rotation_axis: bool, i_rotation_angle: float, i_is_radius_aligned: bool, i_complete_crown: bool, i_type: float) CircPattern ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewGSDCircPattern(AnyObject iShapeToCopy,long iNbOfCopiesInRadialDir,long iNbOfCopiesInAngularDir,double iStepInRadialDir,double iStepInAngularDir,long iShapeToCopyPositionAlongRadialDir,long iShapeToCopyPositionAlongAngularDir,Reference iRotationCenter,Reference iRotationAxis,boolean iIsReversedRotationAxis,double iRotationAngle,boolean iIsRadiusAligned,boolean iCompleteCrown,double iType) As CircPatternDeprecated:V5R15 #AddNewSurfacicCircPattern
- Parameters:
i_shape_to_copy (AnyObject) –
i_nb_of_copies_in_radial_dir (int) –
i_nb_of_copies_in_angular_dir (int) –
i_step_in_radial_dir (float) –
i_step_in_angular_dir (float) –
i_shape_to_copy_position_along_radial_dir (int) –
i_shape_to_copy_position_along_angular_dir (int) –
i_rotation_center (Reference) –
i_rotation_axis (Reference) –
i_is_reversed_rotation_axis (bool) –
i_rotation_angle (float) –
i_is_radius_aligned (bool) –
i_complete_crown (bool) –
i_type (float) –
- Return type:
- add_new_gsd_rect_pattern(i_shape_to_copy: AnyObject, i_nb_of_copies_in_dir1: int, i_nb_of_copies_in_dir2: int, i_step_in_dir1: float, i_step_in_dir2: float, i_shape_to_copy_position_along_dir1: int, i_shape_to_copy_position_along_dir2: int, i_dir1: Reference, i_dir2: Reference, i_is_reversed_dir1: bool, i_is_reversed_dir2: bool, i_rotation_angle: float, i_type: float) RectPattern ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewGSDRectPattern(AnyObject iShapeToCopy,long iNbOfCopiesInDir1,long iNbOfCopiesInDir2,double iStepInDir1,double iStepInDir2,long iShapeToCopyPositionAlongDir1,long iShapeToCopyPositionAlongDir2,Reference iDir1,Reference iDir2,boolean iIsReversedDir1,boolean iIsReversedDir2,double iRotationAngle,double iType) As RectPatternDeprecated:V5R15 #AddNewSurfacicRectPattern
- Parameters:
i_shape_to_copy (AnyObject) –
i_nb_of_copies_in_dir1 (int) –
i_nb_of_copies_in_dir2 (int) –
i_step_in_dir1 (float) –
i_step_in_dir2 (float) –
i_shape_to_copy_position_along_dir1 (int) –
i_shape_to_copy_position_along_dir2 (int) –
i_dir1 (Reference) –
i_dir2 (Reference) –
i_is_reversed_dir1 (bool) –
i_is_reversed_dir2 (bool) –
i_rotation_angle (float) –
i_type (float) –
- Return type:
- add_new_hole(i_support: Reference, i_depth: float) Hole ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewHole(Reference iSupport,double iDepth) As HoleCreates and returns a new hole within the current shape.Actual hole shape is defined by editing hole properties after itscreation.Parameters:iSupportThe support defining the hole reference plane.Anchor point is located at the barycenter of the support. The holeaxis in 3D passes through that point and is normal to theplane.The followingBoundary object is supported: Face.iDepthThe hole depth.Returns:The created hole
- add_new_hole_from_point(i_x: float, i_y: float, i_z: float, i_support: Reference, i_depth: float) Hole ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewHoleFromPoint(double iX,double iY,double iZ,Reference iSupport,double iDepth) As HoleCreates and returns a new hole within the current shape.Actual hole shape is defined by editing hole properties after itscreation.Parameters:iXOrigin point x absolute coordinateiYOrigin point y absolute coordinateiZOrigin point z absolute coordinateSets the origin point which the hole is anchoredto.If mandatory, the entry point will be projected onto a tangentplane.iSupportThe support defining the hole reference plane.The followingBoundary object is supported: Face.iDepthThe hole depth.Returns:The created hole
- add_new_hole_from_ref_point(i_origin: Reference, i_support: Reference, i_depth: float) Hole ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewHoleFromRefPoint(Reference iOrigin,Reference iSupport,double iDepth) As HoleCreates and returns a new hole within the current shape.Actual hole shape is defined by editing hole properties after itscreation.Parameters:iOriginThe origin point which the hole is anchored to.iSupportThe support defining the hole reference plane.The followingBoundary object is supported: Face.iDepthThe hole depth.Returns:The created hole
- add_new_hole_from_sketch(i_sketch: Sketch, i_depth: float) Hole ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewHoleFromSketch(Sketch iSketch,double iDepth) As HoleCreates and returns a new hole within the current shape.Actual hole shape is defined by editing hole properties after itscreation.Parameters:iSketchThe sketch defining the hole reference plane and anchorpoint.This sketch must contain a single point that defines the hole axis:the hole axis in 3D passes through that point and is normal to the sketchplane.iDepthThe hole depth.Returns:The created hole
- add_new_hole_with2_constraints(i_x: float, i_y: float, i_z: float, i_edge1: Reference, i_edge2: Reference, i_support: Reference, i_depth: float) Hole ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewHoleWith2Constraints(double iX,double iY,double iZ,Reference iEdge1,Reference iEdge2,Reference iSupport,double iDepth) As HoleCreates and returns a new hole within the current shape.Actual hole shape is defined by editing hole properties after itscreation.Parameters:iXOrigin point x absolute coordinateiYOrigin point y absolute coordinateiZOrigin point z absolute coordinateSets the origin point which the hole is anchoredto.If mandatory, the entry point will be projected onto a tangentplane.iEdgeThe edge which the hole is constrained to.The origin of the hole will have a length constraint with eachedge.The followingBoundary object is supported: TriDimFeatEdge.iSupportThe support defining the hole reference plane.The following Boundary object is supported: Face.iDepthThe hole depth.Returns:The created hole
- add_new_hole_with_constraint(i_x: float, i_y: float, i_z: float, i_edge: Reference, i_support: Reference, i_depth: float) Hole ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewHoleWithConstraint(double iX,double iY,double iZ,Reference iEdge,Reference iSupport,double iDepth) As HoleCreates and returns a new hole within the current shape.Actual hole shape is defined by editing hole properties after itscreation.Parameters:iXOrigin point x absolute coordinateiYOrigin point y absolute coordinateiZOrigin point z absolute coordinateSets the origin point which the hole is anchoredto.If mandatory, the entry point will be projected onto a tangentplane.iEdgeThe edge which the hole is constrained to.If edge is circular, the origin of the hole will be concentric tothe edge (iX, iY, iZ will be overridden). if not, the origin of the hole willhave a length constraint with the edge.The followingBoundary object is supported: TriDimFeatEdge.iSupportThe support defining the hole reference plane.The following Boundary object is supported: Face.iDepthThe hole depth.Returns:The created hole
- add_new_intersect(i_body_to_intersect: Body) Intersect ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewIntersect(Body iBodyToIntersect) As IntersectCreates and returns a new intersect operation within the currentbody.Parameters:iBodyToIntersectThe body to intersect with the current bodyReturns:The created intersect operation
- add_new_loft() AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewLoft() As AnyObjectCreates and returns a new Loft feature.Returns:The created Loft feature
- Return type:
- add_new_mirror(i_mirroring_element: Reference) Mirror ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewMirror(Reference iMirroringElement) As MirrorCreates and returns a new mirror within the current body.A mirror allows for transforming existing shapes by a symmetry with respectto an existing plane.Parameters:iMirroringElementThe plane used by the mirror as the symmetryplane.The followingBoundary object is supported: PlanarFace.Returns:The created mirror
- add_new_pad(i_sketch: Sketch, i_height: float) Pad ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPad(Sketch iSketch,double iHeight) As PadCreates and returns a new pad within the current body.Parameters:iSketchThe sketch defining the pad baseiHeightThe pad heightReturns:The created pad
- add_new_pad_from_ref(i_profile_elt: Reference, i_height: float) Pad ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPadFromRef(Reference iProfileElt,double iHeight) As PadCreates and returns a new pad within the current body.Parameters:iProfileEltThe reference on the element defining the pad baseiHeightThe pad heightReturns:The created pad
- add_new_pocket(i_sketch: Sketch, i_height: float) Pocket ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPocket(Sketch iSketch,double iHeight) As PocketCreates and returns a new pocket within the current shape.Parameters:iSketchThe sketch defining the pocket baseiDepthThe pocket depthReturns:The created pocket
- add_new_pocket_from_ref(i_profile_elt: Reference, i_height: float) Pocket ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewPocketFromRef(Reference iProfileElt,double iHeight) As PocketCreates and returns a new pocket within the current shape.Parameters:iProfileEltThe reference on the element defining the pocket baseiDepthThe pocket depthReturns:The created pocket
- add_new_rect_pattern(i_shape_to_copy: AnyObject, i_nb_of_copies_in_dir1: int, i_nb_of_copies_in_dir2: int, i_step_in_dir1: float, i_step_in_dir2: float, i_shape_to_copy_position_along_dir1: int, i_shape_to_copy_position_along_dir2: int, i_dir1: Reference, i_dir2: Reference, i_is_reversed_dir1: bool, i_is_reversed_dir2: bool, i_rotation_angle: float) RectPattern ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewRectPattern(AnyObject iShapeToCopy,long iNbOfCopiesInDir1,long iNbOfCopiesInDir2,double iStepInDir1,double iStepInDir2,long iShapeToCopyPositionAlongDir1,long iShapeToCopyPositionAlongDir2,Reference iDir1,Reference iDir2,boolean iIsReversedDir1,boolean iIsReversedDir2,double iRotationAngle) As RectPatternCreates and returns a new rectangular pattern within the currentbody.Parameters:iShapeToCopyThe shape to be copied by the rectangular patterniNbOfCopiesInDir1The number of times iShapeToCopy will be copied along the patternfirst directioniNbOfCopiesInDir2The number of times iShapeToCopy will be copied along the patternsecond directioniStepInDir1The distance that will separate two consecutive copies in thepattern along its first directioniStepInDir2The distance that will separate two consecutive copies in thepattern along its second directioniShapeToCopyPositionAlongDir1Specifies the position of the original shape iShapeToCopy among itscopies along iDir1iShapeToCopyPositionAlongDir2Specifies the position of the original shape iShapeToCopy among itscopies along iDir2iDir1The line or linear edge that specifies the pattern firstrepartition directionThe followingBoundary objects are supported: PlanarFace, RectilinearTriDimFeatEdge,RectilinearBiDimFeatEdge.iDir2The line or linear edge that specifies the pattern second repartitiondirectionThe following Boundary objects are supported: PlanarFace,RectilinearTriDimFeatEdge, RectilinearBiDimFeatEdge.iIsReversedDir1The boolean flag indicating whether the natural orientation of iDir1should be used to orient the pattern operation. True indicates thatiShapeToCopy is copied in the direction of the natural orientation of iDir1.iIsReversedDir2The boolean flag indicating whether the natural orientation of iDir2should be used to orient the pattern operation. True indicates thatiShapeToCopy is copied in the direction of the natural orientation of iDir2.iRotationAngleThe angle applied to both directions iDir1 and iDir2 prior to applyingthe pattern. The original shape iShapeToCopy is used as the rotation center.Nevertheless, the copied shapes themselves are not rotated. This allows thedefinition of a rectangular pattern relatively to existing geometry, but notnecessarily parallel to it.Returns:The created rectangular pattern
- Parameters:
i_shape_to_copy (AnyObject) –
i_nb_of_copies_in_dir1 (int) –
i_nb_of_copies_in_dir2 (int) –
i_step_in_dir1 (float) –
i_step_in_dir2 (float) –
i_shape_to_copy_position_along_dir1 (int) –
i_shape_to_copy_position_along_dir2 (int) –
i_dir1 (Reference) –
i_dir2 (Reference) –
i_is_reversed_dir1 (bool) –
i_is_reversed_dir2 (bool) –
i_rotation_angle (float) –
- Return type:
- add_new_rect_patternof_list(i_shape_to_copy: AnyObject, i_nb_of_copies_in_dir1: int, i_nb_of_copies_in_dir2: int, i_step_in_dir1: float, i_step_in_dir2: float, i_shape_to_copy_position_along_dir1: int, i_shape_to_copy_position_along_dir2: int, i_dir1: Reference, i_dir2: Reference, i_is_reversed_dir1: bool, i_is_reversed_dir2: bool, i_rotation_angle: float) RectPattern ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewRectPatternofList(AnyObject iShapeToCopy,long iNbOfCopiesInDir1,long iNbOfCopiesInDir2,double iStepInDir1,double iStepInDir2,long iShapeToCopyPositionAlongDir1,long iShapeToCopyPositionAlongDir2,Reference iDir1,Reference iDir2,boolean iIsReversedDir1,boolean iIsReversedDir2,double iRotationAngle) As RectPatternV5R8 Only: Creates and returns a new rectangular pattern within the currentbody using a list of shapes.Parameters:iShapeToCopyThe shape to be copied by the rectangular pattern Others shapeswill be add by put_ItemToCopy with CATIAPattern interfaceiNbOfCopiesInDir1The number of times iShapeToCopy will be copied along the patternfirst directioniNbOfCopiesInDir2The number of times iShapeToCopy will be copied along the patternsecond directioniStepInDir1The distance that will separate two consecutive copies in thepattern along its first directioniStepInDir2The distance that will separate two consecutive copies in thepattern along its second directioniShapeToCopyPositionAlongDir1Specifies the position of the original shape iShapeToCopy among itscopies along iDir1iShapeToCopyPositionAlongDir2Specifies the position of the original shape iShapeToCopy among itscopies along iDir2iDir1The line or linear edge that specifies the pattern firstrepartition directioniDir2The line or linear edge that specifies the pattern secondrepartition directioniIsReversedDir1The boolean flag indicating whether the natural orientation ofiDir1 should be used to orient the pattern operation. True indicates thatiShapeToCopy is copied in the direction of the natural orientation of iDir1.iIsReversedDir2The boolean flag indicating whether the natural orientation ofiDir2 should be used to orient the pattern operation. True indicates thatiShapeToCopy is copied in the direction of the natural orientation of iDir2.iRotationAngleThe angle applied to both directions iDir1 and iDir2 prior toapplying the pattern. The original shape iShapeToCopy is used as the rotationcenter. Nevertheless, the copied shapes themselves are not rotated. This allowsthe definition of a rectangular pattern relatively to existing geometry, butnot necessarily parallel to it.Returns:The created rectangular pattern
- Parameters:
i_shape_to_copy (AnyObject) –
i_nb_of_copies_in_dir1 (int) –
i_nb_of_copies_in_dir2 (int) –
i_step_in_dir1 (float) –
i_step_in_dir2 (float) –
i_shape_to_copy_position_along_dir1 (int) –
i_shape_to_copy_position_along_dir2 (int) –
i_dir1 (Reference) –
i_dir2 (Reference) –
i_is_reversed_dir1 (bool) –
i_is_reversed_dir2 (bool) –
i_rotation_angle (float) –
- Return type:
- add_new_remove(i_body_to_remove: Body) Remove ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewRemove(Body iBodyToRemove) As RemoveCreates and returns a new remove operation within the currentbody.Parameters:iBodyToRemoveThe body to remove from the current bodyReturns:The created remove operation
- add_new_remove_face(i_keep_faces: Reference, i_remove_faces: Reference) RemoveFace ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewRemoveFace(Reference iKeepFaces,Reference iRemoveFaces) As RemoveFaceCreates and returns a new RemoveFace feature.Parameters:iKeepFacesThe reference of the face to Keep.iRemoveFacesThe reference of the face to Remove.Returns:The created RemoveFace feature.
- Parameters:
- Return type:
- add_new_removed_blend() AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewRemovedBlend() As AnyObjectCreates and returns a new Removed Blend feature.Returns:The created Removed Blend feature
- Return type:
- add_new_removed_loft() AnyObject ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewRemovedLoft() As AnyObjectCreates and returns a new Removed Loft feature.Returns:The created Removed Loft feature
- Return type:
- add_new_replace_face(i_split_plane: Reference, i_remove_face: Reference, i_splitting_side: int) ReplaceFace ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewReplaceFace(Reference iSplitPlane,Reference iRemoveFace,CatSplitSide iSplittingSide) As ReplaceFaceCreates and returns a new Align/ ReplaceFace feature.Parameters:iSplitPlaneThe reference of the element defining the Splitting Plane.iRemoveFaceThe reference of the Face to Remove.iSplittingSideThe specification for which side of the current body should beAlignReturns:The created Align/ ReplaceFace feature.
- Parameters:
- Return type:
- add_new_rib(i_sketch: Sketch, i_center_curve: Sketch) Rib ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewRib(Sketch iSketch,Sketch iCenterCurve) As RibCreates and returns a new rib within the current body.Parameters:iSketchThe sketch defining the rib sectioniCenterCurveThe sketched curve that defines the rib center curve. It must crossthe section definition sketch iSketch within the inner part of its contour.Returns:The created rib
- add_new_rib_from_ref(i_profile: Reference, i_center_curve: Reference) Rib ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewRibFromRef(Reference iProfile,Reference iCenterCurve) As RibCreates and returns a new rib within the current body.Parameters:iProfileThe Profile defining the rib sectioniCenterCurveThe curve that defines the rib center curve.The followingBoundary object is supported: TriDimFeatEdge.Returns:The created rib
- add_new_rotate2(i_axis: Reference, i_angle: float) AnyObject ¶
Note
- Microsoft Visual Basic Object Browser
- Function AddNewRotate2(iAxis As Reference, iAngle As Double) As AnyObjectMember of PARTITF.ShapeFactory
- add_new_scaling(i_scaling_reference: Reference, i_factor: float) Scaling ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewScaling(Reference iScalingReference,double iFactor) As ScalingCreates and returns a new scaling within the current body.Parameters:iScalingReferenceThe point, plane or face of the current body that will remain fixedduring the scaling process: even if the face itself shrinks or expands duringthe scaling, its supporting plane will remain unchanged after thescaling.The followingBoundary objects are supported: PlanarFace and Vertex.iFactorThe scaling factorReturns:The created scaling
- add_new_sew_surface(i_sewing_element: Reference, i_sewing_side: int) SewSurface ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSewSurface(Reference iSewingElement,CatSplitSide iSewingSide) As SewSurfaceCreates and returns a new sewing operation within the currentbody.Parameters:iSewingElementThe face or skin or surface that will be sewn on the current bodyiSewingSideThe specification for which side of the current body should be keptat the end of the sewing operationReturns:The created sewing operation
- Parameters:
i_sewing_element (Reference) –
i_sewing_side (int) – enum cat_split_side
- Return type:
- add_new_shaft(i_sketch: Sketch) Shaft ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewShaft(Sketch iSketch) As ShaftCreates and returns a new shaft within the current body.The Revolution, as a supertype for shafts, provides starting and endingangles for the shaft definition.Parameters:iSketchThe sketch defining the shaft section.If the shaft applies to the current body, then the sketch mustcontain a contour and an axis that will be used to rotate the contour in thespace, thus defining the shaft.If the shaft is the first shape defined, there is not currentbody to apply to. In such a case, the sketch must contain a curve whose endpoints are linked by an axis. By rotating the curve in the space around theaxis, the shaft operation will define a revolution shape. This also works ifthe sketch contains a closed contour and an axis outside of this contour: inthat case a revolution shape will be created, for example a torus.Returns:The created shaft
- add_new_shaft_from_ref(i_profile_elt: Reference) Shaft ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewShaftFromRef(Reference iProfileElt) As ShaftCreates and returns a new shaft within the current body.Parameters:iProfileEltThe reference on the element defining the shaft baseReturns:The created shaft
- add_new_shell(i_face_to_remove: Reference, i_internal_thickness: float, i_external_thickness: float) Shell ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewShell(Reference iFaceToRemove,double iInternalThickness,double iExternalThickness) As ShellCreates and returns a new shell within the current body.Parameters:iFaceToRemoveThe first face to be removed in the shell process.The followingBoundary object is supported: Face.iInternalThicknessThe thickness of material to be added on the internal side of all thefaces during the shell process, except for those to be removediExternaThicknessThe thickness of material to be added on the external side of all thefaces during the shell process, except for those to be removedReturns:The created shell
- add_new_slot(i_sketch: Sketch, i_center_curve: Sketch) Slot ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSlot(Sketch iSketch,Sketch iCenterCurve) As SlotCreates and returns a new slot within the current shape.Parameters:iSketchThe sketch defining the slot sectioniCenterCurveThe sketched curve that defines the slot center curve. It mustcross the section definition sketch iSketch within the inner part of itscontour.Returns:The created slot
- add_new_slot_from_ref(i_profile: Reference, i_center_curve: Reference) Slot ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSlotFromRef(Reference iProfile,Reference iCenterCurve) As SlotCreates and returns a new slot within the current shape.Parameters:iProfileThe sketch defining the slot sectioniCenterCurveThe curve that defines the slot center curve.The followingBoundary object is supported: TriDimFeatEdge.Returns:The created slot
- add_new_solid_combine(i_profile_elt_first: Reference, i_profile_elt_second: Reference) SolidCombine ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSolidCombine(Reference iProfileEltFirst,Reference iProfileEltSecond) As SolidCombineCreates and returns a new SolidCombine feature.Parameters:iProfileEltFirstThe reference of the element defining the profile for firstcomponent.iProfileEltSecondThe reference of the element defining the profile for secondcomponent.Returns:The created SolidCombine feature.
- Parameters:
- Return type:
- add_new_solid_edge_fillet_with_constant_radius(i_edge_to_fillet: Reference, i_propag_mode: int, i_radius: float) ConstRadEdgeFillet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSolidEdgeFilletWithConstantRadius(ReferenceiEdgeToFillet,CatFilletEdgePropagation iPropagMode,double iRadius) As ConstRadEdgeFilletCreates and returns a new solid edge fillet with a constant radius. withinthe current body.Parameters:iEdgeToFilletThe edge that will be filleted firstThe followingBoundary object is supported: TriDimFeatEdge.iPropagModeControls whether other edges found adjacent to the first one shouldalso be filleted in the same operationiRadiusThe fillet radiusReturns:The created edge fillet
- Parameters:
i_edge_to_fillet (Reference) –
i_propag_mode (int) – enum cat_fillet_edge_propagation
i_radius (float) –
- Return type:
- add_new_solid_edge_fillet_with_varying_radius(i_edge_to_fillet: Reference, i_propag_mode: int, i_variation_mode: int, i_default_radius: float) VarRadEdgeFillet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSolidEdgeFilletWithVaryingRadius(ReferenceiEdgeToFillet,CatFilletEdgePropagation iPropagMode,CatFilletVariation iVariationMode,double iDefaultRadius) As VarRadEdgeFilletCreates and returns a new solid edge fillet with a varying radius. withinthe current body.Parameters:iEdgeToFilletThe edge that will be filleted firstThe followingBoundary object is supported: TriDimFeatEdge.iPropagModeControls whether other edges found adjacent to the first one shouldalso be filleted in the same operationiVariationModeControls the law of evolution for the fillet radius between specifiedcontrol points, such as edges extremitiesiDefaultRadiusThe fillet default radius, that will apply when no other radius can beinferred from the iVariationMode parameterReturns:The created edge fillet
- Parameters:
i_edge_to_fillet (Reference) –
i_propag_mode (int) – enum cat_fillet_edge_propagation
i_variation_mode (int) – enum cat_fillet_variation
i_default_radius (float) –
- Return type:
- add_new_solid_face_fillet(i_f1: Reference, i_f2: Reference, i_radius: float) FaceFillet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSolidFaceFillet(Reference iF1,Reference iF2,double iRadius) As FaceFilletCreates and returns a new solid face-to-face fillet.Use this method to created face-to-face fillets with varying fillet radii,by editing fillet attributes driving its radius after itscreation.Parameters:iF1The first face that will support the filletThe followingBoundary object is supported: Face.iF2The second face that will support the filletThe following Boundary object is supported: Face.iRadiusThe fillet radiusReturns:The created face-to-face fillet
- Parameters:
- Return type:
- add_new_solid_tritangent_fillet(i_f1: Reference, i_f2: Reference, i_removed_face: Reference) TritangentFillet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSolidTritangentFillet(Reference iF1,Reference iF2,Reference iRemovedFace) As TritangentFilletCreates and returns a new solid tritangent fillet within the currentbody.This kind of fillet begins with tangency on a first face iF1, gets tangentto a second one iRemovedFace and ends with tangency to a third one iF2. Duringthe process the second face iRemovedFace is removed.Parameters:iF1The starting face for the filletThe followingBoundary object is supported: Face.iF2The ending face for the filletThe following Boundary object is supported: Face.iRemovedFaceThe face used as an intermediate tangent support for the fillet duringits course from iF1 to iF2. This face will be removed at the end of thefilleting operation.The following Boundary object is supported: FaceReturns:The created tritangent fillet
- Parameters:
- Return type:
- add_new_split(i_splitting_element: Reference, i_split_side: int) Split ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSplit(Reference iSplittingElement,CatSplitSide iSplitSide) As SplitCreates and returns a new split operation within the currentbody.Parameters:iSplittingElementThe face or plane that will split the current bodyThe followingBoundary object is supported: Face.iSplitSideThe specification for which side of the current body should be kept atthe end of the split operationReturns:The created split operation
- add_new_stiffener(i_sketch: Sketch) Stiffener ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewStiffener(Sketch iSketch) As StiffenerCreates and returns a new stiffener within the currentbody.A stiffener is made up of a sketch used as the stiffener profile, that isextruded (offset) and that fills the nearest shape.Parameters:iSketchThe sketch defining the stiffener border. It must contain a line ora curve that does not cross in 3D space the face(s) to stiffen.Returns:The created stiffener
- add_new_stiffener_from_ref(i_profile_elt: Reference) Stiffener ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewStiffenerFromRef(Reference iProfileElt) AsStiffenerCreates and returns a new stiffener within the currentbody.Parameters:iProfileEltThe reference on the element defining the stiffener profileReturns:The created stiffener
- add_new_surface_edge_fillet_with_constant_radius(i_edge_to_fillet: Reference, i_propag_mode: int, i_radius: float) ConstRadEdgeFillet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSurfaceEdgeFilletWithConstantRadius(ReferenceiEdgeToFillet,CatFilletEdgePropagation iPropagMode,double iRadius) As ConstRadEdgeFilletCreates and returns a new surface edge fillet with a constant radius.within the current body.Parameters:iEdgeToFilletThe edge that will be filleted firstThe followingBoundary object is supported: TriDimFeatEdge.iPropagModeControls whether other edges found adjacent to the first one shouldalso be filleted in the same operationiRadiusThe fillet radiusReturns:The created edge fillet
- Parameters:
i_edge_to_fillet (Reference) –
i_propag_mode (int) – enum cat_fillet_edge_propagation
i_radius (float) –
- Return type:
- add_new_surface_edge_fillet_with_varying_radius(i_edge_to_fillet: Reference, i_propag_mode: int, i_variation_mode: int, i_default_radius: float) VarRadEdgeFillet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSurfaceEdgeFilletWithVaryingRadius(ReferenceiEdgeToFillet,CatFilletEdgePropagation iPropagMode,CatFilletVariation iVariationMode,double iDefaultRadius) As VarRadEdgeFilletCreates and returns a new surface edge fillet with a varying radius. withinthe current body.Parameters:iEdgeToFilletThe edge that will be filleted firstThe followingBoundary object is supported: TriDimFeatEdge.iPropagModeControls whether other edges found adjacent to the first one shouldalso be filleted in the same operationiVariationModeControls the law of evolution for the fillet radius between specifiedcontrol points, such as edges extremitiesiDefaultRadiusThe fillet default radius, that will apply when no other radius can beinferred from the iVariationMode parameterReturns:The created edge fillet
- Parameters:
i_edge_to_fillet (Reference) –
i_propag_mode (int) – enum cat_fillet_edge_propagation
i_variation_mode (int) – enum cat_fillet_variation
i_default_radius (float) –
- Return type:
- add_new_surface_face_fillet(i_f1: Reference, i_f2: Reference, i_radius: float) FaceFillet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSurfaceFaceFillet(Reference iF1,Reference iF2,double iRadius) As FaceFilletCreates and returns a new surface face-to-face fillet.Use this method to created face-to-face fillets with varying fillet radii,by editing fillet attributes driving its radius after itscreation.Parameters:iF1The first face that will support the filletThe followingBoundary object is supported: Face.iF2The second face that will support the filletThe following Boundary object is supported: Face.iRadiusThe fillet radiusReturns:The created face-to-face fillet
- Parameters:
- Return type:
- add_new_surface_tritangent_fillet(i_f1: Reference, i_f2: Reference, i_removed_face: Reference) TritangentFillet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSurfaceTritangentFillet(Reference iF1,Reference iF2,Reference iRemovedFace) As TritangentFilletCreates and returns a new surface tritangent fillet within the currentbody.This kind of fillet begins with tangency on a first face iF1, gets tangentto a second one iRemovedFace and ends with tangency to a third one iF2. Duringthe process the second face iRemovedFace is removed.Parameters:iF1The starting face for the filletThe followingBoundary object is supported: Face.iF2The ending face for the filletThe following Boundary object is supported: Face.iRemovedFaceThe face used as an intermediate tangent support for the fillet duringits course from iF1 to iF2. This face will be removed at the end of thefilleting operation.The following Boundary object is supported: FaceReturns:The created tritangent fillet
- Parameters:
- Return type:
- add_new_surfacic_auto_fillet(i_fillet_radius: float) AutoFillet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSurfacicAutoFillet(double iFilletRadius) AsAutoFilletCreates and returns a new Surfacic autofillet.Use this method to create autofillet by providing fillet radiusvalue.Parameters:iFilletRadiusThe fillet radiusReturns:The created autofillet
- Parameters:
i_fillet_radius (float) –
- Return type:
- add_new_surfacic_circ_pattern(i_shape_to_copy: AnyObject, i_nb_of_copies_in_radial_dir: int, i_nb_of_copies_in_angular_dir: int, i_step_in_radial_dir: float, i_step_in_angular_dir: float, i_shape_to_copy_position_along_radial_dir: int, i_shape_to_copy_position_along_angular_dir: int, i_rotation_center: Reference, i_rotation_axis: Reference, i_is_reversed_rotation_axis: bool, i_rotation_angle: float, i_is_radius_aligned: bool, i_complete_crown: bool) CircPattern ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSurfacicCircPattern(AnyObject iShapeToCopy,long iNbOfCopiesInRadialDir,long iNbOfCopiesInAngularDir,double iStepInRadialDir,double iStepInAngularDir,long iShapeToCopyPositionAlongRadialDir,long iShapeToCopyPositionAlongAngularDir,Reference iRotationCenter,Reference iRotationAxis,boolean iIsReversedRotationAxis,double iRotationAngle,boolean iIsRadiusAligned,boolean iCompleteCrown) As CircPatternCreates and returns a new gsd circular pattern within the currentbody.Parameters:iShapeToCopyThe shape to be copied by the circular patterniNbOfInstancesInRadialDirThe number of times iShapeToCopy will be copied along patternradial directioniNbOfInstancesInAngularDirThe number of times iShapeToCopy will be copied along patternangular directioniStepInRadialDirThe distance that will separate two consecutive copies in thepattern along its radial directioniStepInAngularDirThe angle that will separate two consecutive copies in the patternalong its angular directioniShapeToCopyPositionAlongRadialDirSpecifies the position of the original shape iShapeToCopy among itscopies along the radial directioniShapeToCopyPositionAlongAngularDirSpecifies the position of the original shape iShapeToCopy among itscopies along the angular directioniRotationCenterThe point or vertex that specifies the pattern center of rotationiRotationAxisThe line or linear edge that specifies the axis around whichinstances will be rotated relative to each otherThe followingBoundary objects are supported: PlanarFace , CylindricalFace ,RectilinearTriDimFeatEdge and RectilinearBiDimFeatEdge.iIsReversedRotationAxisThe boolean flag indicating wether the natural orientation ofiRotationAxis should be used to orient the pattern operation. A value of trueindicates that iItemToDuplicate are copied in the direction of the naturalorientation of iRotationAxis.iRotationAngleThe angle applied to the direction iRotationAxis prior to applying thepattern. The original shape iShapeToCopy is used as the rotation center.Nevertheless, the copied shapes themselves are not rotated. This allows thedefinition of a circular pattern relatively to existing geometry, but notnecessarily parallel to it.iIsRadiusAlignedThe boolean flag that specifies whether the instances ofiItemToDuplicate copied by the pattern should be kept parallel to each other(True) or if they should be aligned with the radial direction they lie upon(False).iCompleteCrownThe boolean flag specifies the mode of angular distribution. Trueindicates that the angular step will be equal to 360 degrees iNba.Returns:The created circular pattern
- Parameters:
i_shape_to_copy (AnyObject) –
i_nb_of_copies_in_radial_dir (int) –
i_nb_of_copies_in_angular_dir (int) –
i_step_in_radial_dir (float) –
i_step_in_angular_dir (float) –
i_shape_to_copy_position_along_radial_dir (int) –
i_shape_to_copy_position_along_angular_dir (int) –
i_rotation_center (Reference) –
i_rotation_axis (Reference) –
i_is_reversed_rotation_axis (bool) –
i_rotation_angle (float) –
i_is_radius_aligned (bool) –
i_complete_crown (bool) –
- Return type:
- add_new_surfacic_rect_pattern(i_shape_to_copy: AnyObject, i_nb_of_copies_in_dir1: int, i_nb_of_copies_in_dir2: int, i_step_in_dir1: float, i_step_in_dir2: float, i_shape_to_copy_position_along_dir1: int, i_shape_to_copy_position_along_dir2: int, i_dir1: Reference, i_dir2: Reference, i_is_reversed_dir1: bool, i_is_reversed_dir2: bool, i_rotation_angle: float) RectPattern ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSurfacicRectPattern(AnyObject iShapeToCopy,long iNbOfCopiesInDir1,long iNbOfCopiesInDir2,double iStepInDir1,double iStepInDir2,long iShapeToCopyPositionAlongDir1,long iShapeToCopyPositionAlongDir2,Reference iDir1,Reference iDir2,boolean iIsReversedDir1,boolean iIsReversedDir2,double iRotationAngle) As RectPatternCreates and returns a new GSD rectangular pattern within the currentbody.Parameters:iShapeToCopyThe shape to be copied by the rectangular patterniNbOfCopiesInDir1The number of times iShapeToCopy will be copied along the patternfirst directioniNbOfCopiesInDir2The number of times iShapeToCopy will be copied along the patternsecond directioniStepInDir1The distance that will separate two consecutive copies in thepattern along its first directioniStepInDir2The distance that will separate two consecutive copies in thepattern along its second directioniShapeToCopyPositionAlongDir1Specifies the position of the original shape iShapeToCopy among itscopies along iDir1iShapeToCopyPositionAlongDir2Specifies the position of the original shape iShapeToCopy among itscopies along iDir2iDir1The line or linear edge that specifies the pattern firstrepartition directionThe followingBoundary objects are supported: PlanarFace, RectilinearTriDimFeatEdge,RectilinearBiDimFeatEdge.iDir2The line or linear edge that specifies the pattern second repartitiondirectionThe following Boundary objects are supported: PlanarFace,RectilinearTriDimFeatEdge, RectilinearBiDimFeatEdge.iIsReversedDir1The boolean flag indicating whether the natural orientation of iDir1should be used to orient the pattern operation. True indicates thatiShapeToCopy is copied in the direction of the natural orientation of iDir1.iIsReversedDir2The boolean flag indicating whether the natural orientation of iDir2should be used to orient the pattern operation. True indicates thatiShapeToCopy is copied in the direction of the natural orientation of iDir2.iRotationAngleThe angle applied to both directions iDir1 and iDir2 prior to applyingthe pattern. The original shape iShapeToCopy is used as the rotation center.Nevertheless, the copied shapes themselves are not rotated. This allows thedefinition of a rectangular pattern relatively to existing geometry, but notnecessarily parallel to it.Returns:The created rectangular pattern
- Parameters:
i_shape_to_copy (AnyObject) –
i_nb_of_copies_in_dir1 (int) –
i_nb_of_copies_in_dir2 (int) –
i_step_in_dir1 (float) –
i_step_in_dir2 (float) –
i_shape_to_copy_position_along_dir1 (int) –
i_shape_to_copy_position_along_dir2 (int) –
i_dir1 (Reference) –
i_dir2 (Reference) –
i_is_reversed_dir1 (bool) –
i_is_reversed_dir2 (bool) –
i_rotation_angle (float) –
- Return type:
- add_new_surfacic_sew_surface(i_type: int, i_support_surface: Reference, i_sewing_element: Reference, i_sewing_side: int) SewSurface ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSurfacicSewSurface(long iType,Reference iSupportSurface,Reference iSewingElement,CatSplitSide iSewingSide) As SewSurfaceCreates and returns a new volume sewing operation within the currentOGS/GS.Parameters:iTypeParameter to determine the sewing type. For Volume sewing Type = 4iSupportSurfaceThe surfacic support on which sew operation will be performediSewingElementThe face or skin or surface that will be sewn on the current volumesupportiSewingSideThe specification for which side of the current volume should bekept at the end of the sewing operationReturns:The created sewing operation
- Parameters:
- Return type:
- add_new_surfacic_user_pattern(i_shape_to_copy: AnyObject, i_nb_of_copies: int) UserPattern ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewSurfacicUserPattern(AnyObject iShapeToCopy,long iNbOfCopies) As UserPatternCreates and returns a new GSD user pattern within the currentbody.Parameters:iShapeToCopyThe shape to be copied by the user patterniNbOfCopiesThe number of times iShapeToCopy will be copiedReturns:The created user pattern
- Parameters:
i_shape_to_copy (AnyObject) –
i_nb_of_copies (int) –
- Return type:
- add_new_symmetry_2(i_reference: Reference) HybridShapeSymmetry ¶
Note
- CAA V5 Visual Basic Help - Manually created. (2022-10-10)
- o Func AddNewSymmetry2(Reference iReference) As HybridShapeSymmetryCreates a new Symmetry within the current body.Parameters:iReferencePoint, line or reference plane.Sub-element(s) supported (see Boundary object): see PlanarFace, Edgeand Vertex.oSymmetryCreated symmetry.
- Parameters:
i_reference (Reference) –
- Return type:
- add_new_thick_surface(i_offset_element: Reference, i_isens_offset: int, i_top_offset: float, i_bot_offset: float) ThickSurface ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewThickSurface(Reference iOffsetElement,long iIsensOffset,double iTopOffset,double iBotOffset) As ThickSurfaceCreates and returns a new ThickSurface feature.Parameters:iOffsetElementThe skin that will be thicken and added with the current bodyiIsensOffsetThe direction of the offset in regard to the direction of thenormaliTopOffsetThe Offset between the iOffsetElement and the upper skin of theresulting featureiBotOffsetThe Offset between the iOffsetElement and the lower skin of theresulting featureReturns:The created ThickSurface feature
- Parameters:
i_offset_element (Reference) –
i_isens_offset (int) –
i_top_offset (float) –
i_bot_offset (float) –
- Return type:
- add_new_thickness(i_face_to_thicken: Reference, i_offset: float) Thickness ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewThickness(Reference iFaceToThicken,double iOffset) As ThicknessCreates and returns a new thickness within the currentbody.Parameters:iFaceToThickenThe first face to thicken in the thickeningprocess.New faces to thicken can be added to the thickness afterwards byusing methods offered by the created thicknessThe followingBoundary object is supported: Face.iOffsetThe thickness of material to be added on the external side of the faceiFaceToThicken during the thickening processReturns:The created thickness
- add_new_thread_with_out_ref() Thread ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewThreadWithOutRef() As ThreadCreates and returns a new thread ap within the currentbody.Returns:The created Thread
- Return type:
- add_new_thread_with_ref(i_lateral_face: Reference, i_limit_face: Reference) Thread ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewThreadWithRef(Reference iLateralFace,Reference iLimitFace) As ThreadCreates and returns a new thread ap within the currentbody.Parameters:iLateralFaceThe Face defining the support of thread apThe followingBoundary object is supported: Face.iLimitFaceeThe Face defining the origin of the thread.The following Boundary object is supported:PlanarFace.Returns:The created Thread
- add_new_translate2(i_distance: float) Translate ¶
Note
- Microsoft Visual Basic Object Browser
- Function AddNewTranslate2(iDistance As Double) As AnyObjectMember of PARTITF.ShapeFactory
- Parameters:
i_distance (float) –
- Return type:
- add_new_trim(i_body_to_trim: Body) Trim ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewTrim(Body iBodyToTrim) As TrimCreates and returns a new Trim operation within the currentbody.Parameters:iBodyToTrimThe body to Trim with current body.Returns:The created Trim operation
- add_new_tritangent_fillet(i_f1: Reference, i_f2: Reference, i_removed_face: Reference) TritangentFillet ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewTritangentFillet(Reference iF1,Reference iF2,Reference iRemovedFace) As TritangentFilletDeprecated:V5R14 #AddNewTritangentFillet use AddNewSolidTritangentFillet orAddNewSurfaceTritangentFillet depending on the type of fillet you want tocreate
- Parameters:
- Return type:
- add_new_user_pattern(i_shape_to_copy: AnyObject, i_nb_of_copies: int) UserPattern ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewUserPattern(AnyObject iShapeToCopy,long iNbOfCopies) As UserPatternCreates and returns a new user pattern within the currentbody.Parameters:iShapeToCopyThe shape to be copied by the user patterniNbOfCopiesThe number of times iShapeToCopy will be copiedReturns:The created user pattern
- Parameters:
i_shape_to_copy (AnyObject) –
i_nb_of_copies (int) –
- Return type:
- add_new_user_patternof_list(i_shape_to_copy: AnyObject, i_nb_of_copies: int) UserPattern ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewUserPatternofList(AnyObject iShapeToCopy,long iNbOfCopies) As UserPatternV5R8 Only: Creates and returns a new user pattern within the current bodyusing a list of shapes.Parameters:iShapeToCopyThe shape to be copied by the user pattern Others shapes will beadd by put_ItemToCopy with CATIAPattern interfaceiNbOfCopiesThe number of times iShapeToCopy will be copiedReturns:The created user pattern
- Parameters:
i_shape_to_copy (AnyObject) –
i_nb_of_copies (int) –
- Return type:
- add_new_volume_add(i_body1: Reference, i_body2: Reference, i_type: float) Add ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewVolumeAdd(Reference iBody1,Reference iBody2,double iType) As AddCreates and returns a Volumic Add feature.Parameters:iBody1The volume or body to be modified.iBody2The volume or body to be operated.iTypeiType = 0 if Part Design, = 4 if GSD.Returns:The created Volumic Add feature.
- add_new_volume_close_surface(i_close_element: Reference) CloseSurface ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewVolumeCloseSurface(Reference iCloseElement) AsCloseSurfaceCreates and returns a new VolumeCloseSurface feature.Parameters:iCloseElementThe skin that will be closed and add with the current bodyReturns:The created CloseSurface feature
- Parameters:
i_close_element (Reference) –
- Return type:
- add_new_volume_intersect(i_body1: Reference, i_body2: Reference, i_type: float) Intersect ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewVolumeIntersect(Reference iBody1,Reference iBody2,double iType) As IntersectCreates and returns a Volumic Intersect feature.Parameters:iBody1The volume or body to be modified.iBody2The volume or body to be operated.iTypeiType = 0 if Part Design, = 4 if GSD.Returns:The created Volumic Intersect feature.
- add_new_volume_remove(i_body1: Reference, i_body2: Reference, i_type: float) Remove ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewVolumeRemove(Reference iBody1,Reference iBody2,double iType) As RemoveCreates and returns a Volumic Remove feature.Parameters:iBody1The volume or body to be modified.iBody2The volume or body to be operated.iTypeiType = 0 if Part Design, = 4 if GSD.Returns:The created Volumic Remove feature.
- add_new_volume_sew_surface(i_type: int, i_support_volume: Reference, i_sewing_element: Reference, i_sewing_side: int) SewSurface ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewVolumeSewSurface(long iType,Reference iSupportVolume,Reference iSewingElement,CatSplitSide iSewingSide) As SewSurfaceCreates and returns a new volume sewing operation within the currentOGS/GS.Parameters:iTypeParameter to determine the sewing type. For Volume sewing Type = 4iSupportVolumeThe volume support on which sew operation will be performediSewingElementThe face or skin or surface that will be sewn on the current volumesupportiSewingSideThe specification for which side of the current volume should bekept at the end of the sewing operationReturns:The created sewing operation
- Parameters:
- Return type:
- add_new_volume_shell(i_face_to_remove: Reference, i_internal_thickness: float, i_external_thickness: float, i_volume_support: Reference) Shell ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewVolumeShell(Reference iFaceToRemove,double iInternalThickness,double iExternalThickness,Reference iVolumeSupport) As ShellCreates and returns a Volumic Shell feature.Parameters:iFacesToRemoveThe Faces of the VolumeiFacesToThickenThe Faces of the VolumeiInternalThicknessThe thickness of material to be added on the internal side of allthe faces during the shell process, except for those to be removediExternaThicknessThe thickness of material to be added on the external side of allthe faces during the shell process, except for those to be removediVolumeSupportThe Volume related the faces to remove and faces to thickenReturns:The created Volumic Shell.
- add_new_volume_thick_surface(i_offset_element: Reference, i_isens_offset: int, i_top_offset: float, i_bot_offset: float) ThickSurface ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewVolumeThickSurface(Reference iOffsetElement,long iIsensOffset,double iTopOffset,double iBotOffset) As ThickSurfaceCreates and returns a new VolumeThickSurface feature.Parameters:iOffsetElementThe skin that will be thicken and added with the current OGS/GSiIsensOffsetThe direction of the offset in regard to the direction of thenormaliTopOffsetThe Offset between the iOffsetElement and the upper skin of theresulting featureiBotOffsetThe Offset between the iOffsetElement and the lower skin of theresulting featureReturns:The created ThickSurface feature
- Parameters:
i_offset_element (Reference) –
i_isens_offset (int) –
i_top_offset (float) –
i_bot_offset (float) –
- Return type:
- add_new_volume_thickness(i_face_to_thicken: Reference, i_offset: float, i_type: int, i_volume_support: Reference) Thickness ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewVolumeThickness(Reference iFaceToThicken,double iOffset,long iType,Reference iVolumeSupport) As ThicknessCreates and returns a volume new thickness within the current GS orOGS.Parameters:iFaceToThickenThe first face to thicken in the thickeningprocess.New faces to thicken can be added to the thickness afterwards byusing methods offered by the created thicknessThe followingBoundary object is supported: Face.iOffsetThe thickness of material to be added on the external side of the faceiFaceToThicken during the thickening processiTypeThe mode of thickness creation (4=Volume)iVolumeSupportThe support volume for volumic draftReturns:The created thickness
- add_new_volume_trim(i_support_volume: Reference, i_cutting_volume: Reference) Trim ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewVolumeTrim(Reference iSupportVolume,Reference iCuttingVolume) As TrimCreates and returns a new Volume Trim operation within theGS/OGS.Parameters:iSupportVolumeThe Support VolumeiCutttingVolumeThe trimming VolumeReturns:The created Trim operation
- add_new_volumic_draft(i_face_to_draft: Reference, i_neutral: Reference, i_neutral_mode: int, i_parting: Reference, i_dir_x: float, i_dir_y: float, i_dir_z: float, i_mode: int, i_angle: float, i_multiselection_mode: int, i_type: int, i_volume_support: Reference) Draft ¶
Note
- CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
- o Func AddNewVolumicDraft(Reference iFaceToDraft,Reference iNeutral,CatDraftNeutralPropagationMode iNeutralMode,Reference iParting,double iDirX,double iDirY,double iDirZ,CatDraftMode iMode,double iAngle,CatDraftMultiselectionMode iMultiselectionMode,long iType,Reference iVolumeSupport) As DraftCreates and returns a new volume draft within the currentbody.The draft needs a reference face on the body. This face will remainunchanged in the draft operation, while faces adjacent to it and specified fordrafting will be rotated by the draft angle.Parameters:iFaceToDraftThe first face to draft in the body. This face should be adjacentto the iFaceToDraft face. If several faces are to be drafted, only the firstone is specified here, the others being inferred by propagating the draftoperation onto faces adjacent to this first face. This is controlled by theiNeutralMode argument.The followingBoundary object is supported: Face.iNeutralThe reference face for the draft. The draft needs a reference face onthe body, that will remain unchanged in the draft operation, while facesadjacent to it and specified for drafting will be rotated according to thedraft angle iAngle.The following Boundary object is supported:PlanarFace.iNeutralModeControls if and how the drafting operation should be propagated beyondthe first face to draft iFaceToDraft to other adjacent faces.iPartingThe draft parting plane, face or surface. It specifies the elementwithin the body to draft that represents the bottom of the mold. This elementcan be located either somewhere in the middle of the body or be one of itsboundary faces. When located in the middle of the body, it crosses the faces todraft, and as a result, those faces are drafted with a positive angle on oneside of the parting surface, and with a negative angle on the otherside.The following Boundary object is supported:PlanarFace.iDirX,iDirY,iDirZThe X, Y, and Z components of the absolute vector representing thedrafting direction (i.e. the mold extraction direction).iModeThe draft connecting mode to its reference face iFaceToDraftiAngleThe draft angleiMultiselectionMode.The elements to be drafted can be selected explicitly or can implicitlyselected as neighbors of the neutral faceiTypeThe mode of draft creation (4=Volume)iVolumeSupportThe support volume for volumic draftReturns:The created draft
- Parameters:
i_face_to_draft (Reference) –
i_neutral (Reference) –
i_neutral_mode (int) – enum cat_draft_neutral_propagation_mode
i_parting (Reference) –
i_dir_x (float) –
i_dir_y (float) –
i_dir_z (float) –
i_mode (int) – enum cat_draft_mode
i_angle (float) –
i_multiselection_mode (int) – enum cat_draft_multiselection_mode
i_type (int) –
i_volume_support (Reference) –
- Return type: