faq Tag

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

CAD Surface Position and Orientation

When FRED imports a CAD model, all of its surfaces are defined by NURBs, or trimmed versions of those NURBs called Trimmed Parametrics. These parametric surfaces are always defined in the global coordinate system. One of the major difficulties with this definition is that the...

Read More

Rotating an Object in Scripting

The attached FRED file demonstrates how to use the scripting language to rotate an object through some range of angles in a loop.  Conceptually, the setup is very simple.  We have a focusing ray bundle which passes through a beamsplitter cube down to a detector....

Read More

Stepped Advanced Raytrace with Analyses

It is important to remember that Analysis Surfaces in FRED only post-process (filter) rays at the end of the raytrace when an analysis is requested.  They do not collect ray information during the raytrace, regardless of whether the ray trajectory passes through the analysis grid. ...

Read More

Beam Footprint Analysis

It is important to remember that Analysis Surfaces in FRED only post-process (filter) rays at the end of the raytrace when an analysis is requested.  They do not collect ray information during the raytrace, regardless of whether the ray trajectory passes through the analysis grid. ...

Read More

Remote Desktop Access

The Safe-Net Sentinel hardware dongles come in both network and single-user formats.  The single-user dongles, however, can also be used to run FRED via Remote Desktop if the dongle is located on the PC which will be running FRED.  Before the dongle will allow you...

Read More

FRED Automation with Matlab

Using FRED’s COM interface it is possible to exchange data with external programs such as MATLAB and Excel.  This article presents an example where FRED and MATLAB are used respectively as the automation client and server in order to exchange data and create plots.  There are a...

Read More

Summing Data in ARNs

This knowledge base article discusses how to iterate calculations and sum the results in the ARN (Analysis Results Node) via a script. One reason why this might be useful is that when tracing a large number of rays, tracing in batches and summing the results...

Read More

Pickup Parameters

This knowledge base article discusses how to use FRED’s Pre-Update Script tool to implement pickup parameters, similar to what you might find in a sequential lens design code.  A pickup parameter is traditionally used to tie one surface parameter to another, setting RB = -RA,...

Read More