Pcbnew without eeschema (again)

Using the above script, this is the result POS files.
Placement is correct, but rotation is build-relative, so (of course) that varies depending on how the decals sit in the library.
It is corrected visually in a few seconds, with some 'R’otates…

### Module positions - created on 06/30/16 21:14:26 ###
### Printed by Pcbnew version pcbnew (2016-06-19 BZR 6943, Git e27f90a)-product
## Unit = inches, Angle = deg.
## Side : top
# Ref     Val        Package                              PosX       PosY       Rot  Side
D1        LED        LED_1206                           3.5350     1.5650   45.0000  top
D2        LED        LED_1206                           3.4650     0.5650  315.0000  top
Q1        +5VREG     TO-263-3Lead                       3.1000     1.2000   90.0000  top
R1        12k        R_1206                             2.0500     0.5500    0.0000  top
R2        12k        R_1206                             2.0500     1.2000    0.0000  top
R5        12k        R_1206                             0.4000     1.7000    0.0000  top
R6        10k        R_1206                             3.6750     0.9250  255.0000  top
R7        10k        R_1206                             3.6750     1.2750  105.0000  top
U1        87C256     SOIC-28_7.5x17.9mm_Pitch1.27mm     1.4000     0.8000   90.0000  top
U2        87C256     SOIC-28_7.5x17.9mm_Pitch1.27mm     1.4000     1.4500   90.0000  top
U3        AM100415   SOIC-16_3.9x9.9mm_Pitch1.27mm      2.0500     0.8000   90.0000  top
U4        AM100415   SOIC-16_3.9x9.9mm_Pitch1.27mm      2.0500     1.4500   90.0000  top
U5        CD4001B    SOIC-14_3.9x8.7mm_Pitch1.27mm      0.7500     1.6000   90.0000  top
U6        CD4069     SOIC-14_3.9x8.7mm_Pitch1.27mm      0.7500     1.2500   90.0000  top
U7        PAL16R8    SOIC-20_7.5x12.8mm_Pitch1.27mm     0.6500     0.8000   90.0000  top
Y1        24-576MHZ  Crystal_SMD_7050_4Pads             0.4000     1.4000   90.0000  top
## End

## Module positions - created on 06/30/16 21:14:26 ###
### Printed by Pcbnew version pcbnew (2016-06-19 BZR 6943, Git e27f90a)-product
## Unit = inches, Angle = deg.
## Side : bottom
# Ref     Val       Package                PosX       PosY       Rot  Side
C1        .1uf      C_1206               1.1500     1.0000  180.0000  bottom
C2        .1uf      C_1206               0.5000     1.0000  180.0000  bottom
C3        .1uf      C_1206               1.9500     1.5500  180.0000  bottom
C4        .1uf      C_1206               0.7000     1.7000  180.0000  bottom
C5        .1uf      C_1206               0.7000     1.3500  180.0000  bottom
C6        .1uf      C_1206               1.9500     0.9000  180.0000  bottom
C7        .1uf      C_1206               0.4000     1.5500  180.0000  bottom
C10       .1uf      C_1206               1.1500     1.6500  180.0000  bottom
## End

An update, over the weekend, I experimented with .kicad_pcb files net and trace portions.
The above examples convert NET and Placement info, but uses each packages libraries.
Some rotate-type cleanup is needed after script-place, to take care of library spins.

Turns out you can APPEND a partial kicad_pcb file, which works best in OpenGL mode
Here is the before file, in Mentor-PADS:

and here is the design in KiCad

1 Like