diff --git a/src/fn/dip.ts b/src/fn/dip.ts index b08ebaf..6f5d70d 100644 --- a/src/fn/dip.ts +++ b/src/fn/dip.ts @@ -27,7 +27,7 @@ export const extendDipDef = (newDefaults: { w?: string; p?: string }) => // Default inner diameter and outer diameter if (!v.id && !v.od) { v.id = length.parse("1.0mm") - v.od = length.parse("1.2mm") + v.od = length.parse("1.5mm") } else if (!v.id) { v.id = v.od! * (1.0 / 1.2) } else if (!v.od) { diff --git a/src/fn/pinrow.ts b/src/fn/pinrow.ts index fc9a962..9dde4a0 100644 --- a/src/fn/pinrow.ts +++ b/src/fn/pinrow.ts @@ -8,7 +8,7 @@ export const pinrow_def = z.object({ num_pins: z.number(), p: length.default("0.1in").describe("pitch"), id: length.default("1.0mm").describe("inner diameter"), - od: length.default("1.2mm").describe("outer diameter"), + od: length.default("1.5mm").describe("outer diameter"), }) export const pinrow = ( diff --git a/tests/__snapshots__/dip footprint.snap.svg b/tests/__snapshots__/dip footprint.snap.svg index 86bc867..120f530 100644 --- a/tests/__snapshots__/dip footprint.snap.svg +++ b/tests/__snapshots__/dip footprint.snap.svg @@ -10,4 +10,4 @@ .pcb-silkscreen-top { stroke: #f2eda1; } .pcb-silkscreen-bottom { stroke: #f2eda1; } .pcb-silkscreen-text { fill: #f2eda1; } - {REF}{pin1}{pin2}{pin3}{pin4} \ No newline at end of file + {REF}{pin1}{pin2}{pin3}{pin4} \ No newline at end of file diff --git a/tests/__snapshots__/dip10_w4.00mm_p2.65mm.snap.svg b/tests/__snapshots__/dip10_w4.00mm_p2.65mm.snap.svg index 98d6417..29a7cba 100644 --- a/tests/__snapshots__/dip10_w4.00mm_p2.65mm.snap.svg +++ b/tests/__snapshots__/dip10_w4.00mm_p2.65mm.snap.svg @@ -10,4 +10,4 @@ .pcb-silkscreen-top { stroke: #f2eda1; } .pcb-silkscreen-bottom { stroke: #f2eda1; } .pcb-silkscreen-text { fill: #f2eda1; } - {REF}{pin1}{pin2}{pin3}{pin4}{pin5}{pin6}{pin7}{pin8}{pin9}{pin10} \ No newline at end of file + {REF}{pin1}{pin2}{pin3}{pin4}{pin5}{pin6}{pin7}{pin8}{pin9}{pin10} \ No newline at end of file diff --git a/tests/__snapshots__/dip16.snap.svg b/tests/__snapshots__/dip16.snap.svg index 037d3ae..4e80369 100644 --- a/tests/__snapshots__/dip16.snap.svg +++ b/tests/__snapshots__/dip16.snap.svg @@ -10,4 +10,4 @@ .pcb-silkscreen-top { stroke: #f2eda1; } .pcb-silkscreen-bottom { stroke: #f2eda1; } .pcb-silkscreen-text { fill: #f2eda1; } - {REF}{pin1}{pin2}{pin3}{pin4}{pin5}{pin6}{pin7}{pin8}{pin9}{pin10}{pin11}{pin12}{pin13}{pin14}{pin15}{pin16} \ No newline at end of file + {REF}{pin1}{pin2}{pin3}{pin4}{pin5}{pin6}{pin7}{pin8}{pin9}{pin10}{pin11}{pin12}{pin13}{pin14}{pin15}{pin16} \ No newline at end of file diff --git a/tests/__snapshots__/dip4_w3.00mm.snap.svg b/tests/__snapshots__/dip4_w3.00mm.snap.svg index 11061fb..ff568a7 100644 --- a/tests/__snapshots__/dip4_w3.00mm.snap.svg +++ b/tests/__snapshots__/dip4_w3.00mm.snap.svg @@ -10,4 +10,4 @@ .pcb-silkscreen-top { stroke: #f2eda1; } .pcb-silkscreen-bottom { stroke: #f2eda1; } .pcb-silkscreen-text { fill: #f2eda1; } - {REF}{pin1}{pin2}{pin3}{pin4} \ No newline at end of file + {REF}{pin1}{pin2}{pin3}{pin4} \ No newline at end of file diff --git a/tests/__snapshots__/lqfp64_w10_h10_pl1_pw0.25mm.snap.svg b/tests/__snapshots__/lqfp64_w10_h10_pl1_pw0.25mm.snap.svg index 38a7932..0da3843 100644 --- a/tests/__snapshots__/lqfp64_w10_h10_pl1_pw0.25mm.snap.svg +++ b/tests/__snapshots__/lqfp64_w10_h10_pl1_pw0.25mm.snap.svg @@ -10,4 +10,4 @@ .pcb-silkscreen-top { stroke: #f2eda1; } .pcb-silkscreen-bottom { stroke: #f2eda1; } .pcb-silkscreen-text { fill: #f2eda1; } - \ No newline at end of file + {REF} \ No newline at end of file diff --git a/tests/__snapshots__/pinrow5.snap.svg b/tests/__snapshots__/pinrow5.snap.svg index a111597..c0563fb 100644 --- a/tests/__snapshots__/pinrow5.snap.svg +++ b/tests/__snapshots__/pinrow5.snap.svg @@ -10,4 +10,4 @@ .pcb-silkscreen-top { stroke: #f2eda1; } .pcb-silkscreen-bottom { stroke: #f2eda1; } .pcb-silkscreen-text { fill: #f2eda1; } - {REF} \ No newline at end of file + {REF} \ No newline at end of file