The Shapefactory mission is to build from scratch shapes that will be used within the design process of parts. Those shapes have a strong mechanical built-in knowledge, such as chamfer or hole, and in most cases apply contextually to the part being designed. When created, they become part of the definition of whichever body or shape that is current at that time. After they are created, they become in turn the current body or shape. In most cases, shapes are created from a factory with a minimum number of parametersr. Other shapes parameters may be set further on by using methods offered by the shape itself.
Methods
- Func AddNewAdd( iBodyToAdd) As
-
Creates and returns a new add operation within the current body.
- Parameters:
-
- iBodyToAdd
- The body to add to the current body dd>
- Returns:
- The created add operation dd>
- Func AddNewAffinity2( XRatio, YRatio, ZRatio) As
-
Creates and returns a Affinity feature.
- Parameters:
-
- XRatio
- Value for the XRatio. dd>
- YRatio
- Value for the YRatio. dd>
- ZRatio
- Value for the ZRatio. dd>
- Returns:
- the created Affinity feature. dd>
- Func AddNewAssemble( iBodyToAssemble) As
-
Creates and returns a new assembly operation within the current body.
- Parameters:
-
- iBodyToAssemble
- The body to assemble with the current body dd>
- Returns:
- The created assembly operation dd>
- Func AddNewAutoDraft( iDraftAngle) As
-
Creates and returns a new solid autodraft.
Use this method to create autodraft by providing draft angle.- Parameters:
-
- iDraftAngle
- The draft angle. dd>
- Returns:
- The created autodraft. dd>
- Func AddNewAutoFillet( iFilletRadius, iRoundRadius) As
-
Creates and returns a new solid autofillet.
Use this method to create autofillet by providing fillet and round radius values.- Parameters:
-
- iFilletRadius
- The fillet radius dd>
- iRoundRadius
- The round radius dd>
- Returns:
- The created autofillet dd>
- Func AddNewAxisToAxis2( iReference, iTarget) As
-
Creates and returns an AxisToAxis transformation feature.
- Parameters:
-
- iReference
- The refrence axis. dd>
- iTarget
- The target axis. dd>
- Returns:
- The created AxisToAxis transformation feature. dd>
- Func AddNewBlend() As
-
Creates and returns a new Blend feature.
- Returns:
- The created Blend feature dd>
- Func AddNewChamfer( iObjectToChamfer, iPropagation, iMode, iOrientation, iLength1, iLength2OrAngle) As
-
Creates and returns a new chamfer within the current body.
- Parameters:
-
- iObjectToChamfer
- The first edge or face to chamfer
The following object is supported: . dd> - iPropagation
- Controls if and how the chamfering operation should propagate beyond the first chamfer element iObjectToChamfer, when it is an edge dd>
- iMode
- Controls if the chamfer is defined by two lengthes, or by an angle and a
length
The value of this argument changes the way the arguments iLength1 and iLength2OrAngle should be interpreted. dd> - iOrientation
- Defines the relative meaning of arguments iLength1 and iLength2OrAngle when defining a chamfer by two lengthes dd>
- iLength1
- The first value for chamfer dimensioning. It represents the chamfer first length if the chamfer is defined by two lengthes, or the chamfer length if the chamfer is defined by a length and an angle. dd>
- iLength2OrAngle
- The second value for chamfer dimensioning. It represents the chamfer second length if the chamfer is defined by two lengthes, or the chamfer angle if the chamfer is defined by a length and an angle. dd>
- Returns:
- The created chamfer dd>
- Func AddNewCircPattern( iShapeToCopy, iNbOfCopiesInRadialDir, iNbOfCopiesInAngularDir, iStepInRadialDir, iStepInAngularDir, iShapeToCopyPositionAlongRadialDir, iShapeToCopyPositionAlongAngularDir, iRotationCenter, iRotationAxis, iIsReversedRotationAxis, iRotationAngle, iIsRadiusAligned) As
-
Creates and returns a new circular pattern within the current body.
- Parameters:
-
- iShapeToCopy
- The shape to be copied by the circular pattern dd>
- iNbOfInstancesInRadialDir
- The number of times iShapeToCopy will be copied along pattern radial direction dd>
- iNbOfInstancesInAngularDir
- The number of times iShapeToCopy will be copied along pattern angular direction dd>
- iStepInRadialDir
- The distance that will separate two consecutive copies in the pattern along its radial direction dd>
- iStepInAngularDir
- The angle that will separate two consecutive copies in the pattern along its angular direction dd>
- iShapeToCopyPositionAlongRadialDir
- Specifies the position of the original shape iShapeToCopy among its copies along the radial direction dd>
- iShapeToCopyPositionAlongAngularDir
- Specifies the position of the original shape iShapeToCopy among its copies along the angular direction dd>
- iRotationCenter
- The point or vertex that specifies the pattern center of rotation dd>
- iRotationAxis
- The line or linear edge that specifies the axis around which instances
will be rotated relative to each other
The following objects are supported: , , and . dd> - iIsReversedRotationAxis
- The boolean flag indicating wether the natural orientation of iRotationAxis should be used to orient the pattern operation. A value of true indicates that iItemToDuplicate are copied in the direction of the natural orientation of iRotationAxis. dd>
- iRotationAngle
- The angle applied to the direction iRotationAxis prior to applying the pattern. The original shape iShapeToCopy is used as the rotation center. Nevertheless, the copied shapes themselves are not rotated. This allows the definition of a circular pattern relatively to existing geometry, but not necessarily parallel to it. dd>
- iIsRadiusAligned
- The boolean flag that specifies whether the instances of iItemToDuplicate 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). dd>
- Returns:
- The created circular pattern dd>
- Func AddNewCircPatternofList( iShapeToCopy, iNbOfCopiesInRadialDir, iNbOfCopiesInAngularDir, iStepInRadialDir, iStepInAngularDir, iShapeToCopyPositionAlongRadialDir, iShapeToCopyPositionAlongAngularDir, iRotationCenter, iRotationAxis, iIsReversedRotationAxis, iRotationAngle, iIsRadiusAligned) As
-
V5R8 Only: Creates and returns a new circular pattern within the current body using a list of shapes.
- Parameters:
-
- iShapeToCopy
- The shape to be copied by the circular pattern. Others shapes will be add by put_ItemToCopy with CATIAPattern interface dd>
- iNbOfInstancesInRadialDir
- The number of times iShapeToCopy will be copied along pattern radial direction dd>
- iNbOfInstancesInAngularDir
- The number of times iShapeToCopy will be copied along pattern angular direction dd>
- iStepInRadialDir
- The distance that will separate two consecutive copies in the pattern along its radial direction dd>
- iStepInAngularDir
- The angle that will separate two consecutive copies in the pattern along its angular direction dd>
- iShapeToCopyPositionAlongRadialDir
- Specifies the position of the original shape iShapeToCopy among its copies along the radial direction dd>
- iShapeToCopyPositionAlongAngularDir
- Specifies the position of the original shape iShapeToCopy among its copies along the angular direction dd>
- iRotationCenter
- The point or vertex that specifies the pattern center of rotation dd>
- iRotationAxis
- The line or linear edge that specifies the axis around which instances will be rotated relative to each other dd>
- iIsReversedRotationAxis
- The boolean flag indicating wether the natural orientation of iRotationAxis should be used to orient the pattern operation. A value of true indicates that iItemToDuplicate are copied in the direction of the natural orientation of iRotationAxis. dd>
- iRotationAngle
- The angle applied to the direction iRotationAxis prior to applying the pattern. The original shape iShapeToCopy is used as the rotation center. Nevertheless, the copied shapes themselves are not rotated. This allows the definition of a circular pattern relatively to existing geometry, but not necessarily parallel to it. dd>
- iIsRadiusAligned
- The boolean flag that specifies whether the instances of iItemToDuplicate 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). dd>
- Returns:
- The created circular pattern dd>
- Func AddNewCloseSurface( iCloseElement) As
-
Creates and returns a new CloseSurface feature.
- Parameters:
-
- iCloseElement
- The skin that will be closed and add with the current body dd>
- Returns:
- The created CloseSurface feature dd>
- Func AddNewDefeaturing() As
-
Creates and returns a new defeaturing operation within the current container.
- Returns:
- The created defeaturing operation dd>
- Func AddNewDraft( iFaceToDraft, iNeutral, iNeutralMode, iParting, iDirX, iDirY, iDirZ, iMode, iAngle, iMultiselectionMode) As
-
Creates and returns a new draft within the current body.
The draft needs a reference face on the body. This face will remain unchanged in the draft operation, while faces adjacent to it and specified for drafting will be rotated by the draft angle.- Parameters:
-
- iFaceToDraft
- The first face to draft in the body. This face should be adjacent to the
iFaceToDraft face. If several faces are to be drafted, only the
first one is specified here, the others being inferred by propagating the
draft operation onto faces adjacent to this first face. This is
controlled by the iNeutralMode argument.
The following object is supported: . dd> - iNeutral
- The reference face for the draft. The draft needs a reference face on
the body, that will remain unchanged in the draft operation, while faces
adjacent to it and specified for drafting will be rotated according
to the draft angle iAngle.
The following object is supported: . dd> - iNeutralMode
- Controls if and how the drafting operation should be propagated beyond the first face to draft iFaceToDraft to other adjacent faces. dd>
- iParting
- The draft parting plane, face or surface.
It specifies the element within the body to draft
that represents the bottom of the mold. This element can be located either
somewhere in the middle of the body or be one of its boundary faces.
When located in the middle of the body, it crosses the faces to draft,
and as a result, those faces are drafted with a positive angle on one
side of the parting surface, and with a negative angle on the other side.
The following object is supported: . dd> - iDirX,iDirY,iDirZ
- The X, Y, and Z components of the absolute vector representing the drafting direction (i.e. the mold extraction direction). dd>
- iMode
- The draft connecting mode to its reference face iFaceToDraft dd>
- iAngle
- The draft angle dd>
- iMultiselectionMode.
- The elements to be drafted can be selected explicitly or can implicitly selected as neighbors of the neutral face dd>
- Returns:
- The created draft dd>
- Func AddNewEdgeFilletWithConstantRadius( iEdgeToFillet, iPropagMode, iRadius) As
-
- Deprecated:
- V5R14 #AddNewEdgeFilletWithConstantRadius use AddNewSolidEdgeFilletWithConstantRadius or AddNewSurfaceEdgeFilletWithConstantRadius depending on the type of fillet you want to create dd>
- Func AddNewEdgeFilletWithVaryingRadius( iEdgeToFillet, iPropagMode, iVariationMode, iDefaultRadius) As
-
- Deprecated:
- V5R14 #AddNewEdgeFilletWithVaryingRadius use AddNewSolidEdgeFilletWithVaryingRadius or AddNewSurfaceEdgeFilletWithVaryingRadius depending on the type of fillet you want to create dd>
- Func AddNewFaceFillet( iF1, iF2, iRadius) As
-
- Deprecated:
- V5R14 #AddNewFaceFillet use AddNewSolidFaceFillet or AddNewSurfaceFaceFillet depending on the type of fillet you want to create dd>
- Func AddNewGSDCircPattern( iShapeToCopy, iNbOfCopiesInRadialDir, iNbOfCopiesInAngularDir, iStepInRadialDir, iStepInAngularDir, iShapeToCopyPositionAlongRadialDir, iShapeToCopyPositionAlongAngularDir, iRotationCenter, iRotationAxis, iIsReversedRotationAxis, iRotationAngle, iIsRadiusAligned, iCompleteCrown, iType) As
-
- Deprecated:
- V5R15 #AddNewSurfacicCircPattern dd>
- Func AddNewGSDRectPattern( iShapeToCopy, iNbOfCopiesInDir1, iNbOfCopiesInDir2, iStepInDir1, iStepInDir2, iShapeToCopyPositionAlongDir1, iShapeToCopyPositionAlongDir2, iDir1, iDir2, iIsReversedDir1, iIsReversedDir2, iRotationAngle, iType) As
-
- Deprecated:
- V5R15 #AddNewSurfacicRectPattern dd>
- Func AddNewGroove( iSketch) As
-
Creates and returns a new groove within the current body.
The , as a supertype for grooves, provides starting and ending angles for the groove definition.- Parameters:
-
- iSketch
- The sketch defining the groove section. The sketch must contain a contour and an axis that will be used to rotate the contour in the space, thus defining the groove. The contour has to penetrate in 3D space the current shape. dd>
- Returns:
- The created groove dd>
- Func AddNewGrooveFromRef( iProfileElt) As
-
Creates and returns a new groove within the current body.
- Parameters:
-
- iProfileElt
- The reference on the element defining the groove base dd>
- Returns:
- The created groove dd>
- Func AddNewHole( iSupport, iDepth) As
-
Creates and returns a new hole within the current shape.
Actual hole shape is defined by editing hole properties after its creation.- Parameters:
-
- iSupport
- The support defining the hole reference plane.
Anchor point is located at the barycenter of the support. The hole axis in 3D passes through that point and is normal to the plane.
The following object is supported: . dd> - iDepth
- The hole depth. dd>
- Returns:
- The created hole dd>
- Func AddNewHoleFromPoint( iX, iY, iZ, iSupport, iDepth) As
-
Creates and returns a new hole within the current shape.
Actual hole shape is defined by editing hole properties after its creation.- Parameters:
-
- iX
- Origin point x absolute coordinate dd>
- iY
- Origin point y absolute coordinate dd>
- iZ
- Origin point z absolute coordinate
Sets the origin point which the hole is anchored to.
If mandatory, the entry point will be projected onto a tangent plane. dd> - iSupport
- The support defining the hole reference plane.
The following object is supported: . dd> - iDepth
- The hole depth. dd>
- Returns:
- The created hole dd>
- Func AddNewHoleFromRefPoint( iOrigin, iSupport, iDepth) As
-
Creates and returns a new hole within the current shape.
Actual hole shape is defined by editing hole properties after its creation.- Parameters:
-
- iOrigin
- The origin point which the hole is anchored to. dd>
- iSupport
- The support defining the hole reference plane.
The following object is supported: . dd> - iDepth
- The hole depth. dd>
- Returns:
- The created hole dd>
- Func AddNewHoleFromSketch( iSketch, iDepth) As
-
Creates and returns a new hole within the current shape.
Actual hole shape is defined by editing hole properties after its creation.- Parameters:
-
- iSketch
- The sketch defining the hole reference plane and anchor point.
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 sketch plane. dd> - iDepth
- The hole depth. dd>
- Returns:
- The created hole dd>
- Func AddNewHoleWith2Constraints( iX, iY, iZ, iEdge1, iEdge2, iSupport, iDepth) As
-
Creates and returns a new hole within the current shape.
Actual hole shape is defined by editing hole properties after its creation.- Parameters:
-
- iX
- Origin point x absolute coordinate dd>
- iY
- Origin point y absolute coordinate dd>
- iZ
- Origin point z absolute coordinate
Sets the origin point which the hole is anchored to.
If mandatory, the entry point will be projected onto a tangent plane. dd> - iEdge
- The edge which the hole is constrained to.
The origin of the hole will have a length constraint with each edge.
The following object is supported: . dd> - iSupport
- The support defining the hole reference plane.
The following object is supported: . dd> - iDepth
- The hole depth. dd>
- Returns:
- The created hole dd>
- Func AddNewHoleWithConstraint( iX, iY, iZ, iEdge, iSupport, iDepth) As
-
Creates and returns a new hole within the current shape.
Actual hole shape is defined by editing hole properties after its creation.- Parameters:
-
- iX
- Origin point x absolute coordinate dd>
- iY
- Origin point y absolute coordinate dd>
- iZ
- Origin point z absolute coordinate
Sets the origin point which the hole is anchored to.
If mandatory, the entry point will be projected onto a tangent plane. dd> - iEdge
- The edge which the hole is constrained to.
If edge is circular, the origin of the hole will be concentric to the edge (iX, iY, iZ will be overridden). if not, the origin of the hole will have a length constraint with the edge.
The following object is supported: . dd> - iSupport
- The support defining the hole reference plane.
The following object is supported: . dd> - iDepth
- The hole depth. dd>
- Returns:
- The created hole dd>
- Func AddNewIntersect( iBodyToIntersect) As
-
Creates and returns a new intersect operation within the current body.
- Parameters:
-
- iBodyToIntersect
- The body to intersect with the current body dd>
- Returns:
- The created intersect operation dd>
- Func AddNewLoft() As
-
Creates and returns a new Loft feature.
- Returns:
- The created Loft feature dd>
- Func AddNewMirror( iMirroringElement) As
-
Creates and returns a new mirror within the current body.
A mirror allows for transforming existing shapes by a symmetry with respect to an existing plane.- Parameters:
-
- iMirroringElement
- The plane used by the mirror as the symmetry plane.
The following object is supported: . dd>
- Returns:
- The created mirror dd>
- Func AddNewPad( iSketch, iHeight) As
-
Creates and returns a new pad within the current body.
- Parameters:
-
- iSketch
- The sketch defining the pad base dd>
- iHeight
- The pad height dd>
- Returns:
- The created pad dd>
- Func AddNewPadFromRef( iProfileElt, iHeight) As
-
Creates and returns a new pad within the current body.
- Parameters:
-
- iProfileElt
- The reference on the element defining the pad base dd>
- iHeight
- The pad height dd>
- Returns:
- The created pad dd>
- Func AddNewPocket( iSketch, iHeight) As
-
Creates and returns a new pocket within the current shape.
- Parameters:
-
- iSketch
- The sketch defining the pocket base dd>
- iDepth
- The pocket depth dd>
- Returns:
- The created pocket dd>
- Func AddNewPocketFromRef( iProfileElt, iHeight) As
-
Creates and returns a new pocket within the current shape.
- Parameters:
-
- iProfileElt
- The reference on the element defining the pocket base dd>
- iDepth
- The pocket depth dd>
- Returns:
- The created pocket dd>
- Func AddNewRectPattern( iShapeToCopy, iNbOfCopiesInDir1, iNbOfCopiesInDir2, iStepInDir1, iStepInDir2, iShapeToCopyPositionAlongDir1, iShapeToCopyPositionAlongDir2, iDir1, iDir2, iIsReversedDir1, iIsReversedDir2, iRotationAngle) As
-
Creates and returns a new rectangular pattern within the current body.
- Parameters:
-
- iShapeToCopy
- The shape to be copied by the rectangular pattern dd>
- iNbOfCopiesInDir1
- The number of times iShapeToCopy will be copied along the pattern first direction dd>
- iNbOfCopiesInDir2
- The number of times iShapeToCopy will be copied along the pattern second direction dd>
- iStepInDir1
- The distance that will separate two consecutive copies in the pattern along its first direction dd>
- iStepInDir2
- The distance that will separate two consecutive copies in the pattern along its second direction dd>
- iShapeToCopyPositionAlongDir1
- Specifies the position of the original shape iShapeToCopy among its copies along iDir1 dd>
- iShapeToCopyPositionAlongDir2
- Specifies the position of the original shape iShapeToCopy among its copies along iDir2 dd>
- iDir1
- The line or linear edge that specifies the pattern first repartition
direction
The following objects are supported: , , . dd> - iDir2
- The line or linear edge that specifies the pattern second repartition
direction
The following objects are supported: , , . dd> - iIsReversedDir1
- The boolean flag indicating whether the natural orientation of iDir1 should be used to orient the pattern operation. True indicates that iShapeToCopy is copied in the direction of the natural orientation of iDir1. dd>
- iIsReversedDir2
- The boolean flag indicating whether the natural orientation of iDir2 should be used to orient the pattern operation. True indicates that iShapeToCopy is copied in the direction of the natural orientation of iDir2. dd>
- iRotationAngle
- The angle applied to both directions iDir1 and iDir2 prior to applying the pattern. The original shape iShapeToCopy is used as the rotation center. Nevertheless, the copied shapes themselves are not rotated. This allows the definition of a rectangular pattern relatively to existing geometry, but not necessarily parallel to it. dd>
- Returns:
- The created rectangular pattern dd>
- Func AddNewRectPatternofList( iShapeToCopy, iNbOfCopiesInDir1, iNbOfCopiesInDir2, iStepInDir1, iStepInDir2, iShapeToCopyPositionAlongDir1, iShapeToCopyPositionAlongDir2, iDir1, iDir2, iIsReversedDir1, iIsReversedDir2, iRotationAngle) As
-
V5R8 Only: Creates and returns a new rectangular pattern within the current body using a list of shapes.
- Parameters:
-
- iShapeToCopy
- The shape to be copied by the rectangular pattern Others shapes will be add by put_ItemToCopy with CATIAPattern interface dd>
- iNbOfCopiesInDir1
- The number of times iShapeToCopy will be copied along the pattern first direction dd>
- iNbOfCopiesInDir2
- The number of times iShapeToCopy will be copied along the pattern second direction dd>
- iStepInDir1
- The distance that will separate two consecutive copies in the pattern along its first direction dd>
- iStepInDir2
- The distance that will separate two consecutive copies in the pattern along its second direction dd>
- iShapeToCopyPositionAlongDir1
- Specifies the position of the original shape iShapeToCopy among its copies along iDir1 dd>
- iShapeToCopyPositionAlongDir2
- Specifies the position of the original shape iShapeToCopy among its copies along iDir2 dd>
- iDir1
- The line or linear edge that specifies the pattern first repartition direction dd>
- iDir2
- The line or linear edge that specifies the pattern second repartition direction dd>
- iIsReversedDir1
- The boolean flag indicating whether the natural orientation of iDir1 should be used to orient the pattern operation. True indicates that iShapeToCopy is copied in the direction of the natural orientation of iDir1. dd>
- iIsReversedDir2
- The boolean flag indicating whether the natural orientation of iDir2 should be used to orient the pattern operation. True indicates that iShapeToCopy is copied in the direction of the natural orientation of iDir2. dd>
- iRotationAngle
- The angle applied to both directions iDir1 and iDir2 prior to applying the pattern. The original shape iShapeToCopy is used as the rotation center. Nevertheless, the copied shapes themselves are not rotated. This allows the definition of a rectangular pattern relatively to existing geometry, but not necessarily parallel to it. dd>
- Returns:
- The created rectangular pattern dd>
- Func AddNewRemove( iBodyToRemove) As
-
Creates and returns a new remove operation within the current body.
- Parameters:
-
- iBodyToRemove
- The body to remove from the current body dd>
- Returns:
- The created remove operation dd>
- Func AddNewRemoveFace( iKeepFaces, iRemoveFaces) As
-
Creates and returns a new RemoveFace feature.
- Parameters:
-
- iKeepFaces
- The reference of the face to Keep. dd>
- iRemoveFaces
- The reference of the face to Remove. dd>
- Returns:
- The created RemoveFace feature. dd>
- Func AddNewRemovedBlend() As
-
Creates and returns a new Removed Blend feature.
- Returns:
- The created Removed Blend feature dd>
- Func AddNewRemovedLoft() As
-
Creates and returns a new Removed Loft feature.
- Returns:
- The created Removed Loft feature dd>
- Func AddNewReplaceFace( iSplitPlane, iRemoveFace, iSplittingSide) As
-
Creates and returns a new Align/ ReplaceFace feature.
- Parameters:
-
- iSplitPlane
- The reference of the element defining the Splitting Plane. dd>
- iRemoveFace
- The reference of the Face to Remove. dd>
- iSplittingSide
- The specification for which side of the current body should be Align dd>
- Returns:
- The created Align/ ReplaceFace feature. dd>
- Func AddNewRib( iSketch, iCenterCurve) As
-
Creates and returns a new rib within the current body.
- Parameters:
-
- iSketch
- The sketch defining the rib section dd>
- iCenterCurve
- The sketched curve that defines the rib center curve. It must cross the section definition sketch iSketch within the inner part of its contour. dd>
- Returns:
- The created rib dd>
- Func AddNewRibFromRef( iProfile, iCenterCurve) As
-
Creates and returns a new rib within the current body.
- Parameters:
-
- iProfile
- The Profile defining the rib section dd>
- iCenterCurve
- The curve that defines the rib center curve.
The following object is supported: . dd>
- Returns:
- The created rib dd>
- Func AddNewScaling( iScalingReference, iFactor) As
-
Creates and returns a new scaling within the current body.
- Parameters:
-
- iScalingReference
- The point, plane or face of the current body that will remain
fixed during the
scaling process: even if the face itself shrinks or expands during the
scaling, its supporting plane will remain unchanged after the scaling.
The following objects are supported: and . dd> - iFactor
- The scaling factor dd>
- Returns:
- The created scaling dd>
- Func AddNewSewSurface( iSewingElement, iSewingSide) As
-
Creates and returns a new sewing operation within the current body.
- Parameters:
-
- iSewingElement
- The face or skin or surface that will be sewn on the current body dd>
- iSewingSide
- The specification for which side of the current body should be kept at the end of the sewing operation dd>
- Returns:
- The created sewing operation dd>
- Func AddNewShaft( iSketch) As
-
Creates and returns a new shaft within the current body.
The , as a supertype for shafts, provides starting and ending angles for the shaft definition.
- Parameters:
-
- iSketch
- The sketch defining the shaft section.
- If the shaft applies to the current body, then the sketch must contain a contour and an axis that will be used to rotate the contour in the space, thus defining the shaft.
- If the shaft is the first shape defined, there is not current body to apply to. In such a case, the sketch must contain a curve whose end points are linked by an axis. By rotating the curve in the space around the axis, the shaft operation will define a revolution shape. This also works if the sketch contains a closed contour and an axis outside of this contour: in that case a revolution shape will be created, for example a torus.
- Returns:
- The created shaft dd>
- Func AddNewShaftFromRef( iProfileElt) As
-
Creates and returns a new shaft within the current body.
- Parameters:
-
- iProfileElt
- The reference on the element defining the shaft base dd>
- Returns:
- The created shaft dd>
- Func AddNewShell( iFaceToRemove, iInternalThickness, iExternalThickness) As
-
Creates and returns a new shell within the current body.
- Parameters:
-
- iFaceToRemove
- The first face to be removed in the shell process.
The following object is supported: . dd> - iInternalThickness
- The thickness of material to be added on the internal side of all the faces during the shell process, except for those to be removed dd>
- iExternaThickness
- The thickness of material to be added on the external side of all the faces during the shell process, except for those to be removed dd>
- Returns:
- The created shell dd>
- Func AddNewSlot( iSketch, iCenterCurve) As
-
Creates and returns a new slot within the current shape.
- Parameters:
-
- iSketch
- The sketch defining the slot section dd>
- iCenterCurve
- The sketched curve that defines the slot center curve. It must cross the section definition sketch iSketch within the inner part of its contour. dd>
- Returns:
- The created slot dd>
- Func AddNewSlotFromRef( iProfile, iCenterCurve) As
-
Creates and returns a new slot within the current shape.
- Parameters:
-
- iProfile
- The sketch defining the slot section dd>
- iCenterCurve
- The curve that defines the slot center curve.
The following object is supported: . dd>
- Returns:
- The created slot dd>
- Func AddNewSolidCombine( iProfileEltFirst, iProfileEltSecond) As
-
Creates and returns a new SolidCombine feature.
- Parameters:
-
- iProfileEltFirst
- The reference of the element defining the profile for first component. dd>
- iProfileEltSecond
- The reference of the element defining the profile for second component. dd>
- Returns:
- The created SolidCombine feature. dd>
- Func AddNewSolidEdgeFilletWithConstantRadius( iEdgeToFillet, iPropagMode, iRadius) As
-
Creates and returns a new solid edge fillet with a constant radius.
within the current body.
- Parameters:
-
- iEdgeToFillet
- The edge that will be filleted first
The following object is supported: . dd> - iPropagMode
- Controls whether other edges found adjacent to the first one should also be filleted in the same operation dd>
- iRadius
- The fillet radius dd>
- Returns:
- The created edge fillet dd>
- Func AddNewSolidEdgeFilletWithVaryingRadius( iEdgeToFillet, iPropagMode, iVariationMode, iDefaultRadius) As
-
Creates and returns a new solid edge fillet with a varying radius.
within the current body.
- Parameters:
-
- iEdgeToFillet
- The edge that will be filleted first
The following object is supported: . dd> - iPropagMode
- Controls whether other edges found adjacent to the first one should also be filleted in the same operation dd>
- iVariationMode
- Controls the law of evolution for the fillet radius between specified control points, such as edges extremities dd>
- iDefaultRadius
- The fillet default radius, that will apply when no other radius can be inferred from the iVariationMode parameter dd>
- Returns:
- The created edge fillet dd>
- Func AddNewSolidFaceFillet( iF1, iF2, iRadius) As
-
Creates 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 its creation.- Parameters:
-
- iF1
- The first face that will support the fillet
The following object is supported: . dd> - iF2
- The second face that will support the fillet
The following object is supported: . dd> - iRadius
- The fillet radius dd>
- Returns:
- The created face-to-face fillet dd>
- Func AddNewSolidTritangentFillet( iF1, iF2, iRemovedFace) As
-
Creates and returns a new solid tritangent fillet within the current body.
This kind of fillet begins with tangency on a first face iF1, gets tangent to a second one iRemovedFace and ends with tangency to a third one iF2. During the process the second face iRemovedFace is removed.- Parameters:
-
- iF1
- The starting face for the fillet
The following object is supported: . dd> - iF2
- The ending face for the fillet
The following object is supported: . dd> - iRemovedFace
- The face used as an intermediate tangent support for the fillet
during its course from iF1 to iF2. This face will be
removed at the end of the filleting operation.
The following object is supported: dd>
- Returns:
- The created tritangent fillet dd>
- Func AddNewSplit( iSplittingElement, iSplitSide) As
-
Creates and returns a new split operation within the current body.
- Parameters:
-
- iSplittingElement
- The face or plane that will split the current body
The following object is supported: . dd> - iSplitSide
- The specification for which side of the current body should be kept at the end of the split operation dd>
- Returns:
- The created split operation dd>
- Func AddNewStiffener( iSketch) As
-
Creates and returns a new stiffener within the current body.
A stiffener is made up of a sketch used as the stiffener profile, that is extruded (offset) and that fills the nearest shape.- Parameters:
-
- iSketch
- The sketch defining the stiffener border. It must contain a line or a curve that does not cross in 3D space the face(s) to stiffen. dd>
- Returns:
- The created stiffener dd>
- Func AddNewStiffenerFromRef( iProfileElt) As
-
Creates and returns a new stiffener within the current body.
- Parameters:
-
- iProfileElt
- The reference on the element defining the stiffener profile dd>
- Returns:
- The created stiffener dd>
- Func AddNewSurfaceEdgeFilletWithConstantRadius( iEdgeToFillet, iPropagMode, iRadius) As
-
Creates and returns a new surface edge fillet with a constant radius.
within the current body.
- Parameters:
-
- iEdgeToFillet
- The edge that will be filleted first
The following object is supported: . dd> - iPropagMode
- Controls whether other edges found adjacent to the first one should also be filleted in the same operation dd>
- iRadius
- The fillet radius dd>
- Returns:
- The created edge fillet dd>
- Func AddNewSurfaceEdgeFilletWithVaryingRadius( iEdgeToFillet, iPropagMode, iVariationMode, iDefaultRadius) As
-
Creates and returns a new surface edge fillet with a varying radius.
within the current body.
- Parameters:
-
- iEdgeToFillet
- The edge that will be filleted first
The following object is supported: . dd> - iPropagMode
- Controls whether other edges found adjacent to the first one should also be filleted in the same operation dd>
- iVariationMode
- Controls the law of evolution for the fillet radius between specified control points, such as edges extremities dd>
- iDefaultRadius
- The fillet default radius, that will apply when no other radius can be inferred from the iVariationMode parameter dd>
- Returns:
- The created edge fillet dd>
- Func AddNewSurfaceFaceFillet( iF1, iF2, iRadius) As
-
Creates 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 its creation.- Parameters:
-
- iF1
- The first face that will support the fillet
The following object is supported: . dd> - iF2
- The second face that will support the fillet
The following object is supported: . dd> - iRadius
- The fillet radius dd>
- Returns:
- The created face-to-face fillet dd>
- Func AddNewSurfaceTritangentFillet( iF1, iF2, iRemovedFace) As
-
Creates and returns a new surface tritangent fillet within the current body.
This kind of fillet begins with tangency on a first face iF1, gets tangent to a second one iRemovedFace and ends with tangency to a third one iF2. During the process the second face iRemovedFace is removed.- Parameters:
-
- iF1
- The starting face for the fillet
The following object is supported: . dd> - iF2
- The ending face for the fillet
The following object is supported: . dd> - iRemovedFace
- The face used as an intermediate tangent support for the fillet
during its course from iF1 to iF2. This face will be
removed at the end of the filleting operation.
The following object is supported: dd>
- Returns:
- The created tritangent fillet dd>
- Func AddNewSurfacicAutoFillet( iFilletRadius) As
-
Creates and returns a new Surfacic autofillet.
Use this method to create autofillet by providing fillet radius value.- Parameters:
-
- iFilletRadius
- The fillet radius dd>
- Returns:
- The created autofillet dd>
- Func AddNewSurfacicCircPattern( iShapeToCopy, iNbOfCopiesInRadialDir, iNbOfCopiesInAngularDir, iStepInRadialDir, iStepInAngularDir, iShapeToCopyPositionAlongRadialDir, iShapeToCopyPositionAlongAngularDir, iRotationCenter, iRotationAxis, iIsReversedRotationAxis, iRotationAngle, iIsRadiusAligned, iCompleteCrown) As
-
Creates and returns a new gsd circular pattern within the current body.
- Parameters:
-
- iShapeToCopy
- The shape to be copied by the circular pattern dd>
- iNbOfInstancesInRadialDir
- The number of times iShapeToCopy will be copied along pattern radial direction dd>
- iNbOfInstancesInAngularDir
- The number of times iShapeToCopy will be copied along pattern angular direction dd>
- iStepInRadialDir
- The distance that will separate two consecutive copies in the pattern along its radial direction dd>
- iStepInAngularDir
- The angle that will separate two consecutive copies in the pattern along its angular direction dd>
- iShapeToCopyPositionAlongRadialDir
- Specifies the position of the original shape iShapeToCopy among its copies along the radial direction dd>
- iShapeToCopyPositionAlongAngularDir
- Specifies the position of the original shape iShapeToCopy among its copies along the angular direction dd>
- iRotationCenter
- The point or vertex that specifies the pattern center of rotation dd>
- iRotationAxis
- The line or linear edge that specifies the axis around which instances
will be rotated relative to each other
The following objects are supported: , , and . dd> - iIsReversedRotationAxis
- The boolean flag indicating wether the natural orientation of iRotationAxis should be used to orient the pattern operation. A value of true indicates that iItemToDuplicate are copied in the direction of the natural orientation of iRotationAxis. dd>
- iRotationAngle
- The angle applied to the direction iRotationAxis prior to applying the pattern. The original shape iShapeToCopy is used as the rotation center. Nevertheless, the copied shapes themselves are not rotated. This allows the definition of a circular pattern relatively to existing geometry, but not necessarily parallel to it. dd>
- iIsRadiusAligned
- The boolean flag that specifies whether the instances of iItemToDuplicate 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). dd>
- iCompleteCrown
- The boolean flag specifies the mode of angular distribution. True indicates that the angular step will be equal to 360 degrees iNba. dd>
- Returns:
- The created circular pattern dd>
- Func AddNewSurfacicRectPattern( iShapeToCopy, iNbOfCopiesInDir1, iNbOfCopiesInDir2, iStepInDir1, iStepInDir2, iShapeToCopyPositionAlongDir1, iShapeToCopyPositionAlongDir2, iDir1, iDir2, iIsReversedDir1, iIsReversedDir2, iRotationAngle) As
-
Creates and returns a new GSD rectangular pattern within the current body.
- Parameters:
-
- iShapeToCopy
- The shape to be copied by the rectangular pattern dd>
- iNbOfCopiesInDir1
- The number of times iShapeToCopy will be copied along the pattern first direction dd>
- iNbOfCopiesInDir2
- The number of times iShapeToCopy will be copied along the pattern second direction dd>
- iStepInDir1
- The distance that will separate two consecutive copies in the pattern along its first direction dd>
- iStepInDir2
- The distance that will separate two consecutive copies in the pattern along its second direction dd>
- iShapeToCopyPositionAlongDir1
- Specifies the position of the original shape iShapeToCopy among its copies along iDir1 dd>
- iShapeToCopyPositionAlongDir2
- Specifies the position of the original shape iShapeToCopy among its copies along iDir2 dd>
- iDir1
- The line or linear edge that specifies the pattern first repartition
direction
The following objects are supported: , , . dd> - iDir2
- The line or linear edge that specifies the pattern second repartition
direction
The following objects are supported: , , . dd> - iIsReversedDir1
- The boolean flag indicating whether the natural orientation of iDir1 should be used to orient the pattern operation. True indicates that iShapeToCopy is copied in the direction of the natural orientation of iDir1. dd>
- iIsReversedDir2
- The boolean flag indicating whether the natural orientation of iDir2 should be used to orient the pattern operation. True indicates that iShapeToCopy is copied in the direction of the natural orientation of iDir2. dd>
- iRotationAngle
- The angle applied to both directions iDir1 and iDir2 prior to applying the pattern. The original shape iShapeToCopy is used as the rotation center. Nevertheless, the copied shapes themselves are not rotated. This allows the definition of a rectangular pattern relatively to existing geometry, but not necessarily parallel to it. dd>
- Returns:
- The created rectangular pattern dd>
- Func AddNewSurfacicSewSurface( iType, iSupportSurface, iSewingElement, iSewingSide) As
-
Creates and returns a new volume sewing operation within the current OGS/GS.
- Parameters:
-
- iType
- Parameter to determine the sewing type. For Volume sewing Type = 4 dd>
- iSupportSurface
- The surfacic support on which sew operation will be performed dd>
- iSewingElement
- The face or skin or surface that will be sewn on the current volume support dd>
- iSewingSide
- The specification for which side of the current volume should be kept at the end of the sewing operation dd>
- Returns:
- The created sewing operation dd>
- Func AddNewSurfacicUserPattern( iShapeToCopy, iNbOfCopies) As
-
Creates and returns a new GSD user pattern within the current body.
- Parameters:
-
- iShapeToCopy
- The shape to be copied by the user pattern dd>
- iNbOfCopies
- The number of times iShapeToCopy will be copied dd>
- Returns:
- The created user pattern dd>
- Func AddNewThickSurface( iOffsetElement, iIsensOffset, iTopOffset, iBotOffset) As
-
Creates and returns a new ThickSurface feature.
- Parameters:
-
- iOffsetElement
- The skin that will be thicken and added with the current body dd>
- iIsensOffset
- The direction of the offset in regard to the direction of the normal dd>
- iTopOffset
- The Offset between the iOffsetElement and the upper skin of the resulting feature dd>
- iBotOffset
- The Offset between the iOffsetElement and the lower skin of the resulting feature dd>
- Returns:
- The created ThickSurface feature dd>
- Func AddNewThickness( iFaceToThicken, iOffset) As
-
Creates and returns a new thickness within the current body.
- Parameters:
-
- iFaceToThicken
- The first face to thicken in the thickening process.
New faces to thicken can be added to the thickness afterwards by using methods offered by the created thickness
The following object is supported: . dd> - iOffset
- The thickness of material to be added on the external side of the face iFaceToThicken during the thickening process dd>
- Returns:
- The created thickness dd>
- Func AddNewThreadWithOutRef() As
-
Creates and returns a new thread\tap within the current body.
- Returns:
- The created Thread dd>
- Func AddNewThreadWithRef( iLateralFace, iLimitFace) As
-
Creates and returns a new thread\tap within the current body.
- Parameters:
-
- iLateralFace
- The Face defining the support of thread\tap
The following object is supported: . dd> - iLimitFacee
- The Face defining the origin of the thread.
The following object is supported: . dd>
- Returns:
- The created Thread dd>
- Func AddNewTrim( iBodyToTrim) As
-
Creates and returns a new Trim operation within the current body.
- Parameters:
-
- iBodyToTrim
- The body to Trim with current body. dd>
- Returns:
- The created Trim operation dd>
- Func AddNewTritangentFillet( iF1, iF2, iRemovedFace) As
-
- Deprecated:
- V5R14 #AddNewTritangentFillet use AddNewSolidTritangentFillet or AddNewSurfaceTritangentFillet depending on the type of fillet you want to create dd>
- Func AddNewUserPattern( iShapeToCopy, iNbOfCopies) As
-
Creates and returns a new user pattern within the current body.
- Parameters:
-
- iShapeToCopy
- The shape to be copied by the user pattern dd>
- iNbOfCopies
- The number of times iShapeToCopy will be copied dd>
- Returns:
- The created user pattern dd>
- Func AddNewUserPatternofList( iShapeToCopy, iNbOfCopies) As
-
V5R8 Only: Creates and returns a new user pattern within the current body using a list of shapes.
- Parameters:
-
- iShapeToCopy
- The shape to be copied by the user pattern Others shapes will be add by put_ItemToCopy with CATIAPattern interface dd>
- iNbOfCopies
- The number of times iShapeToCopy will be copied dd>
- Returns:
- The created user pattern dd>
- Func AddNewVolumeAdd( iBody1, iBody2, iType) As
-
Creates and returns a Volumic Add feature.
- Parameters:
-
- iBody1
- The volume or body to be modified. dd>
- iBody2
- The volume or body to be operated. dd>
- iType
- iType = 0 if Part Design, = 4 if GSD. dd>
- Returns:
- The created Volumic Add feature. dd>
- Func AddNewVolumeCloseSurface( iCloseElement) As
-
Creates and returns a new VolumeCloseSurface feature.
- Parameters:
-
- iCloseElement
- The skin that will be closed and add with the current body dd>
- Returns:
- The created CloseSurface feature dd>
- Func AddNewVolumeIntersect( iBody1, iBody2, iType) As
-
Creates and returns a Volumic Intersect feature.
- Parameters:
-
- iBody1
- The volume or body to be modified. dd>
- iBody2
- The volume or body to be operated. dd>
- iType
- iType = 0 if Part Design, = 4 if GSD. dd>
- Returns:
- The created Volumic Intersect feature. dd>
- Func AddNewVolumeRemove( iBody1, iBody2, iType) As
-
Creates and returns a Volumic Remove feature.
- Parameters:
-
- iBody1
- The volume or body to be modified. dd>
- iBody2
- The volume or body to be operated. dd>
- iType
- iType = 0 if Part Design, = 4 if GSD. dd>
- Returns:
- The created Volumic Remove feature. dd>
- Func AddNewVolumeSewSurface( iType, iSupportVolume, iSewingElement, iSewingSide) As
-
Creates and returns a new volume sewing operation within the current OGS/GS.
- Parameters:
-
- iType
- Parameter to determine the sewing type. For Volume sewing Type = 4 dd>
- iSupportVolume
- The volume support on which sew operation will be performed dd>
- iSewingElement
- The face or skin or surface that will be sewn on the current volume support dd>
- iSewingSide
- The specification for which side of the current volume should be kept at the end of the sewing operation dd>
- Returns:
- The created sewing operation dd>
- Func AddNewVolumeShell( iFaceToRemove, iInternalThickness, iExternalThickness, iVolumeSupport) As
-
Creates and returns a Volumic Shell feature.
- Parameters:
-
- iFacesToRemove
- The Faces of the Volume dd>
- iFacesToThicken
- The Faces of the Volume dd>
- iInternalThickness
- The thickness of material to be added on the internal side of all the faces during the shell process, except for those to be removed dd>
- iExternaThickness
- The thickness of material to be added on the external side of all the faces during the shell process, except for those to be removed dd>
- iVolumeSupport
- The Volume related the faces to remove and faces to thicken dd>
- Returns:
- The created Volumic Shell. dd>
- Func AddNewVolumeThickSurface( iOffsetElement, iIsensOffset, iTopOffset, iBotOffset) As
-
Creates and returns a new VolumeThickSurface feature.
- Parameters:
-
- iOffsetElement
- The skin that will be thicken and added with the current OGS/GS dd>
- iIsensOffset
- The direction of the offset in regard to the direction of the normal dd>
- iTopOffset
- The Offset between the iOffsetElement and the upper skin of the resulting feature dd>
- iBotOffset
- The Offset between the iOffsetElement and the lower skin of the resulting feature dd>
- Returns:
- The created ThickSurface feature dd>
- Func AddNewVolumeThickness( iFaceToThicken, iOffset, iType, iVolumeSupport) As
-
Creates and returns a volume new thickness within the current GS or OGS.
- Parameters:
-
- iFaceToThicken
- The first face to thicken in the thickening process.
New faces to thicken can be added to the thickness afterwards by using methods offered by the created thickness
The following object is supported: . dd> - iOffset
- The thickness of material to be added on the external side of the face iFaceToThicken during the thickening process dd>
- iType
- The mode of thickness creation (4=Volume) dd>
- iVolumeSupport
- The support volume for volumic draft dd>
- Returns:
- The created thickness dd>
- Func AddNewVolumeTrim( iSupportVolume, iCuttingVolume) As
-
Creates and returns a new Volume Trim operation within the GS/OGS.
- Parameters:
-
- iSupportVolume
- The Support Volume dd>
- iCutttingVolume
- The trimming Volume dd>
- Returns:
- The created Trim operation dd>
- Func AddNewVolumicDraft( iFaceToDraft, iNeutral, iNeutralMode, iParting, iDirX, iDirY, iDirZ, iMode, iAngle, iMultiselectionMode, iType, iVolumeSupport) As
-
Creates and returns a new volume draft within the current body.
The draft needs a reference face on the body. This face will remain unchanged in the draft operation, while faces adjacent to it and specified for drafting will be rotated by the draft angle.- Parameters:
-
- iFaceToDraft
- The first face to draft in the body. This face should be adjacent to the
iFaceToDraft face. If several faces are to be drafted, only the
first one is specified here, the others being inferred by propagating the
draft operation onto faces adjacent to this first face. This is
controlled by the iNeutralMode argument.
The following object is supported: . dd> - iNeutral
- The reference face for the draft. The draft needs a reference face on
the body, that will remain unchanged in the draft operation, while faces
adjacent to it and specified for drafting will be rotated according
to the draft angle iAngle.
The following object is supported: . dd> - iNeutralMode
- Controls if and how the drafting operation should be propagated beyond the first face to draft iFaceToDraft to other adjacent faces. dd>
- iParting
- The draft parting plane, face or surface.
It specifies the element within the body to draft
that represents the bottom of the mold. This element can be located either
somewhere in the middle of the body or be one of its boundary faces.
When located in the middle of the body, it crosses the faces to draft,
and as a result, those faces are drafted with a positive angle on one
side of the parting surface, and with a negative angle on the other side.
The following object is supported: . dd> - iDirX,iDirY,iDirZ
- The X, Y, and Z components of the absolute vector representing the drafting direction (i.e. the mold extraction direction). dd>
- iMode
- The draft connecting mode to its reference face iFaceToDraft dd>
- iAngle
- The draft angle dd>
- iMultiselectionMode.
- The elements to be drafted can be selected explicitly or can implicitly selected as neighbors of the neutral face dd>
- iType
- The mode of draft creation (4=Volume) dd>
- iVolumeSupport
- The support volume for volumic draft dd>
- Returns:
- The created draft dd>