pcb

Comment 2 for bug 1155776

Revision history for this message
RussNelson (nelson-crynwr) wrote :

Simpler procedure to reproduce:

run pcb (git version 1.7.0.4 version 1.99z Compiled on Feb 27 2013 at 14:49:16).
File/Import Schematic (appended)
Click on "solder" layer (very important - doesn't fail on "component" layer)
Click on RECT tool button.
Draw a rect around both components
Click on THRM tool button.
Deposit a thermal on pin 1 of R1.
Connects/Auto-route all rats
Save as /tmp/test.pcb
egrep "^Element|thermal" /tmp/test.pcb
Expect to see something like this:
Element["" "ACY400" "R2" "unknown" 3448.80mil 58.4701mm 320.00mil 53.00mil 0 100 ""]
 Pin[0.0000 0.0000 55.00mil 30.00mil 61.00mil 30.00mil "1" "1" "square,edge2,thermal(0X,1X)"]
Element["" "ACY400" "R1" "unknown" 83.3599mm 56.5787mm 320.00mil 53.00mil 0 100 ""]
 Pin[0.0000 0.0000 55.00mil 30.00mil 61.00mil 30.00mil "1" "1" "square,edge2,thermal(1X)"]

The thermal that was auto-placed on R2 is incorrectly placed on the "component" layer in addition to the correct "solder" layer.