I want to enter a simple wedged prism in OSLO. I notice that when I make the wedge angle 1 degree or greater, the 2 optical surfaces of the prism no longer appear as a single object in OSLO drawings.
How do I get around this so that OSLO draws the entire prism object as one shape?
Synopsis
Creating Boundary Drawing Information for a simple wedged prismSymptoms
OSLO assumes that if your wedge angle is greater than 1 degree, then you will want to specify a more complicated shape than just connecting the two optical surfaces of your wedge. OSLO allows users to specify Boundary Drawing Information (BDI) for a surface or series of surfaces. This BDI data defines how OSLO should represent complex shapes in OSLO drawings. Note that BDI data is only used for lens drawings and does not affect ray tracing or optical performance.Solution
For an example demonstrating how to enter BDI data, we will assume that you have a wedged prism with rectangular apertures. It will have the following dimensions: height = 20 mm, width = 10 mm central thickness (between the optical surfaces) = 5 mm The surface 2 of the prism will be tilted at 20 degrees about its center, so the aperture of surface 2 will be longer in the local Y direction so that its projection matches the aperture of surface 1 (height2 = height1/cos(20 degrees)). If you go ahead and set up this model in OSLO and perform a 3D view of the optics, you will notice the problem: the first and second surfaces of the model are not connected like a prism should be. To correct this, we need to supply BDI data for the surfaces of the prism. There are 3 steps to this process:- Define how many BDI vertices and BDI faces are to be used
- Define the BDI vertices
- Define the BDI faces using the BDI vertices
- There are no blank lines between the commands,
- Type <Ctrl><A> to select all the commands at once, and
- Type <Ctrl><E> to execute all commands selected.