Trim (Object)

Represents the Trim, or union trim boolean operation.
It is performed between a body and the current shape.

Methods


Sub AddFaceToKeep( iFaceToKeep)
Adds a new face to be kept (if face is not divided by operation).
Parameters:
iFaceToKeep
The new face to process
The following object is supported: .
Example:
The following example adds the new face face to Keep for the Trim firstTrim:
 call firstTrim.AddFaceToKeep(face)
 
Sub AddFaceToKeep2( iFaceToKeep, iFaceAdjacentForKeep)
Adds a new face to be kept (if face is divided by operation).
Parameters:
iFaceToKeep
The new face to process
The following object is supported: .
iFaceAdjacentForKeep
An adjacent face of iFaceToKeep belonging to the other operand
The following object is supported: .
Example:
The following example adds the new face face to Keep for the Trim firstTrim:
 call firstTrim.AddFaceToKeep(face)
 
Sub AddFaceToRemove( iFaceToRemove)
Adds a new face to be Removed (if face not divided by operation).
Parameters:
iFaceToRemove
The new face to process
The following object is supported: .
Example:
The following example adds the new face face to Remove for the Trim firstTrim:
 call firstTrim.AddFaceToRemove(face)
 
Sub AddFaceToRemove2( iFaceToRemove, iFaceAdjacentForRemove)
Adds a new face to be Removed (if face is divided by operation).
Parameters:
iFaceToRemove
The new face to process
The following object is supported: .
iFaceAdjacentForRemove
An adjacent face of iFaceToRemove belonging to the other operand
The following object is supported: .
Example:
The following example adds the new face face to Remove for the Trim firstTrim:
 call firstTrim.AddFaceToRemove(face)
 
Sub WithdrawFaceToKeep( iFaceToWithdraw)
Withdraws an existing Kept face (if face is not divided by operation) .
Parameters:
iFaceToWithdraw
The face to withdraw
The following object is supported: .
Example:
The following example withdraws the existing face Kept face from the Trim firstTrim:
 call firstTrim.WithdrawFaceToKeep(face)
 
Sub WithdrawFaceToKeep2( iFaceToWithdraw, iFaceAdjacentForKeep)
Withdraws an existing Kept face (if face is divided by operation).
Parameters:
iFaceToWithdraw
The face to withdraw
The following object is supported: .
iFaceAdjacentForKeep
An adjacent face of iFaceToKeep belonging to the other operand
The following object is supported: .
Example:
The following example withdraws the existing face Kept face from the Trim firstTrim:
 call firstTrim.WithdrawFaceToKeep(face)
 
Sub WithdrawFaceToRemove( iFaceToWithdraw)
Withdraws an existing Removed face (if face not divided by operation).
Parameters:
iFaceToWithdraw
The face to withdraw
The following object is supported: .
Example:
The following example withdraws the existing face Removed face from the Trim firstTrim:
 call firstTrim.WithdrawFaceToRemove(face)
 
Sub WithdrawFaceToRemove2( iFaceToWithdraw, iFaceAdjacentForRemove)
Withdraws an existing Removed face (if face is divided by operation).
Parameters:
iFaceToWithdraw
The face to withdraw
The following object is supported: .
iFaceAdjacentForRemove
An adjacent face of iFaceToRemove belonging to the other operand
The following object is supported: .
Example:
The following example withdraws the existing face Removed face from the Trim firstTrim:
 call firstTrim.WithdrawFaceToRemove(face)