Methods
- Sub Compute3DCut( GroupOfSelectedProducts, ThreeDCutDocument)
-
Computes the 3DCut on the selected products.
- Parameters:
-
- GroupOfSelectedProducts
- The selected products on which you want to perform the 3D cut. dd>
- Returns:
- ThreeDCutDocument: Document containing the result. dd>
- Sub Compute3DCutWithAReference( GroupOfSelectedProducts, iReferenceProduct, ThreeDCutDocument)
-
Computes the 3DCut on the selected products, according to a reference product.
- Parameters:
-
- GroupOfSelectedProducts
- The selected products on which you want to perform the 3D cut. dd>
- iReferenceProduct
- Product taken as a reference. dd>
- Returns:
- ThreeDCutDocument: Document containing the result. dd>
- Func GetCompute3DCut( GroupOfSelectedProducts) As
-
Computes the 3DCut on the selected products (better signature).
- Parameters:
-
- GroupOfSelectedProducts
- The selected products on which you want to perform the 3D cut. dd>
- Returns:
- ThreeDCutDocument: Document containing the result. dd>
- Func GetCompute3DCutWithAReference( GroupOfSelectedProducts, iReferenceProduct) As
-
Computes the 3DCut on the selected products, according to a reference product
(better signature).
- Parameters:
-
- GroupOfSelectedProducts
- The selected products on which you want to perform the 3D cut. dd>
- iReferenceProduct
- Product taken as a reference. dd>
- Returns:
- ThreeDCutDocument: Document containing the result. dd>
- Sub SetBox( OriginX, OriginY, OriginZ, VX, VY, VZ)
-
Sets the RELATIVE box used for the 3D cut computation.
Be aware of the behavior:
Vz ^_________________ /| /| / / | / | / | / / | /----+-----------/ | | | | | | * | | | O | | | | | | | | | | | | | | * - - - - - + - -|> Vy | Origin | / | / | / | | / |/ |/ /----------------/ < VxIn the relative referential, O is (0,0,0)
This method sets the RELATIVE box : the rotation and translation matrix will then set the absolute position of O.
Remember where the center of the relative referential lies !
Can have unexpected results if you don't use it properly.- Parameters:
-
- OriginX
- Origin coordinate (X) dd>
- OriginY
- Origin coordinate (Y) dd>
- OriginZ
- Origin coordinate (Z) dd>
- VX
- Length of the box (along X) dd>
- VY
- Length of the box (along Y) dd>
- VZ
- Length of the box (along Z) dd>
- Sub SetMatrix( iComponents)
-
Sets the rotation AND translation matrix.
Beware : After a SetBox, the matrix is not changed.
- Parameters:
-
- iComponents
- Components of the 4x4 matrix, placed in rows. dd>
- Sub SetOnBorders( OnBorders)
-
Sets the behavior on borders.
- Parameters:
-
- Type
- 0 : We keep partially included triangles
1 : We keep entirely included triangles dd>
- Sub SetType( Type)
-
Sets the type of cut we're doing.
- Parameters:
-
- Type
- 0 : We keep the inner triangles
1 : We keep the outer triangles dd>
- Sub ThreeDCutShapeName( Name)
- Returns the name of the associated shape.