pycatia.smt_interfaces.silhouettes¶
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.silhouettes.Silhouettes(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.CollectionSilhouettesInterface to compute Silhouettes.- add(i_product_to_silhouette: Product, i_accuracy: float, i_azimuts: tuple, i_shape_name: str, i_activated_shape: int, i_default_shape: int) Silhouette ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func Add(Product iProductToSilhouette,double iAccuracy,CATSafeArrayVariant iAzimuts,CATBSTR iShapeName,long iActivatedShape,long iDefaultShape) As SilhouetteCreates a new Silhouette and adds it to the Silhouettes collection. Thisfunction is deprecated.Returns:The created SilhouetteExample:The following example creates a Silhouette newSilhouette in theSilhouette collection.Set newSilhouette = Silhouettes.Add
- Parameters:
i_product_to_silhouette (Product) –
i_accuracy (float) –
i_azimuts (tuple) –
i_shape_name (str) –
i_activated_shape (int) –
i_default_shape (int) –
- Return type:
- clean_up() None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub CleanUp()Performs some clean-up.
- Return type:
None
- compute_a_silhouette(group_of_selected_products: Group, i_view_points: tuple, i_accuracy: float, i_accuracy_for_simplification: float) Document ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func ComputeASilhouette(Group GroupOfSelectedProducts,CATSafeArrayVariant iViewPoints,double iAccuracy,double iAccuracyForSimplification) As DocumentComputes a silhouette on the selected products.Parameters:GroupOfSelectedProductsThe selected products on which you want to perform the silhouette.iViewPointsArray containing the viewpoints (cameras) used to perform thesilhouette.iAccuracyGrain value for the voxels.iAccuracyForSimplificationAccuracy for simplification of the silhouette. Let it null for nosimplification.Returns:SilhouetteDocument: Document containing the result.
- compute_a_silhouette_with_a_reference(i_group_of_selected_products: Group, i_reference_product: Product, i_view_points: tuple, i_accuracy: float, i_accuracy_for_simplification: float) Document ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func ComputeASilhouetteWithAReference(GroupiGroupOfSelectedProducts,Product iReferenceProduct,CATSafeArrayVariant iViewPoints,double iAccuracy,double iAccuracyForSimplification) As DocumentComputes a silhouette on the selected products, according to a referenceproduct.Parameters:iGroupOfSelectedProductsThe selected products on which you want to perform the silhouette.iReferenceProductProduct taken as a reference.iViewPointsArray containing the viewpoints (cameras) used to perform thesilhouette.iAccuracyGrain value for the voxels.iAccuracyForSimplificationAccuracy for simplification of the silhouette. Let it null for nosimplification.Returns:SilhouetteDocument: Document containing the result.
- silhouette_shape_name() str ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Func SilhouetteShapeName() As CATBSTRReturns the name of the associated shape.
- Return type:
str