Skip to main content

Footprinter Strings

Overview

You can quickly specify the footprint and 3d model for any element by setting the footprint property to a string.

export default () => (
<chip
name="U1"
footprint="0402"
/>
)
PCB Circuit Preview

dip

Dual in-line package.

export default () => (
<board width="50mm" height="12mm">
<chip footprint="dip" name="U1" pcbX={-15} pcbY={0} />
<chip footprint="dip16_p1.27_id0.6mm_od0.9mm" name="U2" pcbX={0} pcbY={0} />
<chip footprint="dip8_wide" name="U3" pcbX={15} pcbY={0} />
</board>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
p"2.54mm"Pitch. Space between pins
id"1mm"Inner diameter (hole diameter) of plated holes
od"1.5mm"Outer diameter (copper diameter) of plated holes
w"300mil"Distance between columns
widefalseWide DIP style (600mil between columns)
narrowtrueNarrow DIP style (300mil between columns)

axial

Basic through-hole “axial” resistor or diode footprint.

Examples:

  • axial
  • axial_p0.1in
export default () => (
<chip
name="U1"
footprint="axial"
/>
)
PCB Circuit Preview

axial parameters:

ParameterDefaultDescription
p"2.54mm"Pitch. Space between pins
id"0.7mm"Inner diameter (hole diameter) of plated holes
od"1mm"Outer diameter (copper diameter) of plated holes

0402

Standard imperial 0402 package. 1.0mm × 0.5mm

export default () => (
<chip
name="U1"
footprint="0402"
/>
)
PCB Circuit Preview

0603

Standard imperial 0603 package. 1.6mm × 0.8mm

export default () => (
<chip
name="U1"
footprint="0603"
/>
)
PCB Circuit Preview

0805

Standard imperial 0805 package. 2.0mm × 1.2mm

export default () => (
<chip
name="U1"
footprint="0805"
/>
)
PCB Circuit Preview

1206

Standard imperial 1206 package. 3.2mm × 1.6mm

export default () => (
<chip
name="U1"
footprint="1206"
/>
)
PCB Circuit Preview

1210

Standard imperial 1210 package. 3.2mm × 2.5mm

export default () => (
<chip
name="U1"
footprint="1210"
/>
)
PCB Circuit Preview

soic

Small Outline Integrated Circuit (SOIC) footprint.

export default () => (
<board width="30mm" height="12mm">
<chip footprint="soic" name="U1" pcbX={-7.5} pcbY={0} />
<chip footprint="soic16_w7mm_p0.8mm" name="U2" pcbX={7.5} pcbY={0} />
</board>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
num_pins8Number of pins in the package.
w"5.3mm"Overall package width.
p"1.27mm"Pin pitch (center-to-center distance between adjacent pins).
pl"1.0mm"Pin length.
pw"0.6mm"Pin width.
legsoutsidefalseIf true, positions pins outside the package body; otherwise, pins are inset.

bga

Ball Grid Array (BGA) footprint.

export default () => (
<board width="50mm" height="12mm">
<chip footprint="bga9" name="U1" pcbX={-15} pcbY={0} />
<chip footprint="bga16_p2mm" name="U2" pcbX={0} pcbY={0} />
<chip footprint="bga14_p1.5mm_missing(1,2)" name="U3" pcbX={15} pcbY={0} />
</board>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
num_pins64Total number of solder balls.
gridcalculatedGrid dimensions as an object (e.g. { x: N, y: N }). If unspecified, a square grid is assumed.
p"0.8mm"Ball pitch: center-to-center distance between adjacent balls.
wnonePackage width (optional).
hnonePackage height (optional).
ballnoneBall diameter (optional).
padnonePad size for each ball (optional).
tloriginfalseUse top-left numbering for balls.
bloriginfalseUse bottom-left numbering for balls.
troriginfalseUse top-right numbering for balls.
broriginfalseUse bottom-right numbering for balls.
missing[]List of balls to omit (by number or position) to accommodate design needs.

tssop

Thin-Shrink Small Outline Package (TSSOP) footprint. Default configuration is 6.1mm width with 0.65mm pitch.

export default () => (
<board width="30mm" height="12mm">
<chip footprint="tssop20" name="U1" pcbX={-7.5} pcbY={0} />
<chip footprint="tssop20_w6.5mm_p0.65mm" name="U2" pcbX={7.5} pcbY={0} />
</board>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
num_pins8Number of pins in the package
w"6.1mm"Overall package width
p"0.65mm"Pin pitch (center-to-center distance between adjacent pins)
pwcalculatedPin width (calculated from pitch if not specified)
plcalculatedPin length (calculated from pin width if not specified)

stampboard

A breakout board with configurable pins on all sides. Can include inner holes for mounting.

export default () => (
<board width="50mm" height="12mm">
<chip footprint="stampboard_left10_right10_bottom4_top0_w21mm_p2.54mm" name="U1" pcbX={-15} pcbY={0} />
<chip footprint="stampboard_left20_right20_bottom3_top2_w21mm_p2.54mm_innerhole" name="U3" pcbX={15} pcbY={0} />
</board>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
w"22.58mm"Board width
hcalculatedBoard height (calculated from number of pins if not specified)
left20Number of pins on left side
right20Number of pins on right side
top2Number of pins on top side
bottom2Number of pins on bottom side
p"2.54mm"Pin pitch
pw"1.6mm"Pin width
pl"2.4mm"Pin length
innerholefalseWhether to include inner mounting holes
innerholeedgedistance"1.61mm"Distance of inner holes from edge

stampreceiver

Similar to stampboard but with modified pad dimensions for receiving a stampboard component.

export default () => (
<board width="50mm" height="12mm">
<chip footprint="stampreceiver_left20_right20_bottom3_top2_w21mm_p2.54mm" name="U1" pcbX={-15} pcbY={0} />
<chip footprint="stampreceiver_left20_right20_bottom3_top2_w21mm_p2.54mm_innerhole" name="U3" pcbX={15} pcbY={0} />
</board>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
w"22.58mm"Board width
hcalculatedBoard height (calculated from number of pins if not specified)
left20Number of pins on left side
right20Number of pins on right side
top2Number of pins on top side
bottom2Number of pins on bottom side
p"2.54mm"Pin pitch
pw"1.6mm"Pin width
pl"3.2mm"Pin length
innerholefalseWhether to include inner mounting holes
innerholeedgedistance"1.61mm"Distance of inner holes from edge

hc49

Standard HC49 crystal footprint.

export default () => (
<chip
name="U1"
footprint="hc49"
/>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
p"4.88mm"Pin pitch
id"0.6mm"Inner diameter of plated holes
od"1.2mm"Outer diameter of plated holes
w"5.6mm"Package width
h"3.5mm"Package height

to92

TO-92 transistor package footprint, available in triangular or inline arrangements.

export default () => (
<board width="30mm" height="12mm">
<chip footprint="to92" name="U1" pcbX={-7.5} pcbY={0} />
<chip footprint="to92_inline" name="U2" pcbX={7.5} pcbY={0} />
</board>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
p"1.27mm"Pin pitch
id"0.72mm"Inner diameter of plated holes
od"0.95mm"Outer diameter of plated holes
w"4.5mm"Package width
h"4.5mm"Package height
arrangement"triangular"Pin arrangement, either "triangular" or "inline"

to220

TO-220 package footprint with configurable number of pins.

export default () => (
<board width="50mm" height="12mm">
<chip footprint="to220_2" name="U1" pcbX={-15} pcbY={0} />
<chip footprint="to220_3" name="U2" pcbX={0} pcbY={0} />
<chip footprint="to220_4" name="U3" pcbX={15} pcbY={0} />
</board>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
num_pins3Number of pins (specify using format "to220_N")
p"5.0mm"Pin pitch
id"1.0mm"Inner diameter of plated holes
od"1.9mm"Outer diameter of plated holes
w"13mm"Package width
h"7mm"Package height

ssop

Shrink Small Outline Package (SSOP) footprint.

export default () => (
<board width="30mm" height="12mm">
<chip footprint="ssop8" name="U1" pcbX={-7.5} pcbY={0} />
<chip footprint="ssop16" name="U2" pcbX={7.5} pcbY={0} />
</board>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
num_pins8Number of pins in the package
w"3.9mm"Overall package width
p"1.27mm"Pin pitch (center-to-center distance between adjacent pins)
pwcalculatedPin width (calculated from pitch if not specified)
plcalculatedPin length (calculated from pin width if not specified)

sop8

8-pin Small Outline Package (SOP) footprint.

export default () => (
<chip
name="U1"
footprint="sop8"
/>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
num_pins8Fixed at 8 pins
winheritedOverall package width
pinheritedPin pitch
pl"1.5mm"Pin length
pw"0.6mm"Pin width

qfp

Quad Flat Package (QFP) footprint with configurable number of pins.

export default () => (
<board width="30mm" height="12mm">
<chip footprint="qfp32" name="U1" pcbX={-7.5} pcbY={0} />
<chip footprint="qfp44" name="U2" pcbX={7.5} pcbY={0} />
</board>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
num_pins32Total number of pins (must be divisible by 4)
body_size"7mm"Size of the package body (square)
p"0.8mm"Pin pitch (center-to-center distance between adjacent pins)
pw"0.25mm"Pin width
pl"0.6mm"Pin length (exposed pad length)

qfn

Quad Flat No-Lead (QFN) package footprint with configurable number of pins.

export default () => (
<board width="30mm" height="12mm">
<chip footprint="qfn20" name="U1" pcbX={-7.5} pcbY={0} />
<chip footprint="qfn32" name="U2" pcbX={7.5} pcbY={0} />
</board>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
num_pins20Total number of pins (must be divisible by 4)
body_size"4mm"Size of the package body (square)
p"0.5mm"Pin pitch (center-to-center distance between adjacent pins)
pw"0.25mm"Pin width
pl"0.4mm"Pin length (exposed pad length)

sot23

Small Outline Transistor (SOT-23) footprint with 3 pins.

export default () => (
<chip
name="U1"
footprint="sot23"
/>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
num_pins3Fixed at 3 pins
body_size"2.9mm"Size of the package body
p"0.95mm"Pin pitch
pw"0.4mm"Pin width
pl"0.6mm"Pin length

sot23_5

Small Outline Transistor (SOT-23-5) footprint with 5 pins.

export default () => (
<chip
name="U1"
footprint="sot23_5"
/>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
num_pins5Fixed at 5 pins
body_size"2.9mm"Size of the package body
p"0.95mm"Pin pitch
pw"0.4mm"Pin width
pl"0.6mm"Pin length

sot223

Small Outline Transistor (SOT-223) footprint with 4 pins.

export default () => (
<chip
name="U1"
footprint="sot223"
/>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
num_pins4Fixed at 4 pins
body_size"6.5mm"Size of the package body
p"2.3mm"Pin pitch
pw"0.7mm"Pin width
pl"0.8mm"Pin length

pinrow

Row of pins suitable for male or female pin headers. If _male or _female is specified the 3d model will update accordingly.

export default () => (
<chip
name="U1"
footprint="pinrow4"
/>
)
PCB Circuit Preview

Parameters:

ParameterDefaultDescription
num_pinsNumber of pins
p"2.3mm"Pin pitch
id"1mm"Inner diameter
od"1.5mm"Outer diameter
maletrueMale header
femalefalseFemale header