# 2.0 First Project

Here we describe a step-by-step process to creating a new KostaCLOUD Project and making a simple singlet.

First we ask that you navigate to the [CLOUD Portal](https://portal.kostacloud.com).

Create a new Folder by clicking "<img src="/files/atWIBZxgFl7j11xGMv0T" alt="" data-size="line">" and then "<img src="/files/cI6uCHz64R7Py4yS4SaX" alt="" data-size="line">". Call this Folder: "Getting Started", and create it by clicking <img src="/files/h7Ak7ESPgX4qQsqV8IfW" alt="" data-size="line">

<figure><img src="/files/KfkeWnNe1vdOU5jRs0ek" alt=""><figcaption><p>Creating a new Folder.</p></figcaption></figure>

Navigate into this folder by clicking on the Folder's Name "Getting Started"

<figure><img src="/files/7R13o4JvPrbWCDbEK8Tg" alt="" width="285"><figcaption><p>When hovering over Getting Started, you should see an underline appear.</p></figcaption></figure>

Create a new Project by clicking "<img src="/files/atWIBZxgFl7j11xGMv0T" alt="" data-size="line">" and then "<img src="/files/ny0nerzoA8DFhuSXFUTd" alt="" data-size="line">". Name the Project "Singlet", and create it by pressing <img src="/files/DwCpsPkAqI8ErISWVEbu" alt="" data-size="line">.

<figure><img src="/files/aMOxHemmN73FAbwj75E2" alt=""><figcaption><p>New Simulation Project Modal</p></figcaption></figure>

Under Current Directory, right click "Singlet" and press <img src="/files/5dYnwXWuNrsLT7VrWkS9" alt="" data-size="line">.

<figure><img src="/files/TH629ByPeNQJ2oGPDe84" alt=""><figcaption><p>Right clicking options</p></figcaption></figure>

Now wait for the workspace to load up in your new tab. Once it is done loading it should look alot like this:

<figure><img src="/files/8eEkGbfTnynE68GqNGOM" alt=""><figcaption><p>Initial load of new Workspace</p></figcaption></figure>

## Making the Singlet

The first thing you might notice is that your scale-bar is quite small (Bottom Left, by the New Button). It defaults to 2.5mm. For this example lets zoom out with the mouse-wheel or trackpad to bring it to about 5mm.

<figure><img src="/files/tDYwVz904jx0Z12FrEsj" alt=""><figcaption><p>Zoomed out Workspace</p></figcaption></figure>

Next Mouse over the <img src="/files/5PV1y0PVzAIKBFYH6X4V" alt="" data-size="line"> Button and a small insertion "dot" (![](/files/YV3gd7MnabfUBwuYJ9Tx)) will appear that shows where the Lens will be placed when you click the Lens Button.

<figure><img src="/files/FFPYX233E1HpQH4UHWWT" alt=""><figcaption><p>Mouse over the Lens button and you can see where it will insert into the workspace by showing a dot.</p></figcaption></figure>

Next click on the Lens button. After a couple of seconds, a Flat Lens with N-BK7 will show up in the workspace. The program will automatically trace some rays based on your imaging parameters

<figure><img src="/files/rQf6TJSKSvGrzJUYkHgx" alt=""><figcaption><p>Lens Blank in the Workspace</p></figcaption></figure>

Now that you have a Lens Blank in KostaCLOUD, let's give it some curvature. To do this click on the Lens with your mouse. The extended properties menu will be shown on the right hand side of the screen. Your properties should look something like these below (It is ok if your numbers are not exactly the same as the ones shown).&#x20;

<figure><img src="/files/TJqihaFCDfvKxo2Fk1hG" alt=""><figcaption><p>Lens Properties</p></figcaption></figure>

In the "Quick Access" Section and "Surface 1" Subsection, you can change the value of the surface Radius by clicking on the "Infinity m", it will then change to "inf" when you enter the field.&#x20;

<figure><img src="/files/fNrVaZQiUayATaIx0uvI" alt=""><figcaption><p>Entering a Field in the Properties Menu</p></figcaption></figure>

Delete the text in the field (backspace or delete key), and type in the number "10". It will show the units below in a popup. You can enter math, pickups, etc. here. But for now we will just go with "10", where the default unit is in "mm". You can also change units by typing in the unit after the number. (e.g. "1in", "1ft", "10ps\*c")

<figure><img src="/files/ITA737zCjiuNuo3KRNFc" alt=""><figcaption></figcaption></figure>

After leaving the field, or pressing "enter/return" key, you should get a Lens that looks like the following:

<figure><img src="/files/xEGzz0ScrwNJybEItGMI" alt=""><figcaption><p>Lens with a 10mm Radius</p></figcaption></figure>

You can additionally change the Radius again by clicking on the Table Icon (![](/files/4F8gOrHOjoCmn3B96oAA)) next to the KostaCLOUD logo in the Simulation-level Toolbar. You should see "Table View" Prescription table show up.

<figure><img src="/files/TRAbjCnaumHnaoqL8p2P" alt=""><figcaption><p>Prescription Table View</p></figcaption></figure>

Relative distances can be changed in the table by changing the "Thickness" column values, and this will move all optics in the Optical system according to this changed value. You can also set other properties in the table such as Radius, Conic, Material, etc. and have a "bird's eye" view of your optical prescription. Now feel free to close the table by clicking "x" or pressing the Table button again.

## Tracing Rays, Clearing Rays, and Sources

Now lets change by sub-modes within the software by clicking on the <img src="/files/xBHqSYp9G49cjMRWN5h3" alt="" data-size="line"> Tab in the Nav Bar/Simulation-level Toolbar. Your screen should look like this:

<figure><img src="/files/2CwOCokrbFKCxmCb8DOZ" alt=""><figcaption><p>Simulation Tab</p></figcaption></figure>

Now you are in the Simulation Tab. Click Clear Trace, and your rays should disappear.

<figure><img src="/files/JpC5cjr3fxdhnm4F0Hox" alt=""><figcaption><p>Rays Cleared</p></figcaption></figure>

Now Press the "Trace" button in the Nav Bar/Simulation-level Toolbar and rays should show up on screen.

<figure><img src="/files/TcLYINYbHIRcejNuz5LT" alt=""><figcaption><p>Rays after pressing Trace button</p></figcaption></figure>

## Changing Imaging Parameters

If the Properties Menu is still on "Lens 1", then in order to get to the "Workspace Settings" Properties, you can always simply click on the background (blue or black in dark-mode), to get back to definitions in the workspace. Lets now change the Entrance Pupil Diameter. We can change the Entrance Pupil Diameter by setting <img src="/files/rFQl55ZK4c4z1muq4UxJ" alt="" data-size="line"> to something else such as 5mm. So change the value to 5, and the workspace should automatically retrace, rescale the Lens and update as shown below:

<figure><img src="/files/CgftPfhPfVXxzBEscW8w" alt=""><figcaption><p>Larger EPD</p></figcaption></figure>

You can change things like add more wavelengths, Polarization states and Fields as well. Lets also add in a small field of 1deg. This will demo usage of Multi-parameter values. To do so, we hover over the 0.00deg under the θ\_y column, as shown below. When hovering you will see an "Eye" and a + symbol show up (![](/files/U56iBN8XM47Kzc9fC0O5)). Click on the + to add a field. A timer will appear (![](/files/d5g0JOO5OIwwdcnRrkc0)), which allows you to make multiple changes before saving your input. This way if you want to add a few fields, you can easily do that, or if you aren't happy with your changes and want to revert to the original state, you can press the red "X". If you want to commit changes immediately without waiting for the timer to run out, you can press the green "Check".

Now that you know how this works, hover over the field, press the +, and enter "1" into the θ\_y column, and press the green checkbox.

<figure><img src="/files/DXcyzSla7a4uWbdWu1nU" alt=""><figcaption><p>Mousing over Multi-Parameter values</p></figcaption></figure>

<figure><img src="/files/Xy9Q4T9nsg9nFq096Mvo" alt=""><figcaption><p>Adding 1deg Field to Field List.</p></figcaption></figure>

Now you should see that the viewer has updated with your add 1deg field.

<figure><img src="/files/sIozP0ESUvNZhpskywgk" alt=""><figcaption><p>Singlet with 0deg and 1deg field at 555nm</p></figcaption></figure>

Now that you can setup a basic design, you can move onto the next section to learn how Optimization is setup in KostaCLOUD ODS.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kostacloud.com/quick-start-guide/2.0-first-project.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
