HyperMesh and BatchMesher

boolean subpanel (solid edit panel)

boolean subpanel (solid edit panel)

Previous topic Next topic Expand/collapse all hidden text  

boolean subpanel (solid edit panel)

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

Location:   Geom page, solid edit panel

 

Use this subpanel to perform complex trimming and merging operations, such as trimming a pair of intersecting solids down to only the portions of them that coincide.

SolidEdit_Boolean_Start SolidEdit_Boolean_AtimesB

In this example, only the portion shared by both cylinders is retained.

You can perform several types of Boolean operations:

union

This involves combining multiple solids into single solids.

SolidEdit_Boolean_AplusB

intersection

This involves keeping only the coincident parts of a group of solids—that is, only the portions of each solid that occupy the same space.  The result is combined into a single solid, and everything that is not coincident is discarded.

SolidEdit_Boolean_AtimesB

removal

This operation involves removing coincident pieces of solids from other solids.  For example, a cylinder partially buried in another solid can be removed in such a way that it leaves a cylindrical recess in the other solid.

SolidEdit_Boolean_AminusB

You can also remove common parts—similar to the intersection option, the operation concerns shared portions of solids.  However, instead of keeping the shared portions and deleting the rest, this option would remove the shared portions and retain the rest.

cuts

This operation is similar in some ways to removal of coincident parts, but it retains one of the solids.  Using the same example of a cylinder given for removal, the cut option would still create the cylindrical recess in the other solid—but would retain the cylinder, creating a cylindrical separating surface (shown in yellow) between the two solids.

SolidEdit_Boolean_cutAwithB

Simple vs. Advanced Boolean Operations

You can perform Boolean operations in a simple mode or advanced mode.  In both cases, the operation combines the solids according to your specifications.  However, the advanced mode also allows you to decide which internal intersection surfaces to keep.

Note:Each of the step-by-step segments listed in the How to I… topics below use the same base model as the screenshots shown above: two cylinders, the smaller of which is partially buried within the larger one along a shared axis.  Whenever the steps refer to solid groups A and B, the larger cylinder is group A while the smaller one is group B.  (The terms "group A" and "group B" are used because each group can contain more than one solid, even though the simplified illustrations used here contain only one solid per group.)

 

How do I…

hmtoggle_arrow1Perform a simple union (A+B)
1.On the Solid Edit panel: select the Boolean subpanel.
2.Under the heading operation type, select simple (combine all).
3.Under the heading operation, choose A+B (union).
4.Select the solids to represent group A:
Click the solids selector labeled A:
Pick the desired solids in your model, or use the extended entity selection menu.
5.Select the solids to represent group B:
Click the solids selector labeled B:
Pick the desired solids in your model, or use the extended entity selection menu.
6.If you wish to invert the selection of A and B, activate the swap A and B checkbox.
7.Click calculate.

The two solids combine into a single solid, with shared portions merged.

SolidEdit_Boolean_Start SolidEdit_Boolean_AplusB

 

hmtoggle_arrow1Perform a simple intersection (A*B)
1.On the Solid Edit panel: select the Boolean subpanel.
2.Under the heading operation type, select simple (combine all).
3.Under the heading operation, choose A*B (intersection).
4.Select the solids to represent group A:
Click the solids selector labeled A:
Pick the desired solids in your model, or use the extended entity selection menu.
5.Select the solids to represent group B:
Click the solids selector labeled B:
Pick the desired solids in your model, or use the extended entity selection menu.
6.If you wish to invert the selection of A and B, activate the swap A and B checkbox.
7.Click calculate.

The solids are trimmed, leaving only their shared portions.

SolidEdit_Boolean_Start   SolidEdit_Boolean_AtimesB

 

hmtoggle_arrow1Perform a simple removal (A-B, deleting B)
1.On the Solid Edit panel: select the Boolean subpanel.
2.Under the heading operation type, select simple (combine all).
3.Under the heading operation, choose A-B (remove B from A).
4.Select the solids to represent group A:
Click the solids selector labeled A:
Pick the desired solids in your model, or use the extended entity selection menu.
5.Select the solids to represent group B:
Click the solids selector labeled B:
Pick the desired solids in your model, or use the extended entity selection menu.
6.If you wish to invert the selection of A and B, activate the swap A and B checkbox.
7.Click calculate.

Group B is removed, as well as any portions of group A that shared the same space as portions of group B.

SolidEdit_Boolean_Start   SolidEdit_Boolean_AminusB

In this example, removing the smaller cylinder created a pit in the larger one.

 

hmtoggle_arrow1Perform a simple solid cut (A-B, retaining B)
1.On the solid edit panel: select the Boolean subpanel.
2.Under the heading operation type, select simple (combine all).
3.Under the heading operation, choose {A-B,B} (cut A with B)
4.Select the solids to represent group A:
Click the solids selector labeled A:
Pick the desired solids in your model, or use the extended entity selection menu.
5.Select the solids to represent group B:
Click the solids selector labeled B:
Pick the desired solids in your model, or use the extended entity selection menu.
6.If you wish to invert the selection of A and B, activate the swap A and B checkbox.
7.Click calculate.

The shared portions of group A and group B are subtracted from group A, but all of group B is retained.  A new gap surface exists between the solids in each group where they used to coincide, but where now only solids of group B exist.

SolidEdit_Boolean_Start     SolidEdit_Boolean_cutAwithB

 

hmtoggle_arrow1Perform a complex union (A+B, keep all)
1.On the solid edit panel: select the Boolean subpanel.
2.Under the heading operation type, select advanced.
3.Under the heading operation, choose A+B (keep all parts).
4.Select the solids to represent group A:
Click the solids selector labeled A:
Pick the desired solids in your model, or use the extended entity selection menu.
5.Select the solids to represent group B:
Click the solids selector labeled B:
Pick the desired solids in your model, or use the extended entity selection menu.
6.If you wish to invert the selection of A and B, activate the swap A and B checkbox.
7.Pick an option under the combine through heading to determine the internal surfaces to remove:

None means that all of the intersection surfaces will remain.

AdvBooleanA+B_none

Here, none of the intersection surfaces are discarded.

All internal faces means to remove all of the surfaces inside the solids at their intersection.

AdvBooleanA+B_AllInternal

Here, all of the intersection surfaces have been discarded.

All AB faces means to remove only the surfaces that occur where the A and B groups touch.  This means that other, pre-existing surfaces that pass through A and B will not be removed.

AdvBooleanA+B_AllAB

In this example, a third solid has already created internal surfaces through the area where A and B combine, but only the surfaces specific to the intersection of A and B are removed.

AB faces in B (B cuts A) means to remove the surfaces that lie inside of B and occur where A and B touch.

AdvBooleanA+B_ABinB

Here, the intersection surfaces inside B are gone, but the external one remains.

8.Click calculate.
9.The two solids combine into a single solid, with shared portions merged.

 

hmtoggle_arrow1Perform a complex intersection (A*B, keep common)
1.On the solid edit panel: select the Boolean subpanel.
2.Under the heading operation type, select advanced.
3.Under the heading operation, choose A*B (keep common parts).
4.Select the solids to represent group A:
Click the solids selector labeled A:
Pick the desired solids in your model, or use the extended entity selection menu.
5.Select the solids to represent group B:
Click the solids selector labeled B:
Pick the desired solids in your model, or use the extended entity selection menu.
6.If you wish to invert the selection of A and B, activate the swap A and B checkbox.
7.Pick an option under the combine through heading to determine the internal surfaces to remove:
Note:This setting only applies to pre-existing internal surfaces, not the intersection surfaces of the A and B groups:

AdvBooleanAtimesB_start

None means that all of the intersection surfaces will remain.

AdvBooleanAtimesB_none

All internal faces means to remove all of the surfaces inside the intersection of the solids.

AdvBooleanAtimesB_all

8.Click calculate.

The overlapping portions of the selected solids remain while the rest of each chosen solid is discarded.

 

hmtoggle_arrow1Perform a complex removal (A-B, delete B)
1.On the Solid Edit panel: select the Boolean subpanel.
2.Under the heading operation type, select advanced.
3.Under the heading operation, choose A-B (del B parts).
4.Select the solids to represent group A:
Click the solids selector labeled A:
Pick the desired solids in your model, or use the extended entity selection menu.
5.Select the solids to represent group B:
Click the solids selector labeled B:
Pick the desired solids in your model, or use the extended entity selection menu.
6.If you wish to invert the selection of A and B, activate the swap A and B checkbox.
7.Pick an option under the combine through heading to determine the internal surfaces to remove:
Note:This setting only applies to pre-existing internal surfaces, not the intersection surfaces of the A and B groups:

AdvBooleanA-B_start

None means that all of the intersecting surfaces inside of A will remain.

AdvBooleanA-B_none

All internal faces means to remove all of the surfaces inside the intersection of the solids.

AdvBooleanA-B_Allinternal

8.Click calculate.

The B solids are deleted and so are the portions of A that they share, leaving empty spaces in A where B used to intersect it.

 

hmtoggle_arrow1Perform a complex removal of common portions (A^B, delete common)
1.On the solid edit panel: select the Boolean subpanel.
2.Under the heading operation type, select advanced.
3.Under the heading operation, choose A^B (del common parts).
4.Select the solids to represent group A:
Click the solids selector labeled A:
Pick the desired solids in your model, or use the extended entity selection menu.
5.Select the solids to represent group B:
Click the solids selector labeled B:
Pick the desired solids in your model, or use the extended entity selection menu.
6.If you wish to invert the selection of A and B, activate the swap A and B checkbox.
7.Pick an option under the combine through heading to determine the internal surfaces to remove.
Note:This setting only applies to pre-existing internal surfaces, not the intersection surfaces of the A and B groups:

AdvBooleanA-B_start

If you choose none, none of the internal surfaces will be removed.

AdvBooleanA^B_none

If you choose all internal faces, all of the internal faces will be removed.

AdvBooleanA^B_All

8.Click calculate.

The portions of A and B that occupy the same space are deleted, but retains any portions of each group that do not overlap.

 

hmtoggle_arrow1Perform a complex operation, always retaining one solid (Keep A)
1.On the Solid Edit panel: select the Boolean subpanel.
2.Under the heading operation type, select advanced.
3.Under the heading operation, choose A (keep A parts).
4.Select the solids to represent group A:
Click the solids selector labeled A:
Pick the desired solids in your model, or use the extended entity selection menu.
5.Select the solids to represent group B:
Click the solids selector labeled B:
Pick the desired solids in your model, or use the extended entity selection menu.
6.If you wish to invert the selection of A and B, activate the swap A and B checkbox.
7.Click calculate.

Everything except for the solids specified in group A is deleted.  Surfaces to indicate the original overlap with B are retained and highlighted, but nothing is removed from group A.

AdvBooleanA_keepA

 

 

 

See Also:

solid edit panel

An Alphabetical List of HyperMesh Panels