pycatia.smt_interfaces.free_spaces

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357

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.smt_interfaces.free_spaces.FreeSpaces(com_object)

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.Collection
FreeSpaces

Interface to compute Free Spaces.
add(i_product_for_free_space: Product, i_accuracy: float, i_xmin: float, i_xmax: float, i_ymin: float, i_ymax: float, i_zmin: float, i_zmax: float, i_type_free_space: int, i_xpt: float, i_ypt: float, i_zpt: float, i_holes: tuple, i_shape_name: str, i_activated_shape: int, i_default_shape: int) FreeSpace

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func Add(Product iProductForFreeSpace,
double iAccuracy,
double iXmin,
double iXmax,
double iYmin,
double iYmax,
double iZmin,
double iZmax,
long iTypeFreeSpace,
double iXpt,
double iYpt,
double iZpt,
CATSafeArrayVariant iHoles,
CATBSTR iShapeName,
long iActivatedShape,
long iDefaultShape) As FreeSpace

Compute a free space around a selected product.
Parameters:
  • i_product_for_free_space (Product) –

  • i_accuracy (float) –

  • i_xmin (float) –

  • i_xmax (float) –

  • i_ymin (float) –

  • i_ymax (float) –

  • i_zmin (float) –

  • i_zmax (float) –

  • i_type_free_space (int) –

  • i_xpt (float) –

  • i_ypt (float) –

  • i_zpt (float) –

  • i_holes (tuple) –

  • i_shape_name (str) –

  • i_activated_shape (int) –

  • i_default_shape (int) –

Return type:

FreeSpace

add_around_any(i_accuracy: float, i_xmin: float, i_xmax: float, i_ymin: float, i_ymax: float, i_zmin: float, i_zmax: float, i_shape_name: str, i_type_free_space: int, i_holes: tuple) FreeSpace

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func AddAroundAny(double iAccuracy,
double iXmin,
double iXmax,
double iYmin,
double iYmax,
double iZmin,
double iZmax,
CATBSTR iShapeName,
long iTypeFreeSpace,
CATSafeArrayVariant iHoles) As FreeSpace

Compute a free space around any products.
Parameters:
  • i_accuracy (float) –

  • i_xmin (float) –

  • i_xmax (float) –

  • i_ymin (float) –

  • i_ymax (float) –

  • i_zmin (float) –

  • i_zmax (float) –

  • i_shape_name (str) –

  • i_type_free_space (int) –

  • i_holes (tuple) –

Return type:

FreeSpace

add_around_products(i_accuracy: float, i_xmin: float, i_xmax: float, i_ymin: float, i_ymax: float, i_zmin: float, i_zmax: float, i_shape_name: str, i_type_free_space: int, i_holes: tuple, i_reference_selection: tuple) FreeSpace

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func AddAroundProducts(double iAccuracy,
double iXmin,
double iXmax,
double iYmin,
double iYmax,
double iZmin,
double iZmax,
CATBSTR iShapeName,
long iTypeFreeSpace,
CATSafeArrayVariant iHoles,
CATSafeArrayVariant iReferenceSelection) As FreeSpace

Compute a free space around a reference selection
Parameters:
  • i_accuracy (float) –

  • i_xmin (float) –

  • i_xmax (float) –

  • i_ymin (float) –

  • i_ymax (float) –

  • i_zmin (float) –

  • i_zmax (float) –

  • i_shape_name (str) –

  • i_type_free_space (int) –

  • i_holes (tuple) –

  • i_reference_selection (tuple) –

Return type:

FreeSpace

add_from_file(i_file_name: str, i_shape_name: str) FreeSpace

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func AddFromFile(CATBSTR iFileName,
CATBSTR iShapeName) As FreeSpace

Compute a free space from a file.
Parameters:
  • i_file_name (str) –

  • i_shape_name (str) –

Return type:

FreeSpace

add_inflating_from_file(i_file_name: str, i_shape_name: str) FreeSpace

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func AddInflatingFromFile(CATBSTR iFileName,
CATBSTR iShapeName) As FreeSpace

Compute an inflating free space from a file.
Parameters:
  • i_file_name (str) –

  • i_shape_name (str) –

Return type:

FreeSpace

add_split_from_file(i_x: float, i_y: float, i_z: float, i_nx: float, i_ny: float, i_nz: float, i_file_name: str, i_shape_name: str) FreeSpace

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Func AddSplitFromFile(double iX,
double iY,
double iZ,
double iNx,
double iNy,
double iNz,
CATBSTR iFileName,
CATBSTR iShapeName) As FreeSpace

Compute a split free space from a file.
Parameters:
  • i_x (float) –

  • i_y (float) –

  • i_z (float) –

  • i_nx (float) –

  • i_ny (float) –

  • i_nz (float) –

  • i_file_name (str) –

  • i_shape_name (str) –

Return type:

FreeSpace