# Mounting Hole (`mountingHole`)

> A board-only part: a hole for a screw or standoff, shown on the schematic and never simulated.

![mountingHole](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/img/mountingHole.svg)

[Component reference](https://voltecx-web.nguyenvanqui291.workers.dev/docs/reference/) · [繁體中文](https://voltecx-web.nguyenvanqui291.workers.dev/zh/docs/reference/sources/mountingHole/)

**Group:** Sources · **Kind:** `{"element":"mountingHole","kind":"boardPart"}`

## When to use it

Put one on the schematic for each screw hole the board needs, so the board, the drawings and reviewers see it. Tie its pin to a chassis or PGND net only for a plated hole that grounds through the screw.

## Pins

| Pin | Domain | Meaning |
|---|---|---|
| `mh` | electrical | Optional: the net a plated hole joins (chassis or PGND); leave it open for a bare hole |

## Common parameters

- `part`: Part number of a board-only part bought with the board (a standoff, screw or label), for the BOM; information only, not simulated (Default: optional (off))

## Parameters

| Key | Unit | Default | Typical range | Description |
|---|---|---|---|---|
| `part` | — | optional (off) |  | Part number of a board-only part bought with the board (a standoff, screw or label), for the BOM; information only, not simulated |
| `footprint` | — | optional (off) |  | KiCad library id of the footprint a board-only part sits on, such as MountingHole:MountingHole_3.2mm_M3; board.addFootprints places it; information only, not simulated |

_Parameter descriptions are in English in both languages._

## Model

A board-only part is never simulated and never written to the netlist, whatever its simulate switch says. It starts out of the BOM and on the board, and the schematic tags it board only.

## Common mistakes

- A hole tied to a net is a copper connection on the board even though the simulation ignores it. Check the creepage to nearby high-voltage nets on the board.
- The simulation never sees a board-only part. When the hardware matters electrically (a Y capacitor to the chassis, a ground strap), draw that as its own electrical part.

## Datasheet and sources

There is no datasheet. The drill, pad and screw-head keep-out are the engineer's; board.addMountingHoles takes them.

## Example

Open the example with the command `file.openExample` and the name `demo:mountingHole`.

---
Generated by `cargo xtask reference` from the usage texts and parameter specs. Do not edit by hand.
