> ## Documentation Index
> Fetch the complete documentation index at: https://docs.luminicad.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quick Start

> Create your first CAD model with LuminiCAD

## Your First Model

Let's create a simple model to help you understand how LuminiCAD works. We'll make a basic cylinder that could be used as a container or component.

### 1. Describe Your Model

Start by typing a description in the command box:

```text theme={null}
Create a cylinder with 50mm diameter and 100mm height
```

<Tip>
  Keep your descriptions clear and include measurements when possible. This helps create exactly what you need.
</Tip>

### 2. Adjust Your Design

After the initial model appears, you can:

* Click and drag to rotate the view
* Use the scroll wheel to zoom
* Hold shift and drag to pan

<Frame>
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/cocidev/images/adjust-view.png" alt="View adjustment controls" />
</Frame>

### 3. Fine-Tune Details

Need to make changes? You can:

* Edit measurements directly by clicking on them
* Add features like holes or fillets through the side panel
* Use the history panel to undo or modify previous steps

## Basic Commands

Here are some simple commands to get you started:

<CodeGroup>
  ```text Basic Shapes theme={null}
  Create a cube 50mm on each side
  Make a sphere with 30mm radius
  Draw a cylinder 40mm wide and 80mm tall
  ```

  ```text Modifications theme={null}
  Add a 5mm fillet to all edges
  Create a 10mm hole through the center
  Round the top corners with 2mm radius
  ```
</CodeGroup>

## Using the Scripting Interface

For more precise control, you can use our scripting interface. Toggle between text and script mode using the button in the top right corner.

Here are some basic commands you can use:

<CodeGroup>
  ```text Basic Shapes theme={null}
  CREATE BOX ORIGIN 0 0 0 SIZE 100 50 HEIGHT 75
  CREATE CIRCLE CENTER 0 0 0 RADIUS 50 NORMAL 0 0 1
  CREATE LINE FROM 0 0 0 TO 100 0 0
  ```

  ```text Advanced Operations theme={null}
  CREATE PRISM SECTION [section-command] LENGTH 100
  CREATE REVOLVE PROFILE [profile-command] AXIS ORIGIN 0 0 0 DIRECTION 0 0 1 ANGLE 360
  CREATE SWEEP PROFILE [profile-command] PATH [path-command]
  ```

  ```text Combining Shapes theme={null}
  CREATE FUSE BOTTOM [bottom-shape] TOP [top-shape]
  CREATE WIRE EDGES [edge-command] AND [edge-command]
  ```
</CodeGroup>

Here's a complete example that creates a cylinder with patterned holes:

```javascript theme={null}
// Create the main cylinder
CREATE CIRCLE CENTER 0 0 0 RADIUS 25 NORMAL 0 0 1
CREATE PRISM SECTION [previous-circle] LENGTH 100

// Create holes around the cylinder
CREATE CIRCLE CENTER 20 0 0 RADIUS 5 NORMAL 1 0 0
CREATE PRISM SECTION [previous-circle] LENGTH 60

// Pattern the holes
CREATE REVOLVE PROFILE [previous-hole] AXIS ORIGIN 0 0 0 DIRECTION 0 0 1 ANGLE 360
```

<Tip>
  The scripting interface is perfect for creating patterns, precise measurements, and complex combinations of shapes.
</Tip>

## Next Steps

<CardGroup cols={2}>
  <Card title="Text Commands" icon="message-lines" href="/text-to-cad">
    Learn more ways to describe your models
  </Card>

  <Card title="Basic Scripting" icon="brackets-curly" href="/features/scripting">
    Try simple scripts for more control
  </Card>
</CardGroup>

<Note>
  Need help? Click the chat button in the bottom right corner of the app, and we'll help you get unstuck.
</Note>
