There appears to be an error in the centroid calculation in pcb-20080202. If I load the pcb (below) in version pcb-20050315 and output the xy data I get
C1,"0805","0.1u",700.00,325.00,0,bottom when I output xy data with pcb-20080202 (both lesstif and gtk) I get C1,"0805","0.1u",700.00,529.00,0,bottom For this footprint the mark is set at the centroid. (700,325) is correct. (* jcl *) #-------- pcb example ----------- # release: pcb-bin 20050315 # date: Mon Sep 29 08:04:13 2008 # user: jluciani (jluciani) # host: rossini.luciani-family.org PCB["" 184200 85400] Grid[2500.00000000 0 0 1] Cursor[171354 117519 2.391741] Thermal[0.500000] DRC[749 10 800 800] Flags(0x00000000000018d8) Groups("1,c:2,s:3:4:5:6:7:8") Styles["Signal,1200,3800,2000,1000:Power,2500,6500,4600,1000:Fat,5000,7500,5200,1000:Skinny,900,3200,1600,1000"] Element[0x00000080 "0805" "C1" "0.1u" 70000 32500 14799 -2421 2 100 0x00000080] ( Pad[-3740 -393 -3740 393 5118 2000 6118 "input" "1" 0x00000180] Pad[3740 -393 3740 393 5118 2000 6118 "input" "2" 0x00000180] ElementLine [-7799 -4452 7799 -4452 1000] ElementLine [7799 -4452 7799 4452 1000] ElementLine [-7799 4452 7799 4452 1000] ElementLine [-7799 -4452 -7799 4452 1000] ) Layer(1 "component") ( ) Layer(2 "solder") ( ) Layer(3 "3") ( ) Layer(4 "4") ( ) Layer(5 "5") ( ) Layer(6 "6") ( ) Layer(7 "7") ( ) Layer(8 "outline") ( ) Layer(9 "silk") ( ) Layer(10 "silk") ( ) NetList() ( ) -- http://www.luciani.org _______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user