FRED Knowledge Base

Configuration Selection Tool

FRED Optimum supports multiple configurations within a single FRED document using the configuration editor interface found in the FRED menu, Optimize > System Configurations. The configuration editor dialog allows for the definition of multiple configuration variables as well as a mechanism for setting the current...

Read More

Linking Scripts to Toolbar buttons

There is a feature in FRED called “User Tools” which enables you to link your custom scripts to buttons on software’s main toolbar. Thus, by simply pressing the corresponding toolbar button you will be able to run your custom script tool. This article goes through the...

Read More

FRED Windows and Toolbars

FRED’s toolbars and windows can be floated or docked anywhere on your screen and while this makes customization of the GUI layout quite flexible, it has resulted in reports of “lost” toolbars and menus.  If restoration of any lost toolbars and windows (ex. output window) cannot be...

Read More

2D Plotting in FRED

The purpose of this article is to describe two scripts which work together to demonstrate how to plot multiple data series in a custom FRED chart. The FRED file associated with this document contains two embedded scripts: chartLibraryExampleMaster – This script generates a user-specified number of Gaussian profiles...

Read More

FRED Preference and Ray Buffer Optimization

When FRED is installed on a computer for the first time, the default preference settings will not be optimized to leverage the resources available on the machine.  Rather, the default preference settings are deliberately chosen for program stability.  This knowledge base article discusses the various...

Read More

RPC Photonics Diffuser BSDF

RPC Photonics has high quality BSDF measurement data available for their engineered diffuser products and it turns out that with a little help the data is essentially already prepared for use in FRED.  The steps below describe how to use the attached FRED script to...

Read More

Direction Spot Diagram Statistics

As of version 14.40 there is no script command equivalent to the directions spot diagram analysis available in the GUI. This knowledge base article details a script utility which manually performs the equivalent directions spot diagram analysis in the scripting language. Download the PDF: Direction-Spot-Diagram-Statistics.pdf Download the FRED...

Read More

Importing Doublets

This article outlines the general process for importing a Cemented Doublet from an optical model, using an Edmund Optics 45089 Achromat as an example (Zemax file used).  When FRED imports a doublet, two individual singlet elements are created and the user has two options: Use...

Read More

Plotting in Excel using COM

The purpose of this document is to describe two scripts which demonstrate the generation of a Gaussian dataset and a data plotting routine that routes data from FRED to Excel directly via COM.  Although the primary intention of this article is to demonstrate how to...

Read More

Animating FRED Results

Many FRED analysis tasks involve some sort of parameterized scan through a set of system configurations and I have found that compiling FRED results as an animated image set is particularly useful for conveying the dynamic behavior of the system output. At the time of...

Read More