4.4 Geometry Booleans
Cubit supports boolean operations of intersect, subtract, and unite for bodies.
Set Boolean Regularize [ON | off]
4.4.1 Intersect
Intersect {Volume|[Body]} <range> [Keep] [Preview]
Intersect {Volume|[Body]} <id> [With {Volume|[Body]} <range>] [Keep] [Preview]
The keep option results in the original volumes used in the intersect being kept.
If the preview option is included in the command, the input volumes will not be modified. The computed intersection volume will be drawn as a red, shaded solid. For best results change the graphics mode to transparent or hidden line so the intersection is visible. Otherwise the intersection volume will be hidden by the volumes being intersected.
4.4.2 Subtract
The subtract operation subtracts one body or set of bodies from another body or set of bodies. The order of subtraction is significant - the body or bodies specified before the from keyword is/are subtracted from bodies specified after from. The new body retains the original body’s id. If any additional bodies are created, they will be given the next highest available ids. The keep option simply retains all of the original bodies. The command is:
Subtract [Volume|BODY] <range> From [Volume|BODY] <range> [Imprint] [Keep]
The imprint option imprints the subtracted bodies onto the resultant body.
4.4.2.1 Remove Overlap
The remove overlap command is a simplified form of the subtract operation above. This command takes exactly two volumes as arguments and uses the modify argument to define the volume where material is to be removed.
remove overlap volume <id1> <id2> modify [volume <id> | smaller | larger]
The smaller and larger options are an alternate method of specifying which volume from <id1> or <id2> where material will be removed. When these argument are used, the geometric volume is measured for both volumes and the smaller or larger volume repectively is used as the modify entity. When both volumes have exactly the same volume, the smaller or larger entity ID is used
4.4.3 Unite
The unite operation combines two or more bodies into a single body.
The keep option preserves the original bodies and the new body created is given the next highest body ID available.
Unite [Volume|BODY] <range> [With [Volume|BODY] <range>] [include_mesh] [Keep]
Unite Body {<range> | All} [Keep]
Set Unite Mixed {ON|Off}