Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/elements/cutout.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ pass-through circle, and a decorative polygon.

<CircuitPreview
defaultView="pcb"
hideSchematicTab
browser3dView={false}
code={`export default () => (
<board width="30mm" height="20mm">
<cutout shape="rect" width="5mm" height="3mm" pcbX="-10mm" pcbY="0mm" />
Expand All @@ -62,6 +64,8 @@ and height define the opening size.

<CircuitPreview
defaultView="pcb"
hideSchematicTab
browser3dView={false}
code={`export default () => (
<board width="25mm" height="18mm">
<chip name="U1" footprint="soic8" pcbX={0} pcbY={0} />
Expand All @@ -77,6 +81,8 @@ Circular cutouts create pass-throughs for wires or alignment posts. Set either a

<CircuitPreview
defaultView="pcb"
hideSchematicTab
browser3dView={false}
code={`export default () => (
<board width="24mm" height="16mm">
<cutout shape="circle" radius="1.5mm" pcbX={6} pcbY={-3} />
Expand All @@ -93,6 +99,8 @@ positioned with `pcbX` and `pcbY`.

<CircuitPreview
defaultView="pcb"
hideSchematicTab
browser3dView={false}
code={`export default () => (
<board width="28mm" height="22mm">
<cutout
Expand All @@ -111,11 +119,3 @@ positioned with `pcbX` and `pcbY`.
)`}
/>

## Tips

- Combine cutouts with [`<hole />`](./hole.mdx) elements when you need both
clearance and mounting hardware on the same edge.
- Keep a small gap between cutouts and copper features to satisfy your
manufacturer’s mechanical clearance rules.
- When exporting fabrication files, cutouts appear on the board outline layer,
so confirm your CAM output shows the expected openings before ordering.