# Pre-routed traces

### Overview

Quilter considers all traces and vias within the board boundary at the time of file upload to be "pre-placed".&#x20;

**As a foundational rule, Quilter does not alter the path or position of pre-placed traces and vias.** Quilter will not automatically delete unconnected or orphaned trace segments, so be sure to remove them from your input file before submission.&#x20;

During compilation, Quilter will strive to place and route all components that are not already routed. If a pre-routed trace segment is incomplete, Quilter will attempt to finish it during routing.

{% hint style="warning" %}
**Pre-routed traces on internal layers**\
If your input file includes pre-placed copper traces or pours on internal layers and you have *not* selected to preserve the stack-up in your input file, Quilter will delete them and generate new ones for each candidate and layer stack it explores.
{% endhint %}

### Why should I pre-route traces?

There are a couple of reasons to pre-route components:<br>

1. **Unsupported physics constraints**\
   If Quilter doesn't yet support a physics constraint that needs sensitive or highly organized signal routing, you can manually pre-place and route individual components to ensure they work correctly. <br>
2. **"Saving your progress"**\
   When iterating with Quilter, you might find that you like certain parts of a layout candidate, but not the overall design. Once you've downloaded a candidate, you can choose to keep the routing and placements you like, remove the rest, and resubmit to Quilter to save your progress toward a fabrication-ready design.

### How to specify

Locking the path of a copper trace is easy – just pre-route it within the board outline and upload your input file to Quilter.&#x20;


---

# 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.quilter.ai/design-parameters/pre-routed-traces.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.
