@@ -0,0 +1,1769 @@
+#!/usr/bin/env python3%0A# Copyright (c) 2015 Matthew Earl%0A# %0A# Permission is hereby granted, free of charge, to any person obtaining a copy%0A# of this software and associated documentation files (the %22Software%22), to deal%0A# in the Software without restriction, including without limitation the rights%0A# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell%0A# copies of the Software, and to permit persons to whom the Software is%0A# furnished to do so, subject to the following conditions:%0A# %0A#     The above copyright notice and this permission notice shall be included%0A#     in all copies or substantial portions of the Software.%0A# %0A#     THE SOFTWARE IS PROVIDED %22AS IS%22, WITHOUT WARRANTY OF ANY KIND, EXPRESS%0A#     OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF%0A#     MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN%0A#     NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,%0A#     DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR%0A#     OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE%0A#     USE OR OTHER DEALINGS IN THE SOFTWARE.%0A%0A%22%22%22%0APlace a 6-pin DIP-backage with resistors placed horizontally.%0A%0A%22%22%22%0A%0Aimport component%0Aimport cli%0A%0Aic = component.DualInlinePackage(%22IC1%22, 6, row_spacing=2)%0Ar1 = component.Resistor(%22R1%22, 1)%0Ar2 = component.Resistor(%22R2%22, 2)%0Ar3 = component.Resistor(%22R3%22, 2)%0A%0Acomponents = (ic, r1, r2, r3)%0A%0Aboard = component.StripBoard((7, 6))%0A%0Anets = (%0A    (ic.terminals%5B0%5D, r1.terminals%5B0%5D),%0A    (ic.terminals%5B1%5D, r2.terminals%5B0%5D),%0A    (ic.terminals%5B2%5D, r3.terminals%5B0%5D),%0A    (ic.terminals%5B3%5D, r3.terminals%5B1%5D),%0A    (ic.terminals%5B4%5D, r2.terminals%5B1%5D),%0A    (ic.terminals%5B5%5D, r1.terminals%5B1%5D),%0A)%0A%0Acli.main(board, components, nets)%0A%0A

Add examples/dip4.py: A 6-pin DIP with horizontal resistors