pycatia.part_interfaces.shell

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.shell.Shell(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.DressUpShape
Shell

Represents the shell shape.
A shell shape is made up of a list of faces to process and two thickness
parameters.
add_face_to_remove(i_face_to_remove: Reference) None

Note

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

Adds a new face to those to be removed by the shell
process.

Parameters:

iFaceToRemove
The face to be removed
The following

Boundary object is supported: Face.

Example:
The following example adds the new face face to be removed in the shell
firstShell:

call firstShell.AddFaceToRemove(face)
Parameters:

i_face_to_remove (Reference) –

Return type:

None

add_face_with_different_thickness(i_face_to_thicken: Reference) None

Note

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

Adds a new face to be thicken with different offset
values.

Parameters:

iFaceToThicken
The face to be thicken with different offset
values
The following

Boundary object is supported: Face.

Example:
The following example adds the new face face to be thicken with different
offset values in the shell firstShell:

call firstShell.AddFaceWithDifferentThickness(face)
Parameters:

i_face_to_thicken (Reference) –

Return type:

None

property external_thickness: Length

Note

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

Returns the shell external thickness.

Example:
The following example returns in extThick the external thickness of the
shell firstShell:

Set extThick = firstShell.ExternalThickness
Return type:

Length

property faces_to_remove: References

Note

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

Returns the collection of faces to be removed by the shell
process.

Example:
The following example returns in list the faces to be removed from the
shell firstShell:

Set list = firstShell.FacesToRemove
Return type:

References

property internal_thickness: Length

Note

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

Returns the shell internal thickness.

Example:
The following example returns in intThick the internal thickness of the
shell firstShell:

Set intThick = firstShell.InternalThickness
Return type:

Length

remove_face_with_different_thickness(i_face_to_remove: Reference) None

Note

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

Removes an existing face from those to be thicken with different offset
values by the shell process.

Parameters:

iFaceToRemove
The face to be removed from the shell
specifications
The following

Boundary object is supported: Face.

Example:
The following example removes the face face from the list of faces in the
shell firstShell:

call firstShell.RemoveFaceWithDifferentThickness(face)
Parameters:

i_face_to_remove (Reference) –

Return type:

None

set_volume_support(i_volume_support: Reference) None

Note

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

Set the Support Volume of the faces to modify during Shell operation.
Parameters:

i_volume_support (Reference) –

Return type:

None

withdraw_face_to_remove(i_face_to_withdraw: Reference) None

Note

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

Withdraws an existing face from those to be removed by the shell
process.

Parameters:

iFaceToWithdraw
The face to be withdrawn from the shell
The following

Boundary object is supported: Face.

Example:
The following example removes the face face from the list of faces in the
shell firstShell:

call firstShell.WithdrawFaceToRemove(face)
Parameters:

i_face_to_withdraw (Reference) –

Return type:

None