Documentation / Design

Placement and Routing

Route your board with basic routing, run Trace's advanced placement and routing, or let the assistant finish the last connections.

Trace gives you four ways to get a board placed and routed. Pick the one that fits the job, and mix them freely.

OptionWhat it doesCost
By handThe board editor's own tools: Route (X), vias, zonesFree
Basic routingTrace's built-in router routes the board you placedFree
Advanced placement and routingTrace's advanced engine places parts, routes, or bothBilled on compute time
The assistant finishes the boardThe assistant moves parts and routes single connections that are still openYour usual AI usage

Prepare the Board

Save the schematic and update the board from it, then check:

  • Outline and holes: one closed board outline, mounting holes where the enclosure needs them. You can shape the board from an enclosure drawing.
  • Rules: the layer count, net classes and your manufacturer's rules. Choose the manufacturer in the Preferred Manufacturer list on the board editor's toolbar (Full layout), or ask the assistant to set it.
  • Fixed parts: connectors, buttons and LEDs that must sit at a set place. See Keep Parts and Traces in Place.

Use Basic Routing

Basic routing is the free, built-in router. It routes the parts you placed; it does not move them.

  1. Ask the assistant to route the board with basic routing, or press Basic Routing on the board editor's toolbar (Full layout).
  2. The Basic routing card shows facts about your board and the settings Trace suggests:
    • Passes: how much effort the router spends.
    • Vias: how hard it tries to avoid vias.
    • Tidy the traces afterwards: a clean-up pass at the end.
  3. Press More to set the Track width (Board's widths from your net class rules, or One width for every trace) and to pick net classes to Leave unrouted, such as a ground net a copper pour will connect.
  4. Press Route board, or Not now to close the card without routing.
  5. Watch the card: elapsed time, what the router is doing and how many connections are done. New traces appear on the board after each pass.
  6. When it ends, the card reads Completed, Partly routed or Stopped. Pour your copper zones for any classes you left unrouted, then run DRC.

The router stops by itself once there is nothing left to improve, and it keeps traces your copper-to-edge clearance away from the board outline. Completed means the router finished the connections it was given; it is not a DRC pass.

Stop Basic Routing

Press Stop on the card to end the run and keep everything routed so far. The kept routing is one step you can undo. Stopping the assistant also stops routing it started; a run you started from the toolbar is stopped from its own card.

Switch to Advanced Routing

Press Switch to advanced routing on a running card to open the advanced settings. Opening them does not start paid work: basic routing keeps going while you choose. If a basic run goes on for more than five minutes, the card suggests the switch.

  • Stop basic & run advanced stops basic routing, sets aside its partial routing and starts the advanced run.
  • If basic already finished while the settings were open, the advanced run starts from the board as it is now.
  • Keep basic routing closes the advanced settings and lets basic routing carry on.

Run Advanced Placement and Routing

Trace's advanced placement and routing engine works on the whole board, or on the part you name. It is billed on the compute time it uses; see Billing.

  1. Ask the assistant, for example "Place and route this board" or "Route only the USB and power nets".
  2. Review the settings card:
    • What should it do? Place & route, Place only or Route only.
    • What it works on: the whole board, or only the parts, nets or area you asked for.
    • Existing traces: Start fresh (route from scratch), Keep my routing (keep every trace and route only what is missing) or Improve everything (rework the existing routing). Locked traces stay in every case.
    • Design intent: the engine works out which capacitor belongs next to which chip and which nets are high speed, analog, power or ground. Correct anything that is wrong.
    • Component classification: how many parts stay where they are and how many the engine places. Edit in Layout panel opens the list.
    • Time limit: the most minutes the run may use, with the rate per minute and the most it can cost.
    • Stop when it stops improving: ends the run early once nothing better is coming, and you pay only for the minutes used.
    • Pause after placement so I can review it (for Place & route).
    • Let parts move to the other side of the board.
  3. Check the findings at the top of the card. Click one to go to the part, pin or net it is about. Fix anything that blocks the run.
  4. Press Run advanced layout. The button shows the most the run can cost.

While the card waits, it says Waiting for you to press Run and how many minutes are left. If you leave it for about 15 minutes, it closes and says nothing ran and nothing was charged.

Advanced on the card holds two more settings: how often the engine sends a new board, and how long to Wait for a free machine. Time spent waiting for a machine is never charged.

While It Runs

The card says in plain words what the engine is doing and shows parts placed, connections routed out of the total, vias, the Compute time you are charged for, and the cost so far. Copper pours show as outlines while parts move and fill in again at the end.

  • Revisions: every board the run produced is kept on the card. Press Use revision N to put an earlier one on the board instead.
  • Finish here: when the board is complete and nothing better has come for a while, the card says the run looks done. Finish here keeps the result, and you pay only for the minutes used.
  • Continue to routing: if you chose to pause after placement, review where the parts went, then continue. This starts a new paid run.
  • Keep going: if time runs out with work left, the card says what is left, such as "8 connections still unrouted". Choose more minutes and press Keep going to continue the same run instead of starting over. This is a new paid run.
  • Stop: ends the run and keeps its latest result on the board. Once the run has stopped improving, this button reads Keep this result.

Stopping the chat that asked for the run also stops the run. Stopping or closing a different chat tab does not.

When It Ends

  • The card shows how the run ended and what it was charged. A run you stopped that cost nothing says Not charged.
  • The result lands as moved parts and new copper. Silkscreen, text, zones and 3D models stay as they were.
  • The whole run is one Undo step.
  • Revert to pre-layout replaces your current board, including any changes you made since the run, with the copy saved before the run. The revert itself cannot be undone.
  • Trace saves the result, unless routing left the board less connected than before. Then the result stays on the board unsaved, and Undo takes it back.

Keep Parts and Traces in Place

Parts. Open Layout Classification from Edit in Layout panel on the settings card, or right-click parts on the board and choose Layout Classification.

  • Protected: the part stays exactly where it is.
  • Unplaced: the engine places it. Parts you have not classified count as unplaced.

Press Done to save your choices. Mounting holes and logos stay where they are. If every part is protected, there is nothing to place, but Route only still works.

Connectors on an edge. Ask the assistant to keep a connector on an edge, such as "keep J1 on the bottom edge". A part tied only to an edge can slide along it to make room, for example for a fine-pitch chip. Parts given an exact position, locked parts and protected parts never move. New in Trace 3.2.

Parts inside the board. A part that looks like a connector but sits inside the board, such as a BOOT button or an LED, does not need pinning. Tell the assistant it is an internal part and the engine places it freely. New in Trace 3.2.

Traces and nets. Lock the traces you routed yourself, and every advanced run keeps them exactly as they are. Ask the assistant to protect whole nets, such as USB or power, in one step. The card shows what is locked, and Trace checks afterwards that nothing locked moved.

Part of the board. Ask to place only some parts, route only some nets, or keep a run inside one area. The settings card shows the scope under What it works on.

Let the Assistant Finish the Board

New in Trace 3.2: in the Trace app, the assistant can close out the last connections itself, in Agent mode.

  • It lists every connection still open and what stands in its way.
  • It sees which side of each pad a track can leave from.
  • It moves or rotates parts, checking for overlaps, the board edge and clearance. Locked and protected parts move only if you say so.
  • It routes single connections with the board editor's own router.
  • It can fan out a chip's pins, such as a BGA or QFN, before routing.

Each step is one Undo. The board redraws as parts move. When the assistant saves, it tells you if that also saved changes you had not saved yet.

Try: "List the connections that are still open and finish routing them. Don't move J1 or J2."

In the Trace Plugin

Basic routing and advanced placement and routing work in Altium Designer, KiCad and Autodesk Fusion, with the same cards. In Trace Plugin 2.0:

  • Routing layers: the advanced card has a Routing layers row (it reads Routes on: with a Change button) to keep a run's nets to the layers you name, such as top and bottom only. The basic routing card names the layers too. Both routers keep tracks off inner plane layers while vias still pass through.
  • Keep my routing keeps your traces exactly as you drew them, and the run tells you if anything kept changed. Revert puts back only what changed.
  • Keep going continues with the same scope and routing choice, and never touches copper outside the run's scope. Ask the assistant to leave your pours alone and a run will not refill them.

Each design tool has its own save and undo. See Altium Designer, KiCad and Autodesk Fusion.

Review Before You Continue

Check the board before you order: connector positions and sides, parts near the edge and under the enclosure, power and sensitive signal paths, and any connections still unrouted. Refill zones and run DRC with your manufacturer's rules on the actual saved board. A finished run and a clean DRC still need your engineering review.

If a Run Does Not Finish

  • The card lists a blocking finding: click it to go to the part, pin or net, fix it, and ask again.
  • Every part is protected: mark some parts Unplaced, or choose Route only.
  • Time ran out: use Keep going with more minutes, or route the rest by hand or with the assistant.
  • The result is worse than before: press Undo, or Revert to pre-layout.