pycatia.part_interfaces.stiffener

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.stiffener.Stiffener(com_object)

Note

CAA V5 Visual Basic Help (2020-06-11 12:40:47.360445)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
MecModInterfaces.Shape
PartInterfaces.SketchBasedShape
Stiffener

Represents the stiffener shape.
A stiffener is made up of a sketch used as the stiffener profile, that is
extruded (offset) and that fills the nearest shape. This is a “positive” shape:
it adds material to the body it belongs to.
property is_from_top: bool

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property IsFromTop() As boolean

Returns or sets whether the stiffener is From Side or From
Top.
True if the stiffener is From Top stiffener with respect to the base
sketch. False if the stiffener is From Side stiffener with respect to the base
sketch.

Example:
The following example returns in FromTopFlag whether the firstStiffener
stiffener is From Top, and then sets it as From Top stiffener with respect to
its base sketch:

Set FromTopFlag = firstStiffener.IsFromTop
firstStiffener.IsFromTop = True
Return type:

bool

property is_symmetric: bool

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property IsSymmetric() As boolean

Returns or sets whether the stiffener is symmetric.
True if the stiffener is symmetric with respect to the base
sketch.

Example:
The following example returns in symFlag whether the firstStiffener
stiffener is symmetric, and then sets it as symmetric with respect to its base
sketch:

Set symFlag = firstStiffener.IsSymmetric
firstStiffener.IsSymmetric = True
Return type:

bool

reverse_depth() None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub ReverseDepth()

Reverses the stiffener direction. This is useful for finding the shape to
reach.

Example:
The following example reverses the current direction of the
firstStiffener stiffener:

firstStiffener.ReverseDepth
Return type:

None

reverse_thickness() None

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384))
o Sub ReverseThickness()

Reverses the stiffener thickness direction. The stiffener thickness is
swapped with respect to the base sketch.

Example:
The following example reverses the current direction of the
firstStiffener stiffener:

firstStiffener.ReverseThickness
Return type:

None

property thickness: Length

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property Thickness() As Length (Read Only)

Returns the stiffener thickness. This is half of the thickness if the
stiffener is symmetrical, and the thickness otherwise.

Example:
The following example returns in thickness the thickness of the
firstStiffener stiffener:

Set thickness = firstStiffener.Thickness
Return type:

Length

property thickness_from_top: Length

Note

CAA V5 Visual Basic Help (2020-07-06 14:02:20.222384)
o Property ThicknessFromTop() As Length (Read Only)

Returns the stiffener thickness top in case of From Top stiffener. This is
equal to first thickness if the stiffener is symmetrical,

Example:
The following example returns in thicknessfromtop the thickness of the
firstStiffener stiffener:

Set thicknessfromtop = firstStiffener.ThicknessFromTop
Return type:

Length