- Home
- CAD Exchange
- How to Use the Boolean Object and the Combine Objects Tool
- Home
- Non Sequential Ray Tracing
- Objects
- How to Use the Boolean Object and the Combine Objects Tool
How to Use the Boolean Object and the Combine Objects Tool
- By Mark Nicholson
- Published 3 April 2006
- CAD Exchange , Objects
-
Rating:




The Combine Objects Tool
The Boolean object allows flexible operations upon up to 10 objects simultaneously, and retains full parametric control of the object produced. In some cases however, only two objects are required, and parametric control of the object is not needed. In these cases, the Combine Object Tool is useful.
First, two parent objects are defined as usual. In this case, we will use the Extruded object. This takes a ZEMAX .UDA aperture file and extrudes it into the Z-direction. Open the sample file {zemaxroot}/samples/non sequential/boolean/Boolean Hexagonal Lens.zmx:
First, two parent objects are defined as usual. In this case, we will use the Extruded object. This takes a ZEMAX .UDA aperture file and extrudes it into the Z-direction. Open the sample file {zemaxroot}/samples/non sequential/boolean/Boolean Hexagonal Lens.zmx:

The hexagonal lens is the Boolean AND of these two objects, and is fully parametric, and has whatever coating/scattering functions were applied to the parent objects.
Now delete the Boolean object, so that you have only the parent objects. In the Non-Sequential Component Editor, click on Tools->Combine Objects:

and fill in the resulting dialog as follows:

Note that the two parent objects are replaced with an Imported object, that has Face Mode = 3 (this means the faces are written out by ZEMAX).
