FRED Knowledge Base

Rotating Prisms by Scripting

This knowledge base article will describe how to set up an embedded script that rotates two prisms, traces a source at each rotation position, and calculates and displays the sum total irradiance for all rotation positions.  The number of rotation positions is controlled through a...

Read More

Parenting by Script

This knowledge base article will describe how to use FRED’s scripting language to move selected surfaces from one object tree node to another.  The destination node is chosen from a dialog populated by valid nodes on the object tree, where valid nodes are defined to...

Read More

Video and OpenGL Problems

Although FRED adheres strictly to the OpenGL standards, the quality of rendering modes can be variable depending on the driver being used.  If you are encountering any video related problems we suggest the following solutions (in this order): Set the pixel format to “Safe” Open...

Read More

Rippled Surface

Creating a rippled surface can best be implemented through FRED’s scripted surface type. In this surface type the user defines a functional form for the surface as F(x,y,z) and provides the x-derivative, y-derivative and z-derivative. The example presented here will also use FRED’s global script...

Read More

Positioning with CAD Surfaces

This knowledge base article will describe how to place an entity in the local coordinate system of an imported CAD surface. By default, imported CAD surfaces are defined in the global coordinate system. The result of this definition is that you cannot position an entity...

Read More

Customizing the Toolbar

This knowledge base article will describe how to customize the FRED toolbar by adding and removing toolbar buttons. The toolbar buttons can increase efficiency when working with FRED by providing easy access to commonly used analyses, scripts, geometries…etc. Toolbar Customization...

Read More

Zemax file import error

“Unknown file type” error upon import of Zemax lens prescription: *This item has been addressed in FRED v10.31 and later. October 26th Zemax Release As of the 26 October 2010 release of Zemax, the WAVL command in *.zmx files is no longer being written out.  By adding the...

Read More

CPC Wizard

The attached FRED file has an embedded script named “CPCwizard” which allows for simple creation of a circular hollow or solid CPC using a dialog.  The CPC can be specified using any of the following methods: Max Angle In and Exit Diameter Max Angle In...

Read More