Skip to content

Commit ab7d573

Browse files
authored
Update cutout previews (#296)
1 parent 5a15eef commit ab7d573

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/elements/cutout.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ pass-through circle, and a decorative polygon.
3636

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

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

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

94100
<CircuitPreview
95101
defaultView="pcb"
102+
hideSchematicTab
103+
browser3dView={false}
96104
code={`export default () => (
97105
<board width="28mm" height="22mm">
98106
<cutout
@@ -111,11 +119,3 @@ positioned with `pcbX` and `pcbY`.
111119
)`}
112120
/>
113121

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

0 commit comments

Comments
 (0)