main
John Lauer Initial publish: canonical per-vendor PCB fab design rules. 13 vendors, 56 records (vendor, process, layer count) read… bafc3ce 1mo ago
(version 1)

# MacroFab 2-layer design rules (standard process)
# 
# Min trace width: 0.127 mm (5.0 mil) - standard manufacturing specifications
# Min spacing: 0.127 mm (5.0 mil) - standard manufacturing specifications
# Min drill: 0.3048 mm (12.0 mil)
# Min via: 0.3048 mm hole
# Board thickness options: 1.6 mm
# Copper weight options: 0.5 oz, 1 oz
# Surface finishes: ENIG
# Max board size: 378.46 x 378.46 mm
# 
# Standard (default, non-extended) manufacturing specifications per MacroFab help article: minimum trace width 5 mil, minimum drill 12 mil; page notes the standard tier was later reduced (5 mil spacing, 10 mil drill announced December 2018) but the help article body was only visible via search index, not fully readable on load.
# 
# Sources:
# - https://support.macrofab.com/s/article/pcb-specifications-and-drc (read 2026-09-03)
# - https://support.macrofab.com/s/article/can-i-customize-my-pcb (read 2026-09-03)

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

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

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