main
John Lauer Publish 1.1.0 3491c0a
# adom-aiflow rules: adom-3rdpartyfab 6L (from adom/pcb-design-rules)
(version 1)

# 3rd party fab 6-layer design rules (standard process)
# 
# Min trace width: 0.085 mm (3.35 mil) - 1 oz copper, multilayer
# Min spacing: 0.1 mm (3.94 mil) - 1 oz copper, multilayer, different nets; copper to copper anywhere, pads included
# Min drill: 0.15 mm (5.91 mil)
# Min via: 0.1 mm hole / 0.25 mm pad
# Annular ring: via 0.1 mm, pad 0.18 mm
# Copper to board edge: 0.1 mm
# Hole to hole: 0.2 mm
# Drill range: 0.1 mm to 6.3 mm
# Board thickness options: 1.6 mm
# Copper weight options: 1 oz, 2 oz
# Max board size: 300 x 250 mm
# 
# BGA pad diameter >= 0.25 mm. BGA pad to trace clearance min 0.10 mm. Vias can be placed within BGA pads using filled and plated-over vias. Finished surface copper: 1 oz standard; 2 oz on request (John Lauer, 2026-10-12). Existing weight-conditioned DRC limits remain for 1 oz; confirm 2 oz DFM before use. Hole-barrel plating and thickness tolerances are not specified by this confirmation. Min trace 0.085 mm on every layer count, 8 layers maximum (John Lauer, 2026-10-30). Min spacing is 0.10 mm copper to copper anywhere, pads included, not 0.085 mm (Adonis Lysandrou and Colby Knox, 2026-11-13). Largest 6-layer board 300 x 250 mm (Adonis Lysandrou and Colby Knox, 2026-11-13). Confirmed on 2026-11-13 (Adonis Lysandrou and Colby Knox, 2026-11-13; docs/3rdpartyfab-drc-limits.md): copper to board edge 0.10 mm; via drill 0.10 mm; plated slots at least 0.40 mm wide; soldermask bridge 0.10 mm; legend line 0.06 mm and legend to pad 0.01 mm; smallest board 3 x 3 mm; 1.6 mm is the only thickness for now; single-layer boards are built with the back copper removed, which costs more than leaving it on; castellated edges are offered; one board per order, no customer panels; the board outline must be its own file and a closed shape (line ends within 0.10 mm are joined; a wider gap is a fault). Hole spacing follows JLCPCB's figures for now. Hole wall to other copper is 0.10 mm for every hole (via, plated, non-plated) on every layer (Colby Knox, 2026-11-17). 2 oz is untested: JLCPCB's 2 oz figures stand in.
# 
# Sources:
# - adom/fusion-bridge addin/AdomBridge/resources/dru/Adom-3rdPartyFab-4-Layer.edru (read 2026-09-03)
# - https://wiki.adom.inc/adom/pcb-design-rules/files/docs/3rdpartyfab-finished-copper.md (read 2026-10-12)
# - https://wiki.adom.inc/adom/pcb-design-rules/files/docs/3rdpartyfab-trace-and-layers.md (read 2026-10-30)
# - https://wiki.adom.inc/adom/pcb-design-rules/files/docs/3rdpartyfab-panel-and-board-size.md (read 2026-11-10)
# - https://wiki.adom.inc/adom/pcb-design-rules/files/docs/3rdpartyfab-drc-limits.md (read 2026-11-13)

(rule "min-track-width"
  (constraint track_width (min 0.085mm))
  (layer "*.Cu")
  (condition "A.type == 'track'"))

(rule "min-clearance"
  (constraint clearance (min 0.1mm))
  (condition "A.type == 'track' && B.type == 'track'"))

(rule "min-hole"
  (constraint hole (min 0.15mm))
  (condition "A.type == 'pad' || A.type == 'via'"))

(rule "min-via-diameter"
  (constraint via_diameter (min 0.25mm))
  (condition "A.type == 'via'"))

(rule "min-edge-clearance"
  (constraint edge_clearance (min 0.1mm))
  (condition "A.type == 'track'"))

(rule "min-silk-thickness"
  (constraint text_thickness (min 0.06mm))
  (layer "*.SilkS")
  (condition "A.type == 'text' || A.type == 'graphic'"))

# BEGIN adom-aiflow netclasses
(rule "aiflow_nc_power_wide_width"
  (condition "A.NetClass == 'POWER_WIDE'")
  (severity warning)
  (constraint track_width (min 0.1500mm))
)
# END adom-aiflow netclasses