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

# Net Classes

> Group nets that share electrical rules in DeepPCB — a track width, a clearance and a via definition — so you set them once rather than net by net.

A net class is a group of nets that share rules. Power, ground and high-speed signals want different widths and clearances, and a class is how you say that once instead of net by net.

## Work with net classes

**1. Open Net Classes**

Click **Setup** at the top of the board editor. **Net Classes** under **Nets** is the tab it opens on.

**2. Read what a class carries**

Each row is a class with its **Clearance (mm)**, a **Track Width (mm)** for every copper layer, and the **Via Definition** the engine uses when a net in that class changes layer. The button at the end of a row opens that class for editing. **\_\_default\_\_** shows a view button instead.

<video autoPlay muted loop playsInline src="https://mintcdn.com/deeppcb/4U0o544YQLW2m18K/images/how-to/netclasses-table.mp4?fit=max&auto=format&n=4U0o544YQLW2m18K&q=85&s=629bd50519e144af26f8c8d1a58f23b3" />

The Net Classes table: clearance, per-layer track widths and via definition, with the edit button at the end of the row.

**3. See which nets are in a class**

Select a row to fill the **Assigned Nets** panel with the nets that class holds. The panel has a search of its own, which is the quickest way to check a net landed where you meant it to. Nets you have not put in a class of your own sit in **\_\_default\_\_**.

<video autoPlay muted loop playsInline src="https://mintcdn.com/deeppcb/4U0o544YQLW2m18K/images/how-to/netclasses-nets.mp4?fit=max&auto=format&n=4U0o544YQLW2m18K&q=85&s=c1aaa9f8876ee6edfd1d37cee5d9a8fd" />

Selecting **default** lists its nets; searching the panel for USB narrows the list.

**4. Add a class**

Click **New Net Class**. In **Create Net Class**, give the class a **Netclass Name**, a **Clearance (mm)**, a **Via Definition** and a **Track Width (mm)** for each layer. Then pick nets from the list on the right — filter it with **All Netclasses** or **Find a Net** — and move them into the class with the arrow between the lists.

Nothing is added until you click **Apply**. **Cancel** throws the new class away.

<video autoPlay muted loop playsInline src="https://mintcdn.com/deeppcb/4U0o544YQLW2m18K/images/how-to/netclasses-new.mp4?fit=max&auto=format&n=4U0o544YQLW2m18K&q=85&s=7f57d57025425ce8f17fc9fc7498677d" />

Filling in Create Net Class and moving +3V3 into it — then Cancel, so nothing is added.

**5. Apply**

Click **Apply** to create the class. Like every Board Setup change, it applies to the next run you start, never to revisions you already have.

> [!TIP]
>
> Track widths that are too tight for a net's pins are a common reason a run leaves connections unrouted. If a run stalls, check the widths and clearances of the classes those nets are in.

> [!TIP]
>
> Cooper can create a net class for you, rather than your filling in this dialog — see [Create a Net Class](https://docs.deeppcb.com/tutorials/how-to/cooper/net-classes.md).

## Example: add a GND net class

<video controls playsInline src="https://mintcdn.com/deeppcb/4U0o544YQLW2m18K/videos/Add-GND-netclass.mp4?fit=max&auto=format&n=4U0o544YQLW2m18K&q=85&s=59325150dea8159c6cfd869ca0ab3f3b" />

Creating a GND net class and assigning nets to it.

> [!NOTE]
>
> A net class groups nets under one **Clearance**, **Track Width** and **Via Definition** — see [Net Classes in Board Setup](https://docs.deeppcb.com/guides/board-setup.md#net-classes) for each field and per-layer track widths, and [Design Constraints](https://docs.deeppcb.com/concepts/design-constraints.md) for how the engine enforces them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.