Equation driven import in OpticsBuilder

This article describes how to use “Equation Driven Import” option in OpticsBuilder to expose the OpticStudio equations and import with surfaces created directly from the equations.

Authored By Mojtaba Falahati

Downloads

All the examples and features are showcased with Creo Parametric 7 and are given installation default settings, all sample files can be found in the following directory:

..\Documents\Zemax\Samples\OpticsBuilderCreo

Introduction

Zemax OpticsBuilder helps CAD users directly convert complete optical designs from Zemax OpticStudio into a CAD Environment, analyze the influence of the mechanical components on the optical performance and export optical drawings to manufacturing. The ability to save the parts into PDM systems now includes the option to recall the equations used to generate the surfaces. In the Zemax OpticsBuilder 22.3 / Ansys Zemax OpticsBuilder 2022 R2.02 release and later, users have the choice to expose the OpticStudio equations and import into OpticsBuilder with surfaces created directly from the equations.

Equation-Driven Import

Legacy import of optical geometries into OpticsBuilder uses splines/NURBS sampling based on the equations provided by OpticStudio which offers speed and accuracy high enough for most applications. The new option allows for more accurate surface representation using the exposed equations to create parts and makes it possible to be integrated into the part file. This feature helps those users who need to design complex mechanical mounting edges with higher accuracies.  If you wish to expose the OpticStudio equations and import with surfaces created directly from the equations, you may choose the “Equation Driven Import” option under “Preferences” before you import the .ZBD file. Please note that Equation-driven import is only available for Standard, Even Asphere, Odd Asphere,  Binary 2 and Off-Axis Mirror object types.

The equations used to describe the surfaces are the same used in OpticStudio. See the definition of the equations below:

1. Standard Lens

standard_lens_equation.png

2. Even Aspheric

even_asphere_equation.png

3. Odd Aspheric

odd_asphere_equation.png

4. Binary2

binary2_equation.png

Gratings are not modelled in the geometry since OpticStudio does not model the wavelength-scale grooves directly. Instead, OpticStudio uses the phase advance or delay represented by the surface locally to change the direction of propagation of the ray. So, the geometry will be same as standard lens.

5. Off-Axis mirror

For the base surface we use standard surface equation

off-axis_mirror_equation.png

And for the cutting angle calculations we use the equation below.

cutting_angle_calculation_equation.pngCuttingAngleCondition.png

where Y0 is off axis offset, k is conic constant, c is curvature of the surface and H is half-width of the object. H is used to decide the height and width of cut. Also, both circle and rectangle shapes are covered.

OpticsBuilder can create an equation driven off-axis mirror provided that above mentioned condition is satisfied, in cases where the condition is not satisfied it will represent it as an imported STEP file if one is available from OpticStudio.

Equation-Driven Import of the Flash Lidar Model

To showcase this feature, we use the Flash Lidar sample file which can be found in the Zemax Samples folder, located at {Zemax}\Samples\ OpticsBuilderCreo\ FlashLidar\ FlashLidar_FullSystem_Start.zbd. The Flash Lidar optics includes several aspheric elements.

First open Creo Parametric and select the “Equation Driven Import” checkbox in OpticsBuilder…Preferences:

2022-10-21_10-35-46.png

Now click "Import ZBD File", navigate to the Flash Lidar ZBD file and open it as shown below:

2022-10-21_8-45-47.png

Parameters of the parts (optical components) can be exposed using two different approaches, whether imported in standard mode or with equation driven surfaces.

1- Through the Creo Parametric Tools tab: Click "Parameters" in the Tools tab and select "Part" from the drop-down menu in the Parameters prompt. Now you can select the part of interest from the Model Tree and view the surfaces parameters.

2022-10-21_9-00-58.png

2- Through the OpticsBuilder tab: In OB Input Tree right-click on the component of interest and select "Edit Optical Properties" ("View Optical Properties" if the ZBD file is Read-only). The surfaces parameters can be viewed in the Lens tab of the optical properties window.

2022-10-21_8-50-54.png

Since we imported the ZBD file with "Equation Driven Import" selected we can expose the main curves equation for the surfaces. To do so, in Model Tree open the part menu, click on the FRONTCURVE or BACKCURVE and click "Edit Definition". 

EditDefinition.png

Now click "Equation" button from the "CURVE: From Equation" tab to see the equation definition.

2022-10-21_9-09-12.png

Here, you can edit the curve parameters as well. But note that changes to the equation may break the link back to OpticStudio resulting in STEP file export from OpticsBuilder. So, we recommend, if you need to change the equation, that you do it in OpticStudio and then Update the .ZBD file in OpticsBuilder.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.