Commit 2153f4d1 authored by jean-pierre charras's avatar jean-pierre charras

Pcbnew: footprint placement file creation:

 * Added a dialog to select options: one or 2 files, units (mm or inch), and force INSERT option.
 * code cleaning
 * Modify corresponding  icon in menu to show a footprint, not a schematic component.
parent 74aecb3e
......@@ -8,77 +8,86 @@
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c,
0xce, 0x00, 0x00, 0x04, 0x53, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xbd, 0x96, 0x4b, 0x48, 0x5c,
0x77, 0x14, 0xc6, 0x2d, 0x74, 0x21, 0x54, 0x89, 0x51, 0xc4, 0x62, 0x50, 0x2b, 0xa2, 0x68, 0xc0,
0xc4, 0x10, 0x24, 0xb4, 0xd4, 0x14, 0xa7, 0xd0, 0x85, 0x8b, 0x6e, 0xdc, 0xb4, 0x60, 0xdc, 0x48,
0x71, 0x23, 0x18, 0x1b, 0xa1, 0x5d, 0xb8, 0x92, 0xba, 0x90, 0x11, 0x22, 0x14, 0x2c, 0x8a, 0x2d,
0x3e, 0xd1, 0x85, 0x22, 0x5a, 0x15, 0x51, 0xd3, 0xf1, 0x51, 0x45, 0x47, 0xeb, 0x13, 0xe2, 0x18,
0xe3, 0x33, 0xbe, 0x67, 0xc6, 0xf7, 0x38, 0xea, 0xa8, 0x5f, 0xcf, 0xf7, 0x37, 0x57, 0xa6, 0xe3,
0xb5, 0x35, 0xd0, 0x76, 0xe0, 0x70, 0xaf, 0xd7, 0x99, 0xf3, 0x3b, 0xe7, 0x3b, 0x8f, 0xfb, 0xf7,
0x02, 0xe0, 0xf5, 0x7f, 0xd8, 0xe5, 0x4d, 0x5c, 0x5c, 0xdc, 0x37, 0xe9, 0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0x14, 0x14, 0xf4, 0xc1, 0x3f, 0x9e,
0x82, 0x08, 0xf2, 0xdc, 0xc2, 0xee, 0x92, 0xb9, 0x83, 0x78, 0x3d, 0x92, 0x80, 0x36, 0xac, 0x36,
0xb4, 0x75, 0x9a, 0x5c, 0x5f, 0x3d, 0x79, 0x52, 0xe9, 0xe5, 0xe5, 0xf5, 0xfe, 0x8d, 0x8e, 0x5b,
0xde, 0xde, 0xde, 0x9f, 0x05, 0x07, 0x07, 0x7f, 0xf9, 0xae, 0xe6, 0xe3, 0xe3, 0x93, 0x20, 0x90,
0xf7, 0x6e, 0x7c, 0xae, 0xfb, 0xaf, 0xed, 0x4f, 0x3b, 0x6c, 0x44, 0xed, 0xb6, 0xad, 0x23, 0x6f,
0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
0xce, 0x00, 0x00, 0x04, 0xe4, 0x49, 0x44, 0x41, 0x54, 0x48, 0xc7, 0xb5, 0x96, 0x6d, 0x4c, 0x5b,
0x55, 0x18, 0xc7, 0x8b, 0x1f, 0x24, 0xe1, 0x03, 0x09, 0x1f, 0x74, 0x1a, 0x86, 0x63, 0x66, 0x95,
0x10, 0x42, 0x1b, 0x21, 0x82, 0xd1, 0x64, 0xbc, 0x68, 0x60, 0x81, 0x30, 0x40, 0xc8, 0x30, 0xbc,
0xcb, 0xc6, 0x4a, 0x4b, 0x24, 0x04, 0x75, 0x2a, 0x2c, 0x82, 0x15, 0x37, 0x40, 0x03, 0x68, 0xc8,
0x60, 0x6c, 0x82, 0x23, 0x6c, 0x83, 0xe1, 0x20, 0x31, 0xb0, 0xe2, 0xe2, 0x60, 0xbc, 0x15, 0xfc,
0x00, 0x92, 0x10, 0xf6, 0x09, 0x24, 0x8c, 0x77, 0x68, 0x81, 0x96, 0x97, 0x02, 0x05, 0xfe, 0x9e,
0xe7, 0xd0, 0x5b, 0x2e, 0x05, 0xa3, 0xd3, 0x78, 0x93, 0x5f, 0x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68, 0x31, 0x6c, 0x2f, 0xb4, 0x42, 0xf3, 0xf3, 0x3a, 0xfd, 0xc6, 0xe8,
0xf8, 0xd3, 0x8d, 0x9a, 0xbb, 0xf5, 0x7a, 0xb9, 0xdc, 0x2b, 0xe1, 0xaf, 0x04, 0x62, 0xd1, 0x8b,
0x24, 0xfb, 0x0f, 0x48, 0xff, 0x4e, 0x42, 0xfc, 0x09, 0x7a, 0x54, 0x50, 0xa3, 0xa0, 0x06, 0xf6,
0x40, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE post_compo_xpm[1] = {{ png, sizeof( png ), "post_compo_xpm" }};
......
......@@ -8,76 +8,86 @@
static const unsigned char png[] = {
0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x1a, 0x08, 0x06, 0x00, 0x00, 0x00, 0xa9, 0x4a, 0x4c,
0xce, 0x00, 0x00, 0x04, 0x44, 0x49, 0x44, 0x41, 0x54, 0x48, 0x4b, 0xbd, 0x95, 0x49, 0x4c, 0x9c,
0x65, 0x18, 0xc7, 0x07, 0x22, 0x06, 0x1d, 0x20, 0x40, 0x42, 0x58, 0x84, 0x70, 0x00, 0x09, 0x54,
0x9a, 0x12, 0x6a, 0x0f, 0xd2, 0x18, 0x61, 0x94, 0x4d, 0xc4, 0xcb, 0x84, 0x82, 0x04, 0x08, 0x3b,
0x27, 0x30, 0x2a, 0x42, 0x49, 0x43, 0x68, 0xe8, 0x91, 0x43, 0x0f, 0x26, 0x1a, 0x8a, 0xf5, 0xc2,
0x05, 0x0e, 0x96, 0x04, 0x3d, 0x48, 0x62, 0xc0, 0x69, 0xb5, 0x24, 0x0e, 0x05, 0x84, 0x03, 0x08,
0x0e, 0x3b, 0x61, 0x99, 0x85, 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x67, 0x67, 0x67, 0x45, 0x11, 0xd0, 0x21, 0x79, 0xf4, 0x45, 0x74, 0xd4, 0x2f, 0x34, 0x96,
0xf5, 0x69, 0x12, 0xa3, 0xa8, 0xa0, 0xa0, 0xa0, 0x9b, 0xe2, 0xad, 0xa5, 0xb3, 0xc6, 0x8c, 0xa5,
0xa5, 0x25, 0x23, 0xd4, 0xc1, 0x8d, 0xf0, 0xf5, 0xdc, 0xfc, 0xdf, 0x5a, 0xd5, 0xd8, 0xb8, 0xf6,
0xe7, 0xda, 0x5f, 0x35, 0x1f, 0x5e, 0xfd, 0xf8, 0x3b, 0xae, 0xac, 0xb3, 0x24, 0x92, 0xc8, 0x9a,
0x78, 0xff, 0x3f, 0xe0, 0xf1, 0x6f, 0x02, 0x89, 0x7f, 0x00, 0x2e, 0xa3, 0x62, 0xef, 0x4d, 0x9e,
0x78, 0xaf, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82,
};
const BITMAP_OPAQUE post_drill_xpm[1] = {{ png, sizeof( png ), "post_drill_xpm" }};
......
<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 48 48">
<defs>
<filter id="l" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="1.2065414"/>
</filter>
<filter id="j" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="0.89955545"/>
</filter>
<radialGradient id="p" gradientUnits="userSpaceOnUse" cy="112.3" cx="102" gradientTransform="matrix(.875 0 0 .85714 10 17.143)" r="139.56">
<stop stop-color="#00537d" offset="0"/>
<stop stop-color="#186389" offset=".0151"/>
<stop stop-color="#558ca8" offset=".0558"/>
<stop stop-color="#89afc3" offset=".0964"/>
<stop stop-color="#b3ccd8" offset=".1357"/>
<stop stop-color="#d4e2e9" offset=".1737"/>
<stop stop-color="#ecf2f5" offset=".20990"/>
<stop stop-color="#fafcfd" offset=".24350"/>
<stop stop-color="#fff" offset=".27220"/>
</radialGradient>
<radialGradient id="q" gradientUnits="userSpaceOnUse" cy="109.33" cx="99.081" gradientTransform="matrix(.85638 0 0 .84156 11.191 18.14)" r="139.56">
<stop stop-color="#7a7d80" offset="0"/>
<stop stop-color="#c2c2c2" offset=".12618"/>
<stop stop-color="#fafafa" offset=".23251"/>
<stop stop-color="#fff" offset=".27220"/>
<stop stop-color="#fafafa" offset=".53130"/>
<stop stop-color="#ebecec" offset=".84490"/>
<stop stop-color="#e1e2e3" offset="1"/>
</radialGradient>
<linearGradient id="m" y2="94.104" gradientUnits="userSpaceOnUse" x2="86.572" gradientTransform="matrix(.875 0 0 .85714 10 17.143)" y1="104" x1="96">
<stop stop-color="#888a85" offset="0"/>
<stop stop-color="#8c8e89" offset=".0072"/>
<stop stop-color="#abaca9" offset=".0673"/>
<stop stop-color="#c5c6c4" offset=".1347"/>
<stop stop-color="#dbdbda" offset=".2115"/>
<stop stop-color="#ebebeb" offset=".3012"/>
<stop stop-color="#f7f7f6" offset=".4122"/>
<stop stop-color="#fdfdfd" offset=".5679"/>
<stop stop-color="#fff" offset="1"/>
</linearGradient>
<linearGradient id="o" y2="7.8438" xlink:href="#a" gradientUnits="userSpaceOnUse" x2="12.922" y1="6.0625" x1="11.078"/>
<linearGradient id="a">
<stop stop-color="#fff" offset="0"/>
<stop stop-color="#babaff" offset="1"/>
</linearGradient>
<linearGradient id="n" y2="10.441" xlink:href="#a" gradientUnits="userSpaceOnUse" x2="12.136" gradientTransform="matrix(1.6113,0,0,2.0018,5.897,10.72)" y1="1.9828" x1="3.4673"/>
<filter id="k" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="0.26143807"/>
</filter>
</defs>
<g transform="matrix(.47468 0 0 .42788 -6.467 -7.0045)">
<path opacity=".6" d="m23 25v96h53.525c0.464 0 30.475-29.398 30.475-29.853v-66.147h-84z" transform="matrix(1.0476,0,0,1.0417,-2.0952,-4.0417)" filter="url(#j)"/>
<path fill="url(#p)" d="m24 24v96h53.525c0.464 0 30.475-29.398 30.475-29.853v-66.147h-84z"/>
<path fill="url(#q)" d="m26.606 25.714c-0.47187 0-0.85638 0.37786-0.85638 0.84156v90.888c0 0.46455 0.38452 0.84157 0.85638 0.84157h50.674c0.22523 0 0.44618-0.0892 0.60546-0.24658l28.115-27.618c0.16013-0.15737 0.25092-0.37365 0.25092-0.59498v-63.262c0-0.4637-0.38366-0.84156-0.85639-0.84156h-78.787z"/>
<path opacity=".5" filter="url(#l)" d="m76.526 120s11.662-9 16.474-13.714c4.812-4.72 14-16.143 14-16.143s-8 5.853-24 5.853c0 16-6.4745 24-6.4745 24z"/>
<path fill="url(#m)" d="m77.526 120s11.662-9 16.474-13.714c4.812-4.72 14-16.143 14-16.143s-8 5.853-24 5.853c0 16-6.4745 24-6.4745 24z"/>
</g>
<g transform="matrix(.74661 0 0 .79847 16.665 .51902)">
<rect fill-opacity="0" height="16" width="16" y="0" x="0"/>
</g>
<g opacity=".30078" filter="url(#k)" transform="matrix(1.8157,0,0,1.7764,-3.1921,-11.041)">
<path fill-rule="evenodd" d="m8 13.25v14l10.5-7-10.5-7z"/>
<rect y="17.25" width="1.9942" x="6.0058" height="1"/>
<rect y="22.25" width="2" x="6" height="1"/>
<path d="m14.5 6.5a1.5 1.5 0 1 1 -3 0 1.5 1.5 0 1 1 3 0z" transform="matrix(1.3333 0 0 1.3333 .66664 11.583)"/>
<rect y="19.75" width="2.4942" x="19.506" height="1"/>
</g>
<rect transform="matrix(-1.7e-7,1,-1,-4.6099e-8,0,0)" height="1.8157" width="1.7764" y="-13.149" x="14.273" fill="#fff"/>
<path fill-rule="evenodd" d="m9.5178 10.72v24.87l19.065-12.435-19.065-12.435z"/>
<rect y="17.826" width="1.8157" x="7.7021" height="1.7764"/>
<rect y="26.708" width="1.8157" x="7.7021" height="1.7764"/>
<path fill-rule="evenodd" fill="url(#n)" d="m11.344 14.273v17.764l14.526-8.882-14.526-8.882z"/>
<path d="m14.5 6.5a1.5 1.5 0 1 1 -3 0 1.5 1.5 0 1 1 3 0z" transform="matrix(2.4209,0,0,2.3686,-3.7974,7.7594)"/>
<path fill="url(#o)" d="m13 7a1 1 0 1 1 -2 0 1 1 0 1 1 2 0z" transform="matrix(1.8157,0,0,1.7764,5.8864,10.72)"/>
<rect y="22.267" width="4.5287" x="30.409" height="1.7764"/>
<g fill-rule="evenodd" transform="matrix(.80699 0 0 .90684 -22.065 7.996)">
<path fill="#9b9b9b" d="m52.807 0.10325h5.6249v1.9589l-3.375 5.8916h-2.25l3.375-5.8768h-3.375v-1.9738z"/>
<path fill="#9b9b9b" d="m74.181 0.10325v1.9589h3.375v0.97946l-3.375 2.9384v1.9589h5.6249v-1.9589h-3.375l3.375-2.9384v-1.959l-1.125-0.99432-4.5 0.01489z"/>
<path fill="#9b9b9b" d="m67.431 2.17 0.01708 3.81 1.1079 1.9589h3.375l1.1421-2.0667v-3.9178l-1.1421-1.8511h-3.375l-1.125 2.0667z"/>
<path fill="#fff" d="m68.556 3.0416 1.125-0.97946h1.125l1.125 0.9795v1.9589l-1.125 0.9795h-1.125l-1.125-0.9795v-1.9589z"/>
<path fill="#9b9b9b" d="m59.557 0.10325v4.8973h4.5v2.9384h2.25v-7.8357h-2.25v2.9384h-2.25v-2.9384h-2.25z"/>
</g>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="48"
width="48"
version="1.1"
viewBox="0 0 48 48"
id="svg2"
inkscape:version="0.48.1 "
sodipodi:docname="post_compo.svg">
<metadata
id="metadata133">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1280"
inkscape:window-height="968"
id="namedview131"
showgrid="false"
inkscape:zoom="11.15955"
inkscape:cx="7.5456375"
inkscape:cy="34.760928"
inkscape:window-x="-4"
inkscape:window-y="-4"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<defs
id="defs4">
<filter
id="l"
color-interpolation-filters="sRGB">
<feGaussianBlur
stdDeviation="1.2065414"
id="feGaussianBlur7" />
</filter>
<filter
id="j"
color-interpolation-filters="sRGB">
<feGaussianBlur
stdDeviation="0.89955545"
id="feGaussianBlur10" />
</filter>
<radialGradient
id="p"
gradientUnits="userSpaceOnUse"
cy="112.3"
cx="102"
gradientTransform="matrix(.875 0 0 .85714 10 17.143)"
r="139.56">
<stop
stop-color="#00537d"
offset="0"
id="stop13" />
<stop
stop-color="#186389"
offset=".0151"
id="stop15" />
<stop
stop-color="#558ca8"
offset=".0558"
id="stop17" />
<stop
stop-color="#89afc3"
offset=".0964"
id="stop19" />
<stop
stop-color="#b3ccd8"
offset=".1357"
id="stop21" />
<stop
stop-color="#d4e2e9"
offset=".1737"
id="stop23" />
<stop
stop-color="#ecf2f5"
offset=".20990"
id="stop25" />
<stop
stop-color="#fafcfd"
offset=".24350"
id="stop27" />
<stop
stop-color="#fff"
offset=".27220"
id="stop29" />
</radialGradient>
<radialGradient
id="q"
gradientUnits="userSpaceOnUse"
cy="109.33"
cx="99.081"
gradientTransform="matrix(.85638 0 0 .84156 11.191 18.14)"
r="139.56">
<stop
stop-color="#7a7d80"
offset="0"
id="stop32" />
<stop
stop-color="#c2c2c2"
offset=".12618"
id="stop34" />
<stop
stop-color="#fafafa"
offset=".23251"
id="stop36" />
<stop
stop-color="#fff"
offset=".27220"
id="stop38" />
<stop
stop-color="#fafafa"
offset=".53130"
id="stop40" />
<stop
stop-color="#ebecec"
offset=".84490"
id="stop42" />
<stop
stop-color="#e1e2e3"
offset="1"
id="stop44" />
</radialGradient>
<linearGradient
id="m"
y2="94.104"
gradientUnits="userSpaceOnUse"
x2="86.572"
gradientTransform="matrix(.875 0 0 .85714 10 17.143)"
y1="104"
x1="96">
<stop
stop-color="#888a85"
offset="0"
id="stop47" />
<stop
stop-color="#8c8e89"
offset=".0072"
id="stop49" />
<stop
stop-color="#abaca9"
offset=".0673"
id="stop51" />
<stop
stop-color="#c5c6c4"
offset=".1347"
id="stop53" />
<stop
stop-color="#dbdbda"
offset=".2115"
id="stop55" />
<stop
stop-color="#ebebeb"
offset=".3012"
id="stop57" />
<stop
stop-color="#f7f7f6"
offset=".4122"
id="stop59" />
<stop
stop-color="#fdfdfd"
offset=".5679"
id="stop61" />
<stop
stop-color="#fff"
offset="1"
id="stop63" />
</linearGradient>
<linearGradient
id="o"
y2="7.8438"
xlink:href="#a"
gradientUnits="userSpaceOnUse"
x2="12.922"
y1="6.0625"
x1="11.078" />
<linearGradient
id="a">
<stop
stop-color="#fff"
offset="0"
id="stop67" />
<stop
stop-color="#babaff"
offset="1"
id="stop69" />
</linearGradient>
<linearGradient
id="n"
y2="10.441"
xlink:href="#a"
gradientUnits="userSpaceOnUse"
x2="12.136"
gradientTransform="matrix(1.6113,0,0,2.0018,5.897,10.72)"
y1="1.9828"
x1="3.4673" />
<filter
id="k"
color-interpolation-filters="sRGB">
<feGaussianBlur
stdDeviation="0.26143807"
id="feGaussianBlur73" />
</filter>
<mask
id="w">
<rect
style="fill:#ffffff;fill-rule:evenodd"
height="26.091999"
width="25.032"
y="-3.7337"
x="-4.6403999"
id="rect3301" />
</mask>
<mask
id="x">
<rect
style="fill:#ffffff;fill-rule:evenodd"
height="26.091999"
width="25.032"
y="-3.7337"
x="-4.6403999"
id="rect3304" />
</mask>
<mask
id="q-1">
<rect
style="fill:#ffffff;fill-rule:evenodd"
height="26.091999"
width="25.032"
y="-3.7337"
x="-4.6403999"
id="rect3307" />
</mask>
<mask
id="v">
<rect
style="fill:#ffffff;fill-rule:evenodd"
height="26.091999"
width="25.032"
y="-3.7337"
x="-4.6403999"
id="rect3310" />
</mask>
<mask
id="r">
<rect
style="fill:#ffffff;fill-rule:evenodd"
height="26.091999"
width="25.032"
y="-3.7337"
x="-4.6403999"
id="rect3313" />
</mask>
<mask
id="u">
<rect
style="fill:#ffffff;fill-rule:evenodd"
height="26.091999"
width="25.032"
y="-3.7337"
x="-4.6403999"
id="rect3316" />
</mask>
<mask
id="s">
<rect
style="fill:#ffffff;fill-rule:evenodd"
height="26.091999"
width="25.032"
y="-3.7337"
x="-4.6403999"
id="rect3319" />
</mask>
<mask
id="t">
<rect
style="fill:#ffffff;fill-rule:evenodd"
height="26.091999"
width="25.032"
y="-3.7337"
x="-4.6403999"
id="rect3322" />
</mask>
<filter
id="n-7"
color-interpolation-filters="sRGB">
<feGaussianBlur
stdDeviation="0.89955545"
id="feGaussianBlur3298" />
</filter>
<radialGradient
id="y"
gradientUnits="userSpaceOnUse"
cy="112.3"
cx="102"
gradientTransform="matrix(0.875,0,0,0.85714,10,17.143)"
r="139.56">
<stop
stop-color="#00537d"
offset="0"
id="stop3325" />
<stop
stop-color="#186389"
offset=".0151"
id="stop3327" />
<stop
stop-color="#558ca8"
offset=".0558"
id="stop3329" />
<stop
stop-color="#89afc3"
offset=".0964"
id="stop3331" />
<stop
stop-color="#b3ccd8"
offset=".1357"
id="stop3333" />
<stop
stop-color="#d4e2e9"
offset=".1737"
id="stop3335" />
<stop
stop-color="#ecf2f5"
offset=".20990"
id="stop3337" />
<stop
stop-color="#fafcfd"
offset=".24350"
id="stop3339" />
<stop
stop-color="#fff"
offset=".27220"
id="stop3341" />
</radialGradient>
<radialGradient
id="z"
gradientUnits="userSpaceOnUse"
cy="109.33"
cx="99.081001"
gradientTransform="matrix(0.85638,0,0,0.84156,11.191,18.14)"
r="139.56">
<stop
stop-color="#7a7d80"
offset="0"
id="stop3344" />
<stop
stop-color="#c2c2c2"
offset=".12618"
id="stop3346" />
<stop
stop-color="#fafafa"
offset=".23251"
id="stop3348" />
<stop
stop-color="#fff"
offset=".27220"
id="stop3350" />
<stop
stop-color="#fafafa"
offset=".53130"
id="stop3352" />
<stop
stop-color="#ebecec"
offset=".84490"
id="stop3354" />
<stop
stop-color="#e1e2e3"
offset="1"
id="stop3356" />
</radialGradient>
<filter
id="o-4"
color-interpolation-filters="sRGB">
<feGaussianBlur
stdDeviation="1.2065414"
id="feGaussianBlur3295" />
</filter>
<linearGradient
id="p-0"
y2="94.103996"
gradientUnits="userSpaceOnUse"
x2="86.571999"
gradientTransform="matrix(0.875,0,0,0.85714,10,17.143)"
y1="104"
x1="96">
<stop
stop-color="#888a85"
offset="0"
id="stop3359" />
<stop
stop-color="#8c8e89"
offset=".0072"
id="stop3361" />
<stop
stop-color="#abaca9"
offset=".0673"
id="stop3363" />
<stop
stop-color="#c5c6c4"
offset=".1347"
id="stop3365" />
<stop
stop-color="#dbdbda"
offset=".2115"
id="stop3367" />
<stop
stop-color="#ebebeb"
offset=".3012"
id="stop3369" />
<stop
stop-color="#f7f7f6"
offset=".4122"
id="stop3371" />
<stop
stop-color="#fdfdfd"
offset=".5679"
id="stop3373" />
<stop
stop-color="#fff"
offset="1"
id="stop3375" />
</linearGradient>
<linearGradient
y2="94.103996"
x2="86.571999"
y1="104"
x1="96"
gradientTransform="matrix(0.875,0,0,0.85714,10,17.143)"
gradientUnits="userSpaceOnUse"
id="linearGradient3529"
xlink:href="#p-0"
inkscape:collect="always" />
</defs>
<g
transform="matrix(.74661 0 0 .79847 16.665 .51902)"
id="g87">
<rect
fill-opacity="0"
height="16"
width="16"
y="0"
x="0"
id="rect89" />
</g>
<g
transform="matrix(0.52013677,0,0,0.45759617,-10.263625,-8.9845933)"
id="g3377">
<path
style="opacity:0.6;filter:url(#n-7)"
inkscape:connector-curvature="0"
d="m 23,25 v 96 H 76.525 C 76.989,121 107,91.602 107,91.147 V 25 H 23 z"
transform="matrix(1.0476,0,0,1.0417,-2.0952,-4.0417)"
id="path3379" />
<path
style="fill:url(#y)"
inkscape:connector-curvature="0"
d="m 24,24 v 96 H 77.525 C 77.989,120 108,90.602 108,90.147 V 24 H 24 z"
id="path3381" />
<path
style="fill:url(#z)"
inkscape:connector-curvature="0"
d="m 26.606,25.714 c -0.47187,0 -0.85638,0.37786 -0.85638,0.84156 v 90.888 c 0,0.46455 0.38452,0.84157 0.85638,0.84157 H 77.28 c 0.22523,0 0.44618,-0.0892 0.60546,-0.24658 l 28.115,-27.618 c 0.16013,-0.15737 0.25092,-0.37365 0.25092,-0.59498 v -63.262 c 0,-0.4637 -0.38366,-0.84156 -0.85639,-0.84156 h -78.787 z"
id="path3383" />
<path
style="opacity:0.5;filter:url(#o-4)"
inkscape:connector-curvature="0"
d="m 76.526,120 c 0,0 11.662,-9 16.474,-13.714 4.812,-4.72 14,-16.143 14,-16.143 0,0 -8,5.853 -24,5.853 0,16 -6.4745,24 -6.4745,24 z"
id="path3385" />
<path
style="fill:url(#linearGradient3529)"
inkscape:connector-curvature="0"
d="m 77.526,120 c 0,0 11.662,-9 16.474,-13.714 4.812,-4.72 14,-16.143 14,-16.143 0,0 -8,5.853 -24,5.853 0,16 -6.4745,24 -6.4745,24 z"
id="path3387" />
</g>
<path
style="opacity:0.9;fill:none;stroke:#000000;stroke-width:1.5581075px"
inkscape:connector-curvature="0"
d="M 39.830074,8.8807023 H 4.3898176"
id="path3429" />
<path
style="opacity:0.9;fill:none;stroke:#000000;stroke-width:1.49439585px"
inkscape:connector-curvature="0"
d="M 10.111511,36.732359 V 4.3264105"
id="path3431" />
<path
style="stroke:#000000;stroke-width:1.10369503px"
inkscape:connector-curvature="0"
d="M 41.027366,8.8019769 35.886242,4.3576864 v 9.1772406 z"
id="path3433" />
<path
style="stroke:#000000;stroke-width:1.10369503px"
inkscape:connector-curvature="0"
d="M 10.215715,39.334046 14.686632,34.223 H 5.4538759 z"
id="path3435" />
<g
id="g3960"
transform="matrix(0.55678302,0,0,0.52759133,34.204311,24.931152)">
<g
transform="matrix(-3.089888,0,0,-3.1303427,-42.828281,22.964105)"
id="g42"
style="fill:#c8c8c8;fill-opacity:1;stroke:#000000;stroke-width:0.63823414;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none">
<rect
transform="matrix(0,1,-1,0,0,0)"
height="14.619"
width="9.7086"
y="3.4905"
x="1.904"
id="rect44"
style="fill:#c8c8c8;fill-opacity:1;stroke:#000000;stroke-width:0.63823414;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
d="m 693.26,625.06 a 18.91409,18.91409 0 0 1 -37.828,0.11702"
transform="matrix(0,0.071482,-0.071482,0,41.168,-41.24)"
id="path46"
style="fill:#c8c8c8;fill-opacity:1;stroke:#000000;stroke-width:8.92859936;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
inkscape:connector-curvature="0" />
</g>
<g
transform="matrix(-3.1385085,0,0,-3.1287915,-43.598609,23.42294)"
id="g48"
style="stroke:#030303;stroke-linejoin:round">
<rect
transform="matrix(0,1,-1,0,0,0)"
height="2.5109999"
width="4.7175999"
y="13.332"
x="-0.31959"
id="rect50"
style="fill:#ff7800;stroke-width:0.30000001" />
<rect
transform="matrix(0,1,-1,0,0,0)"
height="2.5109999"
width="4.7175999"
y="5.3635998"
x="-0.31959"
id="rect52"
style="fill:#ff7800;stroke-width:0.30000001" />
<path
d="m 654.65,737.28 a 9.5805,9.5805 0 1 1 -19.161,0 9.5805,9.5805 0 1 1 19.161,0 z"
transform="matrix(0,0.071482,-0.071482,0,46.083,-44.072)"
id="path54"
style="fill:#ffede0;stroke-width:4.19689989"
inkscape:connector-curvature="0" />
<rect
transform="matrix(0,1,-1,0,0,0)"
height="2.5109999"
width="4.7175999"
y="9.3478003"
x="-0.31959"
id="rect56"
style="fill:#ff7800;stroke-width:0.30000001" />
<path
d="m 654.65,737.28 a 9.5805,9.5805 0 1 1 -19.161,0 9.5805,9.5805 0 1 1 19.161,0 z"
transform="matrix(0,0.071482,-0.071482,0,42.08,-44.072)"
id="path58"
style="fill:#ffede0;stroke-width:4.19689989"
inkscape:connector-curvature="0" />
<path
d="m 654.65,737.28 a 9.5805,9.5805 0 1 1 -19.161,0 9.5805,9.5805 0 1 1 19.161,0 z"
transform="matrix(0,0.071482,-0.071482,0,38.077,-44.072)"
id="path60"
style="fill:#ffede0;stroke-width:4.19689989"
inkscape:connector-curvature="0" />
</g>
<g
transform="matrix(-3.1385085,0,0,-3.1287915,-43.598609,-7.1644389)"
id="g62">
<rect
transform="matrix(0,1,-1,0,0,0)"
height="2.5109999"
width="4.7175999"
y="13.332"
x="-0.31959"
id="rect64"
style="fill:#ff7800;stroke:#030303;stroke-width:0.30000001;stroke-linejoin:round" />
<rect
transform="matrix(0,1,-1,0,0,0)"
height="2.5109999"
width="4.7175999"
y="5.3635998"
x="-0.31959"
id="rect66"
style="fill:#ff7800;stroke:#030303;stroke-width:0.30000001;stroke-linejoin:round" />
<path
d="m 654.65,737.28 a 9.5805,9.5805 0 1 1 -19.161,0 9.5805,9.5805 0 1 1 19.161,0 z"
transform="matrix(0,0.071482,-0.071482,0,46.083,-44.072)"
id="path68"
style="fill:#ffede0;stroke:#030303;stroke-width:4.19689989;stroke-linejoin:round"
inkscape:connector-curvature="0" />
<rect
transform="matrix(0,1,-1,0,0,0)"
height="2.5109999"
width="4.7175999"
y="9.3478003"
x="-0.31959"
id="rect70"
style="fill:#ff7800;stroke:#030303;stroke-width:0.30000001;stroke-linejoin:round" />
<path
d="m 654.65,737.28 a 9.5805,9.5805 0 1 1 -19.161,0 9.5805,9.5805 0 1 1 19.161,0 z"
transform="matrix(0,0.071482,-0.071482,0,42.08,-44.072)"
id="path72"
style="fill:#ffede0;stroke:#030303;stroke-width:4.19689989;stroke-linejoin:round"
inkscape:connector-curvature="0" />
<g
id="g74"
style="stroke-width:0.30000001">
<path
d="m 654.65,737.28 a 9.5805,9.5805 0 1 1 -19.161,0 9.5805,9.5805 0 1 1 19.161,0 z"
transform="matrix(0,0.071482,-0.071482,0,38.077,-44.072)"
id="path76"
style="fill:#ffede0;stroke:#030303;stroke-width:4.19689989;stroke-linejoin:round"
inkscape:connector-curvature="0" />
</g>
</g>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" height="48" width="48" version="1.1" viewBox="0 0 48 48">
<defs>
<filter id="o" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="1.2065414"/>
</filter>
<filter id="n" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation="0.89955545"/>
</filter>
<mask id="w">
<rect fill-rule="evenodd" height="26.092" width="25.032" y="-3.7337" x="-4.6404" fill="#fff"/>
</mask>
<mask id="x">
<rect fill-rule="evenodd" height="26.092" width="25.032" y="-3.7337" x="-4.6404" fill="#fff"/>
</mask>
<mask id="q">
<rect fill-rule="evenodd" height="26.092" width="25.032" y="-3.7337" x="-4.6404" fill="#fff"/>
</mask>
<mask id="v">
<rect fill-rule="evenodd" height="26.092" width="25.032" y="-3.7337" x="-4.6404" fill="#fff"/>
</mask>
<mask id="r">
<rect fill-rule="evenodd" height="26.092" width="25.032" y="-3.7337" x="-4.6404" fill="#fff"/>
</mask>
<mask id="u">
<rect fill-rule="evenodd" height="26.092" width="25.032" y="-3.7337" x="-4.6404" fill="#fff"/>
</mask>
<mask id="s">
<rect fill-rule="evenodd" height="26.092" width="25.032" y="-3.7337" x="-4.6404" fill="#fff"/>
</mask>
<mask id="t">
<rect fill-rule="evenodd" height="26.092" width="25.032" y="-3.7337" x="-4.6404" fill="#fff"/>
</mask>
<radialGradient id="y" gradientUnits="userSpaceOnUse" cy="112.3" cx="102" gradientTransform="matrix(.875 0 0 .85714 10 17.143)" r="139.56">
<stop stop-color="#00537d" offset="0"/>
<stop stop-color="#186389" offset=".0151"/>
<stop stop-color="#558ca8" offset=".0558"/>
<stop stop-color="#89afc3" offset=".0964"/>
<stop stop-color="#b3ccd8" offset=".1357"/>
<stop stop-color="#d4e2e9" offset=".1737"/>
<stop stop-color="#ecf2f5" offset=".20990"/>
<stop stop-color="#fafcfd" offset=".24350"/>
<stop stop-color="#fff" offset=".27220"/>
</radialGradient>
<radialGradient id="z" gradientUnits="userSpaceOnUse" cy="109.33" cx="99.081" gradientTransform="matrix(.85638 0 0 .84156 11.191 18.14)" r="139.56">
<stop stop-color="#7a7d80" offset="0"/>
<stop stop-color="#c2c2c2" offset=".12618"/>
<stop stop-color="#fafafa" offset=".23251"/>
<stop stop-color="#fff" offset=".27220"/>
<stop stop-color="#fafafa" offset=".53130"/>
<stop stop-color="#ebecec" offset=".84490"/>
<stop stop-color="#e1e2e3" offset="1"/>
</radialGradient>
<linearGradient id="p" y2="94.104" gradientUnits="userSpaceOnUse" x2="86.572" gradientTransform="matrix(.875 0 0 .85714 10 17.143)" y1="104" x1="96">
<stop stop-color="#888a85" offset="0"/>
<stop stop-color="#8c8e89" offset=".0072"/>
<stop stop-color="#abaca9" offset=".0673"/>
<stop stop-color="#c5c6c4" offset=".1347"/>
<stop stop-color="#dbdbda" offset=".2115"/>
<stop stop-color="#ebebeb" offset=".3012"/>
<stop stop-color="#f7f7f6" offset=".4122"/>
<stop stop-color="#fdfdfd" offset=".5679"/>
<stop stop-color="#fff" offset="1"/>
</linearGradient>
</defs>
<g transform="matrix(.47468 0 0 .42788 -6.467 -7.0045)">
<path opacity=".6" d="m23 25v96h53.525c0.464 0 30.475-29.398 30.475-29.853v-66.147h-84z" transform="matrix(1.0476,0,0,1.0417,-2.0952,-4.0417)" filter="url(#n)"/>
<path fill="url(#y)" d="m24 24v96h53.525c0.464 0 30.475-29.398 30.475-29.853v-66.147h-84z"/>
<path fill="url(#z)" d="m26.606 25.714c-0.47187 0-0.85638 0.37786-0.85638 0.84156v90.888c0 0.46455 0.38452 0.84157 0.85638 0.84157h50.674c0.22523 0 0.44618-0.0892 0.60546-0.24658l28.115-27.618c0.16013-0.15737 0.25092-0.37365 0.25092-0.59498v-63.262c0-0.4637-0.38366-0.84156-0.85639-0.84156h-78.787z"/>
<path opacity=".5" filter="url(#o)" d="m76.526 120s11.662-9 16.474-13.714c4.812-4.72 14-16.143 14-16.143s-8 5.853-24 5.853c0 16-6.4745 24-6.4745 24z"/>
<path fill="url(#p)" d="m77.526 120s11.662-9 16.474-13.714c4.812-4.72 14-16.143 14-16.143s-8 5.853-24 5.853c0 16-6.4745 24-6.4745 24z"/>
</g>
<g transform="matrix(-.63561 0 0 .61084 41.848 10.591)">
<a fill="#e5e500" mask="url(#w)" transform="matrix(-1.0533,0,0,-1.0414,46.87,47.939)">
<path d="m40.093 23.074a14.001 13.576 0 1 1 -28.001 0 14.001 13.576 0 1 1 28.001 0z" fill-rule="evenodd" transform="matrix(.86364 0 0 .875 -1.0028 3.2555)" fill="#e5e500"/>
</a>
<a opacity=".83203" mask="url(#x)" transform="matrix(0 -1.0414 1.0533 0 -.64254 45.87)">
<path fill-rule="evenodd" d="m40.093 23.074a14.001 13.576 0 1 1 -28.001 0 14.001 13.576 0 1 1 28.001 0z" transform="matrix(.86364 0 0 .875 -1.0028 3.2555)"/>
</a>
<a fill="#eded00" mask="url(#q)" transform="matrix(1.0533 0 0 1.0414 1.4155 -.94445)">
<path d="m40.093 23.074a14.001 13.576 0 1 1 -28.001 0 14.001 13.576 0 1 1 28.001 0z" fill-rule="evenodd" transform="matrix(.86364 0 0 .875 -1.0028 3.2555)" fill="#eded00"/>
</a>
<path opacity=".9" d="m39.075 22.875a13.875 14.25 0 1 1 -0.0016 -0.21848l-13.873 0.218z" transform="matrix(.99191 0 0 .94943 -.85146 1.8348)" stroke="#000" stroke-width="1.5405" fill="none"/>
<a opacity="0.83" mask="url(#v)" transform="matrix(0,1.0414,-1.0533,0,48.922,1.1043)">
<path fill-rule="evenodd" d="m40.093 23.074a14.001 13.576 0 1 1 -28.001 0 14.001 13.576 0 1 1 28.001 0z" transform="matrix(.86364 0 0 .875 -1.0028 3.2555)"/>
</a>
<path opacity=".9" d="m4.5373 23.491h38.818" stroke="#000" stroke-width="2.016px" fill="none"/>
<path opacity=".9" d="m24.134 4.5338v38.704" stroke="#000" stroke-width="2.1559px" fill="none"/>
<a fill="#c1c100" mask="url(#r)" transform="matrix(.67174 0 0 .76458 7.6512 3.9816)">
<path d="m40.093 23.074a14.001 13.576 0 1 1 -28.001 0 14.001 13.576 0 1 1 28.001 0z" fill-rule="evenodd" transform="matrix(.86364 0 0 .875 -1.0028 3.2555)" fill="#c1c100"/>
</a>
<a fill="#c1c100" mask="url(#u)" transform="matrix(-.67174 0 0 -.76458 40.662 43.016)">
<path d="m40.093 23.074a14.001 13.576 0 1 1 -28.001 0 14.001 13.576 0 1 1 28.001 0z" fill-rule="evenodd" transform="matrix(.86364 0 0 .875 -1.0028 3.2555)" fill="#c1c100"/>
</a>
<a mask="url(#s)" transform="matrix(0 .67174 -.76458 0 43.801 7.3614)">
<path fill-rule="evenodd" d="m40.093 23.074a14.001 13.576 0 1 1 -28.001 0 14.001 13.576 0 1 1 28.001 0z" transform="matrix(.86364 0 0 .875 -1.0028 3.2555)"/>
</a>
<a mask="url(#t)" transform="matrix(0 -.67174 .76458 0 4.4238 39.589)">
<path fill-rule="evenodd" d="m40.093 23.074a14.001 13.576 0 1 1 -28.001 0 14.001 13.576 0 1 1 28.001 0z" transform="matrix(.86364 0 0 .875 -1.0028 3.2555)"/>
</a>
</g>
<path opacity=".9" d="m40.358 10.051h-33.33" stroke="#000" stroke-width="1.46px" fill="none"/>
<path opacity=".9" d="m12.409 36.054v-30.255" stroke="#000" stroke-width="1.4003px" fill="none"/>
<path stroke-width="1.0342px" d="m41.484 9.9775-4.835-4.1493v8.5681z" stroke="#000"/>
<path stroke-width="1.0342px" d="m12.507 38.483 4.2047-4.7718h-8.683z" stroke="#000"/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
height="48"
width="48"
version="1.1"
viewBox="0 0 48 48"
id="svg3290"
inkscape:version="0.48.1 "
sodipodi:docname="post_drill.svg">
<metadata
id="metadata3439">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1280"
inkscape:window-height="968"
id="namedview3437"
showgrid="false"
inkscape:zoom="15.4375"
inkscape:cx="24"
inkscape:cy="24"
inkscape:window-x="-4"
inkscape:window-y="-4"
inkscape:window-maximized="1"
inkscape:current-layer="svg3290" />
<defs
id="defs3292">
<filter
id="o"
color-interpolation-filters="sRGB">
<feGaussianBlur
stdDeviation="1.2065414"
id="feGaussianBlur3295" />
</filter>
<filter
id="n"
color-interpolation-filters="sRGB">
<feGaussianBlur
stdDeviation="0.89955545"
id="feGaussianBlur3298" />
</filter>
<mask
id="w">
<rect
fill-rule="evenodd"
height="26.092"
width="25.032"
y="-3.7337"
x="-4.6404"
fill="#fff"
id="rect3301" />
</mask>
<mask
id="x">
<rect
fill-rule="evenodd"
height="26.092"
width="25.032"
y="-3.7337"
x="-4.6404"
fill="#fff"
id="rect3304" />
</mask>
<mask
id="q">
<rect
fill-rule="evenodd"
height="26.092"
width="25.032"
y="-3.7337"
x="-4.6404"
fill="#fff"
id="rect3307" />
</mask>
<mask
id="v">
<rect
fill-rule="evenodd"
height="26.092"
width="25.032"
y="-3.7337"
x="-4.6404"
fill="#fff"
id="rect3310" />
</mask>
<mask
id="r">
<rect
fill-rule="evenodd"
height="26.092"
width="25.032"
y="-3.7337"
x="-4.6404"
fill="#fff"
id="rect3313" />
</mask>
<mask
id="u">
<rect
fill-rule="evenodd"
height="26.092"
width="25.032"
y="-3.7337"
x="-4.6404"
fill="#fff"
id="rect3316" />
</mask>
<mask
id="s">
<rect
fill-rule="evenodd"
height="26.092"
width="25.032"
y="-3.7337"
x="-4.6404"
fill="#fff"
id="rect3319" />
</mask>
<mask
id="t">
<rect
fill-rule="evenodd"
height="26.092"
width="25.032"
y="-3.7337"
x="-4.6404"
fill="#fff"
id="rect3322" />
</mask>
<radialGradient
id="y"
gradientUnits="userSpaceOnUse"
cy="112.3"
cx="102"
gradientTransform="matrix(0.875,0,0,0.85714,10,17.143)"
r="139.56">
<stop
stop-color="#00537d"
offset="0"
id="stop3325" />
<stop
stop-color="#186389"
offset=".0151"
id="stop3327" />
<stop
stop-color="#558ca8"
offset=".0558"
id="stop3329" />
<stop
stop-color="#89afc3"
offset=".0964"
id="stop3331" />
<stop
stop-color="#b3ccd8"
offset=".1357"
id="stop3333" />
<stop
stop-color="#d4e2e9"
offset=".1737"
id="stop3335" />
<stop
stop-color="#ecf2f5"
offset=".20990"
id="stop3337" />
<stop
stop-color="#fafcfd"
offset=".24350"
id="stop3339" />
<stop
stop-color="#fff"
offset=".27220"
id="stop3341" />
</radialGradient>
<radialGradient
id="z"
gradientUnits="userSpaceOnUse"
cy="109.33"
cx="99.081"
gradientTransform="matrix(0.85638,0,0,0.84156,11.191,18.14)"
r="139.56">
<stop
stop-color="#7a7d80"
offset="0"
id="stop3344" />
<stop
stop-color="#c2c2c2"
offset=".12618"
id="stop3346" />
<stop
stop-color="#fafafa"
offset=".23251"
id="stop3348" />
<stop
stop-color="#fff"
offset=".27220"
id="stop3350" />
<stop
stop-color="#fafafa"
offset=".53130"
id="stop3352" />
<stop
stop-color="#ebecec"
offset=".84490"
id="stop3354" />
<stop
stop-color="#e1e2e3"
offset="1"
id="stop3356" />
</radialGradient>
<linearGradient
id="p"
y2="94.104"
gradientUnits="userSpaceOnUse"
x2="86.572"
gradientTransform="matrix(0.875,0,0,0.85714,10,17.143)"
y1="104"
x1="96">
<stop
stop-color="#888a85"
offset="0"
id="stop3359" />
<stop
stop-color="#8c8e89"
offset=".0072"
id="stop3361" />
<stop
stop-color="#abaca9"
offset=".0673"
id="stop3363" />
<stop
stop-color="#c5c6c4"
offset=".1347"
id="stop3365" />
<stop
stop-color="#dbdbda"
offset=".2115"
id="stop3367" />
<stop
stop-color="#ebebeb"
offset=".3012"
id="stop3369" />
<stop
stop-color="#f7f7f6"
offset=".4122"
id="stop3371" />
<stop
stop-color="#fdfdfd"
offset=".5679"
id="stop3373" />
<stop
stop-color="#fff"
offset="1"
id="stop3375" />
</linearGradient>
</defs>
<g
transform="matrix(0.51827266,0,0,0.45499315,-9.7975047,-8.8271572)"
id="g3377">
<path
d="m 23,25 v 96 H 76.525 C 76.989,121 107,91.602 107,91.147 V 25 H 23 z"
transform="matrix(1.0476,0,0,1.0417,-2.0952,-4.0417)"
id="path3379"
inkscape:connector-curvature="0"
style="opacity:0.6;filter:url(#n)" />
<path
d="m 24,24 v 96 H 77.525 C 77.989,120 108,90.602 108,90.147 V 24 H 24 z"
id="path3381"
style="fill:url(#y)"
inkscape:connector-curvature="0" />
<path
d="m 26.606,25.714 c -0.47187,0 -0.85638,0.37786 -0.85638,0.84156 v 90.888 c 0,0.46455 0.38452,0.84157 0.85638,0.84157 H 77.28 c 0.22523,0 0.44618,-0.0892 0.60546,-0.24658 l 28.115,-27.618 c 0.16013,-0.15737 0.25092,-0.37365 0.25092,-0.59498 v -63.262 c 0,-0.4637 -0.38366,-0.84156 -0.85639,-0.84156 h -78.787 z"
id="path3383"
style="fill:url(#z)"
inkscape:connector-curvature="0" />
<path
d="m 76.526,120 c 0,0 11.662,-9 16.474,-13.714 4.812,-4.72 14,-16.143 14,-16.143 0,0 -8,5.853 -24,5.853 0,16 -6.4745,24 -6.4745,24 z"
id="path3385"
inkscape:connector-curvature="0"
style="opacity:0.5;filter:url(#o)" />
<path
d="m 77.526,120 c 0,0 11.662,-9 16.474,-13.714 4.812,-4.72 14,-16.143 14,-16.143 0,0 -8,5.853 -24,5.853 0,16 -6.4745,24 -6.4745,24 z"
id="path3387"
style="fill:url(#p)"
inkscape:connector-curvature="0" />
</g>
<g
transform="matrix(-0.69398181,0,0,0.64954664,42.954546,9.8833035)"
id="g3389">
<a
mask="url(#w)"
transform="matrix(-1.0533,0,0,-1.0414,46.87,47.939)"
id="a3391"
style="fill:#e5e500">
<path
d="m 40.093,23.074 a 14.001,13.576 0 1 1 -28.001,0 14.001,13.576 0 1 1 28.001,0 z"
transform="matrix(0.86364,0,0,0.875,-1.0028,3.2555)"
id="path3393"
inkscape:connector-curvature="0"
style="fill:#e5e500;fill-rule:evenodd" />
</a>
<a
mask="url(#x)"
transform="matrix(0,-1.0414,1.0533,0,-0.64254,45.87)"
id="a3395"
style="opacity:0.83202999">
<path
d="m 40.093,23.074 a 14.001,13.576 0 1 1 -28.001,0 14.001,13.576 0 1 1 28.001,0 z"
transform="matrix(0.86364,0,0,0.875,-1.0028,3.2555)"
id="path3397"
inkscape:connector-curvature="0"
style="fill-rule:evenodd" />
</a>
<a
mask="url(#q)"
transform="matrix(1.0533,0,0,1.0414,1.4155,-0.94445)"
id="a3399"
style="fill:#eded00">
<path
d="m 40.093,23.074 a 14.001,13.576 0 1 1 -28.001,0 14.001,13.576 0 1 1 28.001,0 z"
transform="matrix(0.86364,0,0,0.875,-1.0028,3.2555)"
id="path3401"
inkscape:connector-curvature="0"
style="fill:#eded00;fill-rule:evenodd" />
</a>
<path
d="m 39.075,22.875 a 13.875,14.25 0 1 1 -0.0016,-0.21848 l -13.873,0.218 z"
transform="matrix(0.99191,0,0,0.94943,-0.85146,1.8348)"
id="path3403"
inkscape:connector-curvature="0"
style="opacity:0.9;fill:none;stroke:#000000;stroke-width:1.54050004" />
<a
mask="url(#v)"
transform="matrix(0,1.0414,-1.0533,0,48.922,1.1043)"
id="a3405"
style="opacity:0.82999998">
<path
d="m 40.093,23.074 a 14.001,13.576 0 1 1 -28.001,0 14.001,13.576 0 1 1 28.001,0 z"
transform="matrix(0.86364,0,0,0.875,-1.0028,3.2555)"
id="path3407"
inkscape:connector-curvature="0"
style="fill-rule:evenodd" />
</a>
<path
d="m 4.5373,23.491 h 38.818"
id="path3409"
inkscape:connector-curvature="0"
style="opacity:0.9;fill:none;stroke:#000000;stroke-width:2.01600003px" />
<path
d="m 24.134,4.5338 v 38.704"
id="path3411"
inkscape:connector-curvature="0"
style="opacity:0.9;fill:none;stroke:#000000;stroke-width:2.1559px" />
<a
mask="url(#r)"
transform="matrix(0.67174,0,0,0.76458,7.6512,3.9816)"
id="a3413"
style="fill:#c1c100">
<path
d="m 40.093,23.074 a 14.001,13.576 0 1 1 -28.001,0 14.001,13.576 0 1 1 28.001,0 z"
transform="matrix(0.86364,0,0,0.875,-1.0028,3.2555)"
id="path3415"
inkscape:connector-curvature="0"
style="fill:#c1c100;fill-rule:evenodd" />
</a>
<a
mask="url(#u)"
transform="matrix(-0.67174,0,0,-0.76458,40.662,43.016)"
id="a3417"
style="fill:#c1c100">
<path
d="m 40.093,23.074 a 14.001,13.576 0 1 1 -28.001,0 14.001,13.576 0 1 1 28.001,0 z"
transform="matrix(0.86364,0,0,0.875,-1.0028,3.2555)"
id="path3419"
inkscape:connector-curvature="0"
style="fill:#c1c100;fill-rule:evenodd" />
</a>
<a
mask="url(#s)"
transform="matrix(0,0.67174,-0.76458,0,43.801,7.3614)"
id="a3421">
<path
d="m 40.093,23.074 a 14.001,13.576 0 1 1 -28.001,0 14.001,13.576 0 1 1 28.001,0 z"
transform="matrix(0.86364,0,0,0.875,-1.0028,3.2555)"
id="path3423"
inkscape:connector-curvature="0"
style="fill-rule:evenodd" />
</a>
<a
mask="url(#t)"
transform="matrix(0,-0.67174,0.76458,0,4.4238,39.589)"
id="a3425">
<path
d="m 40.093,23.074 a 14.001,13.576 0 1 1 -28.001,0 14.001,13.576 0 1 1 28.001,0 z"
transform="matrix(0.86364,0,0,0.875,-1.0028,3.2555)"
id="path3427"
inkscape:connector-curvature="0"
style="fill-rule:evenodd" />
</a>
</g>
<path
d="M 41.327711,9.3090858 H 4.9368207"
id="path3429"
inkscape:connector-curvature="0"
style="opacity:0.9;fill:none;stroke:#000000;stroke-width:1.57316029px" />
<path
d="M 10.81199,36.959799 V 4.7876526"
id="path3431"
inkscape:connector-curvature="0"
style="opacity:0.9;fill:none;stroke:#000000;stroke-width:1.50883317px" />
<path
d="M 42.557119,9.2309283 37.278091,4.8187028 v 9.1110282 z"
id="path3433"
inkscape:connector-curvature="0"
style="stroke:#000000;stroke-width:1.11435771px" />
<path
d="m 10.918989,39.542715 4.590843,-5.074171 H 6.0294209 z"
id="path3435"
inkscape:connector-curvature="0"
style="stroke:#000000;stroke-width:1.11435771px" />
</svg>
......@@ -713,8 +713,46 @@ public:
void InstallDialogLayerSetup();
void GenModulesPosition( wxCommandEvent& event );
void GenModuleReport( wxCommandEvent& event );
/**
* Function GenFootprintsPositionFile
* Calls DoGenFootprintsPositionFile to create a footprint position file
* See DoGenFootprintsPositionFile for options and file format
*/
void GenFootprintsPositionFile( wxCommandEvent& event );
/**
* Function DoGenFootprintsPositionFile
* Creates an ascii footprint position file
* @param aFullFilename = the full file name of the file to create
* @param aUnitsMM = false to use inches, true to use mm in coordinates
* @param aForceSmdItems = true to force all footprints with smd pads in list
* = false to put only footprints with option "INSERT" in list
* @param aSide = 0 to list footprints on BACK side,
* 1 to list footprints on FRONT side
* 2 to list footprints on both sides
* @return the number of footprints found on aSide side,
* or -1 if the file could not be created
*/
int DoGenFootprintsPositionFile( const wxString& aFullFileName, bool aUnitsMM,
bool aForceSmdItems, int aSide );
/**
* Function GenFootprintsReport
* Calls DoGenFootprintsReport to create a footprint reprot file
* See DoGenFootprintsReport for file format
*/
void GenFootprintsReport( wxCommandEvent& event );
/**
* Function DoGenFootprintsReport
* Creates an ascii footprint report file giving some infos on footprints
* and board outlines
* @param aFullFilename = the full file name of the file to create
* @param aUnitsMM = false to use inches, true to use mm in coordinates
* @return true if OK, false if error
*/
bool DoGenFootprintsReport( const wxString& aFullFilename, bool aUnitsMM );
void InstallDrillFrame( wxCommandEvent& event );
void ToPostProcess( wxCommandEvent& event );
......
......@@ -43,6 +43,7 @@ set(PCBNEW_DIALOGS
dialogs/dialog_freeroute_exchange_base.cpp
dialogs/dialog_gendrill.cpp
dialogs/dialog_gendrill_base.cpp
dialogs/dialog_gen_module_position_file_base.cpp
dialogs/dialog_general_options.cpp
dialogs/dialog_general_options_BoardEditor_base.cpp
dialogs/dialog_global_edit_tracks_and_vias.cpp
......
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Jun 30 2011)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#include "dialog_gen_module_position_file_base.h"
///////////////////////////////////////////////////////////////////////////
DIALOG_GEN_MODULE_POSITION_BASE::DIALOG_GEN_MODULE_POSITION_BASE( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
m_MainSizer = new wxBoxSizer( wxVERTICAL );
wxBoxSizer* bUpperSizer;
bUpperSizer = new wxBoxSizer( wxHORIZONTAL );
wxBoxSizer* bDirSizer;
bDirSizer = new wxBoxSizer( wxVERTICAL );
m_staticTextDir = new wxStaticText( this, wxID_ANY, _("Output directory:"), wxDefaultPosition, wxDefaultSize, 0 );
m_staticTextDir->Wrap( -1 );
bDirSizer->Add( m_staticTextDir, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
wxBoxSizer* bSizerdirBrowse;
bSizerdirBrowse = new wxBoxSizer( wxHORIZONTAL );
m_outputDirectoryName = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
m_outputDirectoryName->SetToolTip( _("Target directory for plot files. Can be absolute or relative to the board file location.") );
m_outputDirectoryName->SetMinSize( wxSize( 350,-1 ) );
bSizerdirBrowse->Add( m_outputDirectoryName, 1, wxALIGN_CENTER_VERTICAL|wxEXPAND|wxRIGHT|wxLEFT, 5 );
m_browseButton = new wxButton( this, wxID_ANY, _("Browse..."), wxDefaultPosition, wxDefaultSize, 0 );
bSizerdirBrowse->Add( m_browseButton, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
bDirSizer->Add( bSizerdirBrowse, 1, wxEXPAND, 5 );
bUpperSizer->Add( bDirSizer, 1, 0, 5 );
m_MainSizer->Add( bUpperSizer, 0, wxEXPAND, 5 );
wxBoxSizer* bSizerOptions;
bSizerOptions = new wxBoxSizer( wxHORIZONTAL );
wxString m_radioBoxUnitsChoices[] = { _("Inches"), _("mm") };
int m_radioBoxUnitsNChoices = sizeof( m_radioBoxUnitsChoices ) / sizeof( wxString );
m_radioBoxUnits = new wxRadioBox( this, wxID_ANY, _("Units:"), wxDefaultPosition, wxDefaultSize, m_radioBoxUnitsNChoices, m_radioBoxUnitsChoices, 1, wxRA_SPECIFY_COLS );
m_radioBoxUnits->SetSelection( 0 );
bSizerOptions->Add( m_radioBoxUnits, 1, wxALL, 5 );
wxString m_radioBoxFilesCountChoices[] = { _("One file per side"), _("One file for board") };
int m_radioBoxFilesCountNChoices = sizeof( m_radioBoxFilesCountChoices ) / sizeof( wxString );
m_radioBoxFilesCount = new wxRadioBox( this, wxID_ANY, _("Files:"), wxDefaultPosition, wxDefaultSize, m_radioBoxFilesCountNChoices, m_radioBoxFilesCountChoices, 1, wxRA_SPECIFY_COLS );
m_radioBoxFilesCount->SetSelection( 0 );
m_radioBoxFilesCount->SetToolTip( _("Creates 2 files: one for each board side or\nCreates only one file containing all footprints to place\n") );
bSizerOptions->Add( m_radioBoxFilesCount, 1, wxALL, 5 );
wxString m_radioBoxForceSmdChoices[] = { _("With INSERT attribute set"), _("Force INSERT attribute for all SMD footprints") };
int m_radioBoxForceSmdNChoices = sizeof( m_radioBoxForceSmdChoices ) / sizeof( wxString );
m_radioBoxForceSmd = new wxRadioBox( this, wxID_ANY, _("Footprints:"), wxDefaultPosition, wxDefaultSize, m_radioBoxForceSmdNChoices, m_radioBoxForceSmdChoices, 1, wxRA_SPECIFY_COLS );
m_radioBoxForceSmd->SetSelection( 0 );
m_radioBoxForceSmd->SetToolTip( _("Only footprints with option INSERT are listed in placement file.\nThis option can force this option for all footprints having only SMD pads.\nWarning: this options will modify the board.") );
bSizerOptions->Add( m_radioBoxForceSmd, 0, wxALL, 5 );
m_MainSizer->Add( bSizerOptions, 0, wxEXPAND|wxTOP|wxBOTTOM, 5 );
wxStaticBoxSizer* sbSizerMsg;
sbSizerMsg = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Messages:") ), wxVERTICAL );
m_messagesBox = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE|wxTE_READONLY );
m_messagesBox->SetMinSize( wxSize( -1,70 ) );
sbSizerMsg->Add( m_messagesBox, 1, wxEXPAND, 5 );
m_MainSizer->Add( sbSizerMsg, 1, wxEXPAND, 5 );
m_sdbSizerButtons = new wxStdDialogButtonSizer();
m_sdbSizerButtonsOK = new wxButton( this, wxID_OK );
m_sdbSizerButtons->AddButton( m_sdbSizerButtonsOK );
m_sdbSizerButtonsCancel = new wxButton( this, wxID_CANCEL );
m_sdbSizerButtons->AddButton( m_sdbSizerButtonsCancel );
m_sdbSizerButtons->Realize();
m_MainSizer->Add( m_sdbSizerButtons, 0, wxEXPAND|wxALIGN_RIGHT|wxTOP|wxBOTTOM|wxRIGHT, 5 );
this->SetSizer( m_MainSizer );
this->Layout();
// Connect Events
this->Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_GEN_MODULE_POSITION_BASE::OnClose ) );
this->Connect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( DIALOG_GEN_MODULE_POSITION_BASE::OnInitDialog ) );
m_browseButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_GEN_MODULE_POSITION_BASE::OnOutputDirectoryBrowseClicked ), NULL, this );
m_sdbSizerButtonsCancel->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_GEN_MODULE_POSITION_BASE::OnCancelButton ), NULL, this );
m_sdbSizerButtonsOK->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_GEN_MODULE_POSITION_BASE::OnOKButton ), NULL, this );
}
DIALOG_GEN_MODULE_POSITION_BASE::~DIALOG_GEN_MODULE_POSITION_BASE()
{
// Disconnect Events
this->Disconnect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( DIALOG_GEN_MODULE_POSITION_BASE::OnClose ) );
this->Disconnect( wxEVT_INIT_DIALOG, wxInitDialogEventHandler( DIALOG_GEN_MODULE_POSITION_BASE::OnInitDialog ) );
m_browseButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_GEN_MODULE_POSITION_BASE::OnOutputDirectoryBrowseClicked ), NULL, this );
m_sdbSizerButtonsCancel->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_GEN_MODULE_POSITION_BASE::OnCancelButton ), NULL, this );
m_sdbSizerButtonsOK->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_GEN_MODULE_POSITION_BASE::OnOKButton ), NULL, this );
}
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<wxFormBuilder_Project>
<FileVersion major="1" minor="10" />
<object class="Project" expanded="1">
<property name="class_decoration"></property>
<property name="code_generation">C++</property>
<property name="disconnect_events">1</property>
<property name="disconnect_mode">source_name</property>
<property name="disconnect_python_events">0</property>
<property name="embedded_files_path">res</property>
<property name="encoding">UTF-8</property>
<property name="event_generation">connect</property>
<property name="file">dialog_gen_module_position_file_base</property>
<property name="first_id">1000</property>
<property name="help_provider">none</property>
<property name="internationalize">1</property>
<property name="name">Dialog_Gen_Modules_Positions_base</property>
<property name="namespace"></property>
<property name="path">.</property>
<property name="precompiled_header"></property>
<property name="relative_path">1</property>
<property name="skip_python_events">1</property>
<property name="use_enum">1</property>
<property name="use_microsoft_bom">0</property>
<object class="Dialog" expanded="1">
<property name="BottomDockable">1</property>
<property name="LeftDockable">1</property>
<property name="RightDockable">1</property>
<property name="TopDockable">1</property>
<property name="aui_managed">0</property>
<property name="aui_name"></property>
<property name="best_size"></property>
<property name="bg"></property>
<property name="caption"></property>
<property name="caption_visible">1</property>
<property name="center"></property>
<property name="center_pane">0</property>
<property name="close_button">1</property>
<property name="context_help"></property>
<property name="context_menu">1</property>
<property name="default_pane">0</property>
<property name="dock">Dock</property>
<property name="dock_fixed">0</property>
<property name="docking">Left</property>
<property name="enabled">1</property>
<property name="event_handler">impl_virtual</property>
<property name="extra_style"></property>
<property name="fg"></property>
<property name="floatable">1</property>
<property name="font"></property>
<property name="gripper">0</property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="layer"></property>
<property name="max_size"></property>
<property name="maximize_button">0</property>
<property name="maximum_size"></property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size">-1,-1</property>
<property name="moveable">1</property>
<property name="name">DIALOG_GEN_MODULE_POSITION_BASE</property>
<property name="pane_border">1</property>
<property name="pane_position"></property>
<property name="pane_size"></property>
<property name="pin_button">1</property>
<property name="pos"></property>
<property name="position"></property>
<property name="resize">Resizable</property>
<property name="row"></property>
<property name="show">1</property>
<property name="size">501,340</property>
<property name="style">wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</property>
<property name="subclass"></property>
<property name="title">Position Files:</property>
<property name="toolbar_pane">0</property>
<property name="tooltip"></property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<event name="OnActivate"></event>
<event name="OnActivateApp"></event>
<event name="OnAuiFindManager"></event>
<event name="OnAuiPaneButton"></event>
<event name="OnAuiPaneClose"></event>
<event name="OnAuiPaneMaximize"></event>
<event name="OnAuiPaneRestore"></event>
<event name="OnAuiRender"></event>
<event name="OnChar"></event>
<event name="OnClose">OnClose</event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnHibernate"></event>
<event name="OnIconize"></event>
<event name="OnIdle"></event>
<event name="OnInitDialog">OnInitDialog</event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnUpdateUI"></event>
<object class="wxBoxSizer" expanded="1">
<property name="minimum_size"></property>
<property name="name">m_MainSizer</property>
<property name="orient">wxVERTICAL</property>
<property name="permission">protected</property>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxEXPAND</property>
<property name="proportion">0</property>
<object class="wxBoxSizer" expanded="1">
<property name="minimum_size"></property>
<property name="name">bUpperSizer</property>
<property name="orient">wxHORIZONTAL</property>
<property name="permission">none</property>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag"></property>
<property name="proportion">1</property>
<object class="wxBoxSizer" expanded="1">
<property name="minimum_size"></property>
<property name="name">bDirSizer</property>
<property name="orient">wxVERTICAL</property>
<property name="permission">none</property>
<object class="sizeritem" expanded="0">
<property name="border">5</property>
<property name="flag">wxEXPAND|wxTOP|wxLEFT</property>
<property name="proportion">0</property>
<object class="wxStaticText" expanded="0">
<property name="BottomDockable">1</property>
<property name="LeftDockable">1</property>
<property name="RightDockable">1</property>
<property name="TopDockable">1</property>
<property name="aui_name"></property>
<property name="best_size"></property>
<property name="bg"></property>
<property name="caption"></property>
<property name="caption_visible">1</property>
<property name="center_pane">0</property>
<property name="close_button">1</property>
<property name="context_help"></property>
<property name="context_menu">1</property>
<property name="default_pane">0</property>
<property name="dock">Dock</property>
<property name="dock_fixed">0</property>
<property name="docking">Left</property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="floatable">1</property>
<property name="font"></property>
<property name="gripper">0</property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="label">Output directory:</property>
<property name="layer"></property>
<property name="max_size"></property>
<property name="maximize_button">0</property>
<property name="maximum_size"></property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size"></property>
<property name="moveable">1</property>
<property name="name">m_staticTextDir</property>
<property name="pane_border">1</property>
<property name="pane_position"></property>
<property name="pane_size"></property>
<property name="permission">protected</property>
<property name="pin_button">1</property>
<property name="pos"></property>
<property name="position"></property>
<property name="resize">Resizable</property>
<property name="row"></property>
<property name="show">1</property>
<property name="size"></property>
<property name="style"></property>
<property name="subclass"></property>
<property name="toolbar_pane">0</property>
<property name="tooltip"></property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<property name="wrap">-1</property>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxEXPAND</property>
<property name="proportion">1</property>
<object class="wxBoxSizer" expanded="1">
<property name="minimum_size"></property>
<property name="name">bSizerdirBrowse</property>
<property name="orient">wxHORIZONTAL</property>
<property name="permission">none</property>
<object class="sizeritem" expanded="0">
<property name="border">5</property>
<property name="flag">wxALIGN_CENTER_VERTICAL|wxEXPAND|wxRIGHT|wxLEFT</property>
<property name="proportion">1</property>
<object class="wxTextCtrl" expanded="0">
<property name="BottomDockable">1</property>
<property name="LeftDockable">1</property>
<property name="RightDockable">1</property>
<property name="TopDockable">1</property>
<property name="aui_name"></property>
<property name="best_size"></property>
<property name="bg"></property>
<property name="caption"></property>
<property name="caption_visible">1</property>
<property name="center_pane">0</property>
<property name="close_button">1</property>
<property name="context_help"></property>
<property name="context_menu">1</property>
<property name="default_pane">0</property>
<property name="dock">Dock</property>
<property name="dock_fixed">0</property>
<property name="docking">Left</property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="floatable">1</property>
<property name="font"></property>
<property name="gripper">0</property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="layer"></property>
<property name="max_size"></property>
<property name="maximize_button">0</property>
<property name="maximum_size"></property>
<property name="maxlength">0</property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size">350,-1</property>
<property name="moveable">1</property>
<property name="name">m_outputDirectoryName</property>
<property name="pane_border">1</property>
<property name="pane_position"></property>
<property name="pane_size"></property>
<property name="permission">protected</property>
<property name="pin_button">1</property>
<property name="pos"></property>
<property name="position"></property>
<property name="resize">Resizable</property>
<property name="row"></property>
<property name="show">1</property>
<property name="size"></property>
<property name="style"></property>
<property name="subclass"></property>
<property name="toolbar_pane">0</property>
<property name="tooltip">Target directory for plot files. Can be absolute or relative to the board file location.</property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="value"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnText"></event>
<event name="OnTextEnter"></event>
<event name="OnTextMaxLen"></event>
<event name="OnTextURL"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
<object class="sizeritem" expanded="0">
<property name="border">5</property>
<property name="flag">wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT</property>
<property name="proportion">0</property>
<object class="wxButton" expanded="0">
<property name="BottomDockable">1</property>
<property name="LeftDockable">1</property>
<property name="RightDockable">1</property>
<property name="TopDockable">1</property>
<property name="aui_name"></property>
<property name="best_size"></property>
<property name="bg"></property>
<property name="caption"></property>
<property name="caption_visible">1</property>
<property name="center_pane">0</property>
<property name="close_button">1</property>
<property name="context_help"></property>
<property name="context_menu">1</property>
<property name="default">0</property>
<property name="default_pane">0</property>
<property name="dock">Dock</property>
<property name="dock_fixed">0</property>
<property name="docking">Left</property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="floatable">1</property>
<property name="font"></property>
<property name="gripper">0</property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="label">Browse...</property>
<property name="layer"></property>
<property name="max_size"></property>
<property name="maximize_button">0</property>
<property name="maximum_size"></property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size"></property>
<property name="moveable">1</property>
<property name="name">m_browseButton</property>
<property name="pane_border">1</property>
<property name="pane_position"></property>
<property name="pane_size"></property>
<property name="permission">protected</property>
<property name="pin_button">1</property>
<property name="pos"></property>
<property name="position"></property>
<property name="resize">Resizable</property>
<property name="row"></property>
<property name="show">1</property>
<property name="size"></property>
<property name="style"></property>
<property name="subclass"></property>
<property name="toolbar_pane">0</property>
<property name="tooltip"></property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<event name="OnButtonClick">OnOutputDirectoryBrowseClicked</event>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxEXPAND|wxTOP|wxBOTTOM</property>
<property name="proportion">0</property>
<object class="wxBoxSizer" expanded="1">
<property name="minimum_size"></property>
<property name="name">bSizerOptions</property>
<property name="orient">wxHORIZONTAL</property>
<property name="permission">none</property>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxALL</property>
<property name="proportion">1</property>
<object class="wxRadioBox" expanded="1">
<property name="BottomDockable">1</property>
<property name="LeftDockable">1</property>
<property name="RightDockable">1</property>
<property name="TopDockable">1</property>
<property name="aui_name"></property>
<property name="best_size"></property>
<property name="bg"></property>
<property name="caption"></property>
<property name="caption_visible">1</property>
<property name="center_pane">0</property>
<property name="choices">&quot;Inches&quot; &quot;mm&quot;</property>
<property name="close_button">1</property>
<property name="context_help"></property>
<property name="context_menu">1</property>
<property name="default_pane">0</property>
<property name="dock">Dock</property>
<property name="dock_fixed">0</property>
<property name="docking">Left</property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="floatable">1</property>
<property name="font"></property>
<property name="gripper">0</property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="label">Units:</property>
<property name="layer"></property>
<property name="majorDimension">1</property>
<property name="max_size"></property>
<property name="maximize_button">0</property>
<property name="maximum_size"></property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size"></property>
<property name="moveable">1</property>
<property name="name">m_radioBoxUnits</property>
<property name="pane_border">1</property>
<property name="pane_position"></property>
<property name="pane_size"></property>
<property name="permission">protected</property>
<property name="pin_button">1</property>
<property name="pos"></property>
<property name="position"></property>
<property name="resize">Resizable</property>
<property name="row"></property>
<property name="selection">0</property>
<property name="show">1</property>
<property name="size"></property>
<property name="style">wxRA_SPECIFY_COLS</property>
<property name="subclass"></property>
<property name="toolbar_pane">0</property>
<property name="tooltip"></property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRadioBox"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxALL</property>
<property name="proportion">1</property>
<object class="wxRadioBox" expanded="1">
<property name="BottomDockable">1</property>
<property name="LeftDockable">1</property>
<property name="RightDockable">1</property>
<property name="TopDockable">1</property>
<property name="aui_name"></property>
<property name="best_size"></property>
<property name="bg"></property>
<property name="caption"></property>
<property name="caption_visible">1</property>
<property name="center_pane">0</property>
<property name="choices">&quot;One file per side&quot; &quot;One file for board&quot;</property>
<property name="close_button">1</property>
<property name="context_help"></property>
<property name="context_menu">1</property>
<property name="default_pane">0</property>
<property name="dock">Dock</property>
<property name="dock_fixed">0</property>
<property name="docking">Left</property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="floatable">1</property>
<property name="font"></property>
<property name="gripper">0</property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="label">Files:</property>
<property name="layer"></property>
<property name="majorDimension">1</property>
<property name="max_size"></property>
<property name="maximize_button">0</property>
<property name="maximum_size"></property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size"></property>
<property name="moveable">1</property>
<property name="name">m_radioBoxFilesCount</property>
<property name="pane_border">1</property>
<property name="pane_position"></property>
<property name="pane_size"></property>
<property name="permission">protected</property>
<property name="pin_button">1</property>
<property name="pos"></property>
<property name="position"></property>
<property name="resize">Resizable</property>
<property name="row"></property>
<property name="selection">0</property>
<property name="show">1</property>
<property name="size"></property>
<property name="style">wxRA_SPECIFY_COLS</property>
<property name="subclass"></property>
<property name="toolbar_pane">0</property>
<property name="tooltip">Creates 2 files: one for each board side or&#x0A;Creates only one file containing all footprints to place&#x0A;</property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRadioBox"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxALL</property>
<property name="proportion">0</property>
<object class="wxRadioBox" expanded="1">
<property name="BottomDockable">1</property>
<property name="LeftDockable">1</property>
<property name="RightDockable">1</property>
<property name="TopDockable">1</property>
<property name="aui_name"></property>
<property name="best_size"></property>
<property name="bg"></property>
<property name="caption"></property>
<property name="caption_visible">1</property>
<property name="center_pane">0</property>
<property name="choices">&quot;With INSERT attribute set&quot; &quot;Force INSERT attribute for all SMD footprints&quot;</property>
<property name="close_button">1</property>
<property name="context_help"></property>
<property name="context_menu">1</property>
<property name="default_pane">0</property>
<property name="dock">Dock</property>
<property name="dock_fixed">0</property>
<property name="docking">Left</property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="floatable">1</property>
<property name="font"></property>
<property name="gripper">0</property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="label">Footprints Selection:</property>
<property name="layer"></property>
<property name="majorDimension">1</property>
<property name="max_size"></property>
<property name="maximize_button">0</property>
<property name="maximum_size"></property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size"></property>
<property name="moveable">1</property>
<property name="name">m_radioBoxForceSmd</property>
<property name="pane_border">1</property>
<property name="pane_position"></property>
<property name="pane_size"></property>
<property name="permission">protected</property>
<property name="pin_button">1</property>
<property name="pos"></property>
<property name="position"></property>
<property name="resize">Resizable</property>
<property name="row"></property>
<property name="selection">0</property>
<property name="show">1</property>
<property name="size"></property>
<property name="style">wxRA_SPECIFY_COLS</property>
<property name="subclass"></property>
<property name="toolbar_pane">0</property>
<property name="tooltip">Only footprints with option INSERT are listed in placement file.&#x0A;This option can force this option for all footprints having only SMD pads.&#x0A;Warning: this options will modify the board.</property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRadioBox"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
</object>
</object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxEXPAND</property>
<property name="proportion">1</property>
<object class="wxStaticBoxSizer" expanded="1">
<property name="id">wxID_ANY</property>
<property name="label">Messages:</property>
<property name="minimum_size"></property>
<property name="name">sbSizerMsg</property>
<property name="orient">wxVERTICAL</property>
<property name="permission">none</property>
<event name="OnUpdateUI"></event>
<object class="sizeritem" expanded="0">
<property name="border">5</property>
<property name="flag">wxEXPAND</property>
<property name="proportion">1</property>
<object class="wxTextCtrl" expanded="0">
<property name="BottomDockable">1</property>
<property name="LeftDockable">1</property>
<property name="RightDockable">1</property>
<property name="TopDockable">1</property>
<property name="aui_name"></property>
<property name="best_size"></property>
<property name="bg"></property>
<property name="caption"></property>
<property name="caption_visible">1</property>
<property name="center_pane">0</property>
<property name="close_button">1</property>
<property name="context_help"></property>
<property name="context_menu">1</property>
<property name="default_pane">0</property>
<property name="dock">Dock</property>
<property name="dock_fixed">0</property>
<property name="docking">Left</property>
<property name="enabled">1</property>
<property name="fg"></property>
<property name="floatable">1</property>
<property name="font"></property>
<property name="gripper">0</property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="layer"></property>
<property name="max_size"></property>
<property name="maximize_button">0</property>
<property name="maximum_size"></property>
<property name="maxlength">0</property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size">-1,70</property>
<property name="moveable">1</property>
<property name="name">m_messagesBox</property>
<property name="pane_border">1</property>
<property name="pane_position"></property>
<property name="pane_size"></property>
<property name="permission">protected</property>
<property name="pin_button">1</property>
<property name="pos"></property>
<property name="position"></property>
<property name="resize">Resizable</property>
<property name="row"></property>
<property name="show">1</property>
<property name="size"></property>
<property name="style">wxTE_MULTILINE|wxTE_READONLY</property>
<property name="subclass"></property>
<property name="toolbar_pane">0</property>
<property name="tooltip"></property>
<property name="validator_data_type"></property>
<property name="validator_style">wxFILTER_NONE</property>
<property name="validator_type">wxDefaultValidator</property>
<property name="validator_variable"></property>
<property name="value"></property>
<property name="window_extra_style"></property>
<property name="window_name"></property>
<property name="window_style"></property>
<event name="OnChar"></event>
<event name="OnEnterWindow"></event>
<event name="OnEraseBackground"></event>
<event name="OnKeyDown"></event>
<event name="OnKeyUp"></event>
<event name="OnKillFocus"></event>
<event name="OnLeaveWindow"></event>
<event name="OnLeftDClick"></event>
<event name="OnLeftDown"></event>
<event name="OnLeftUp"></event>
<event name="OnMiddleDClick"></event>
<event name="OnMiddleDown"></event>
<event name="OnMiddleUp"></event>
<event name="OnMotion"></event>
<event name="OnMouseEvents"></event>
<event name="OnMouseWheel"></event>
<event name="OnPaint"></event>
<event name="OnRightDClick"></event>
<event name="OnRightDown"></event>
<event name="OnRightUp"></event>
<event name="OnSetFocus"></event>
<event name="OnSize"></event>
<event name="OnText"></event>
<event name="OnTextEnter"></event>
<event name="OnTextMaxLen"></event>
<event name="OnTextURL"></event>
<event name="OnUpdateUI"></event>
</object>
</object>
</object>
</object>
<object class="sizeritem" expanded="1">
<property name="border">5</property>
<property name="flag">wxEXPAND|wxALIGN_RIGHT|wxTOP|wxBOTTOM|wxRIGHT</property>
<property name="proportion">0</property>
<object class="wxStdDialogButtonSizer" expanded="1">
<property name="Apply">0</property>
<property name="Cancel">1</property>
<property name="ContextHelp">0</property>
<property name="Help">0</property>
<property name="No">0</property>
<property name="OK">1</property>
<property name="Save">0</property>
<property name="Yes">0</property>
<property name="minimum_size"></property>
<property name="name">m_sdbSizerButtons</property>
<property name="permission">protected</property>
<event name="OnApplyButtonClick"></event>
<event name="OnCancelButtonClick">OnCancelButton</event>
<event name="OnContextHelpButtonClick"></event>
<event name="OnHelpButtonClick"></event>
<event name="OnNoButtonClick"></event>
<event name="OnOKButtonClick">OnOKButton</event>
<event name="OnSaveButtonClick"></event>
<event name="OnYesButtonClick"></event>
</object>
</object>
</object>
</object>
</object>
</wxFormBuilder_Project>
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Jun 30 2011)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#ifndef __DIALOG_GEN_MODULE_POSITION_FILE_BASE_H__
#define __DIALOG_GEN_MODULE_POSITION_FILE_BASE_H__
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/textctrl.h>
#include <wx/button.h>
#include <wx/sizer.h>
#include <wx/radiobox.h>
#include <wx/statbox.h>
#include <wx/dialog.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class DIALOG_GEN_MODULE_POSITION_BASE
///////////////////////////////////////////////////////////////////////////////
class DIALOG_GEN_MODULE_POSITION_BASE : public wxDialog
{
private:
protected:
wxBoxSizer* m_MainSizer;
wxStaticText* m_staticTextDir;
wxTextCtrl* m_outputDirectoryName;
wxButton* m_browseButton;
wxRadioBox* m_radioBoxUnits;
wxRadioBox* m_radioBoxFilesCount;
wxRadioBox* m_radioBoxForceSmd;
wxTextCtrl* m_messagesBox;
wxStdDialogButtonSizer* m_sdbSizerButtons;
wxButton* m_sdbSizerButtonsOK;
wxButton* m_sdbSizerButtonsCancel;
// Virtual event handlers, overide them in your derived class
virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
virtual void OnOutputDirectoryBrowseClicked( wxCommandEvent& event ) { event.Skip(); }
virtual void OnCancelButton( wxCommandEvent& event ) { event.Skip(); }
virtual void OnOKButton( wxCommandEvent& event ) { event.Skip(); }
public:
DIALOG_GEN_MODULE_POSITION_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Position Files:"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 501,340 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
~DIALOG_GEN_MODULE_POSITION_BASE();
};
#endif //__DIALOG_GEN_MODULE_POSITION_FILE_BASE_H__
/**
* @file gen_modules_placefile.cpp
*/
/*
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 2012 KiCad Developers, see CHANGELOG.TXT for contributors.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, you may find one here:
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
* or you may search the http://www.gnu.org website for the version 2 license,
* or you may write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
/*
* 1 - create ascii files for automatic placement of smd components
......@@ -22,44 +44,264 @@
#include <class_drawsegment.h>
#include <pcbnew.h>
#include <pcb_plot_params.h>
#include <dialog_gen_module_position_file_base.h>
class LIST_MOD // Can list the elements of useful modules.
class LIST_MOD // An helper class used to build a list of useful footprints.
{
public:
MODULE* m_Module; // Link to the actual footprint
const wxChar* m_Reference; // Its schematic reference
const wxChar* m_Value; // Its schematic value
int m_Layer; // its side (LAYER_N_BACK, or LAYER_N_FRONT)
};
/*
* The dialog to create footprint position files,
* and choose options (one or 2 files, units and force all SMD footprints in list)
*/
class DIALOG_GEN_MODULE_POSITION : public DIALOG_GEN_MODULE_POSITION_BASE
{
private:
PCB_EDIT_FRAME* m_parent;
static int m_unitsOpt;
static int m_fileOpt;
public:
MODULE* m_Module;
const wxChar* m_Reference;
const wxChar* m_Value;
DIALOG_GEN_MODULE_POSITION( PCB_EDIT_FRAME * parent):
DIALOG_GEN_MODULE_POSITION_BASE( parent )
{
m_parent = parent;
}
private:
void OnInitDialog( wxInitDialogEvent& event );
void OnOutputDirectoryBrowseClicked( wxCommandEvent& event );
void OnCancelButton( wxCommandEvent& event )
{
EndModal( wxID_CANCEL );
}
void OnOKButton( wxCommandEvent& event );
bool CreateFiles();
// accessors to options:
wxString GetOutputDirectory()
{
return m_outputDirectoryName->GetValue();
}
bool UnitsMM()
{
return m_radioBoxUnits->GetSelection() == 1;
}
bool OneFileOnly()
{
return m_radioBoxFilesCount->GetSelection() == 1;
}
bool ForceAllSmd()
{
return m_radioBoxForceSmd->GetSelection() == 1;
}
void AddMessage( const wxString & aMessage )
{
m_messagesBox->AppendText( aMessage );
}
};
// Static members to remember choices
int DIALOG_GEN_MODULE_POSITION::m_unitsOpt = 0;
int DIALOG_GEN_MODULE_POSITION::m_fileOpt = 0;
void DIALOG_GEN_MODULE_POSITION::OnInitDialog( wxInitDialogEvent& event )
{
// Output directory
m_outputDirectoryName->SetValue( g_PcbPlotOptions.GetOutputDirectory() );
m_radioBoxUnits->SetSelection( m_unitsOpt );
m_radioBoxFilesCount->SetSelection( m_fileOpt );
m_sdbSizerButtonsOK->SetDefault();
GetSizer()->SetSizeHints(this);
Centre();
}
void DIALOG_GEN_MODULE_POSITION::OnOutputDirectoryBrowseClicked( wxCommandEvent& event )
{
// Build the absolute path of current output plot directory
// to preselect it when opening the dialog.
wxFileName fn( m_outputDirectoryName->GetValue() );
wxString path;
if( fn.IsRelative() )
path = wxGetCwd() + fn.GetPathSeparator() + m_outputDirectoryName->GetValue();
else
path = m_outputDirectoryName->GetValue();
wxDirDialog dirDialog( this, _( "Select Output Directory" ), path );
if( dirDialog.ShowModal() == wxID_CANCEL )
return;
wxFileName dirName = wxFileName::DirName( dirDialog.GetPath() );
wxMessageDialog dialog( this, _( "Use a relative path? "),
_( "Plot Output Directory" ),
wxYES_NO | wxICON_QUESTION | wxYES_DEFAULT );
if( dialog.ShowModal() == wxID_YES )
{
wxString boardFilePath = ( (wxFileName) m_parent->GetScreen()->GetFileName()).GetPath();
if( !dirName.MakeRelativeTo( boardFilePath ) )
wxMessageBox( _( "Cannot make path relative (target volume different from board file volume)!" ),
_( "Plot Output Directory" ), wxOK | wxICON_ERROR );
}
m_outputDirectoryName->SetValue( dirName.GetFullPath() );
}
void DIALOG_GEN_MODULE_POSITION::OnOKButton( wxCommandEvent& event )
{
m_unitsOpt = m_radioBoxUnits->GetSelection();
m_fileOpt = m_radioBoxFilesCount->GetSelection();
// Set output directory and replace backslashes with forward ones
// (Keep unix convention in cfg files)
wxString dirStr;
dirStr = m_outputDirectoryName->GetValue();
dirStr.Replace( wxT( "\\" ), wxT( "/" ) );
g_PcbPlotOptions.SetOutputDirectory( dirStr );
CreateFiles();
}
bool DIALOG_GEN_MODULE_POSITION::CreateFiles()
{
BOARD * brd = m_parent->GetBoard();
PCB_SCREEN * screen = m_parent->GetScreen();
wxFileName fn;
wxString msg;
wxString frontLayerName;
wxString backLayerName;
bool singleFile = OneFileOnly();
int fullcount = 0;
fn = screen->GetFileName();
fn.SetPath( GetOutputDirectory() );
frontLayerName = brd->GetLayerName( LAYER_N_FRONT );
backLayerName = brd->GetLayerName( LAYER_N_BACK );
// Create the the Front or Top side placement file,
// or the single file
int side = 1;
if( singleFile )
{
side = 2;
fn.SetName( fn.GetName() + wxT( "_" ) + wxT("all") );
}
else
fn.SetName( fn.GetName() + wxT( "_" ) + frontLayerName );
fn.SetExt( wxT( "pos") );
int fpcount = m_parent->DoGenFootprintsPositionFile( fn.GetFullPath(), UnitsMM(),
ForceAllSmd(), side );
if( fpcount < 0 )
{
msg.Printf( _( "Unable to create <%s>" ), GetChars( fn.GetFullPath() ) );
AddMessage( msg + wxT("\n") );
wxMessageBox( msg );
return false;
}
if( fpcount == 0)
{
wxMessageBox( _( "No modules for automated placement." ) );
return false;
}
if( singleFile )
msg.Printf( _( "Place file: %s\n" ), GetChars( fn.GetFullPath() ) );
else
msg.Printf( _( "Component side place file: %s\n" ), GetChars( fn.GetFullPath() ) );
#if 1
static const double conv_unit = 0.0001; // units = INCHES
static const char unit_text[] = "## Unit = inches, Angle = deg.\n";
#else
static const double conv_unit = 0.00254; // units = mm
static const char unit_text[] = "## Unit = mm, Angle = deg.\n";
#endif
AddMessage( msg );
msg.Printf( _( "Footprint count %d\n" ), fpcount );
AddMessage( msg );
if( singleFile )
return true;
// Create the Back or Bottom side placement file
fullcount = fpcount;
side = 0;
fn = screen->GetFileName();
fn.SetPath( GetOutputDirectory() );
fn.SetName( fn.GetName() + wxT( "_" ) + backLayerName );
fn.SetExt( wxT( "pos" ) );
fpcount = m_parent->DoGenFootprintsPositionFile( fn.GetFullPath(), UnitsMM(),
ForceAllSmd(), side );
if( fpcount < 0 )
{
msg.Printf( _( "Unable to create <%s>" ), GetChars( fn.GetFullPath() ) );
AddMessage( msg + wxT("\n") );
wxMessageBox( msg );
return false;
}
// Display results
if( !singleFile )
{
msg.Printf( _( "Copper side place file: %s\n" ), GetChars( fn.GetFullPath() ) );
AddMessage( msg );
msg.Printf( _( "Footprint count %d\n" ), fpcount );
AddMessage( msg );
}
if( !singleFile )
{
fullcount += fpcount;
msg.Printf( _( "Full footprint count %d\n" ), fullcount );
AddMessage( msg );
}
return true;
}
// Defined values to write coordinates using inches or mm:
static const double conv_unit_inch = 0.0001; // units = INCHES
static const char unit_text_inch[] = "## Unit = inches, Angle = deg.\n";
static const double conv_unit_mm = 0.00254; // units = mm
static const char unit_text_mm[] = "## Unit = mm, Angle = deg.\n";
static wxPoint File_Place_Offset; // Offset coordinates for generated file.
static void WriteDrawSegmentPcb( DRAWSEGMENT* PtDrawSegment, FILE* rptfile );
static void WriteDrawSegmentPcb( DRAWSEGMENT* PtDrawSegment, FILE* rptfile,
double aConvUnit );
// Sort function use by GenereModulesPosition()
static int ListeModCmp( const void* o1, const void* o2 )
// sort is made by side (layer) top layer first
// then by reference increasing order
static bool sortFPlist( const LIST_MOD& ref, const LIST_MOD& tst )
{
LIST_MOD* ref = (LIST_MOD*) o1;
LIST_MOD* cmp = (LIST_MOD*) o2;
if( ref.m_Layer == tst.m_Layer )
return StrNumCmp( ref.m_Reference, tst.m_Reference, 16 ) < 0;
return StrNumCmp( ref->m_Reference, cmp->m_Reference, 16 );
return ref.m_Layer > tst.m_Layer;
}
#if defined(DEBUG)
/**
* Function HasNonSMDPins
* Helper function HasNonSMDPins
* returns true if the given module has any non smd pins, such as through hole
* and therefore cannot be placed automatically.
*/
......@@ -76,24 +318,24 @@ static bool HasNonSMDPins( MODULE* aModule )
return false;
}
#endif
void PCB_EDIT_FRAME::GenFootprintsPositionFile( wxCommandEvent& event )
{
DIALOG_GEN_MODULE_POSITION dlg( this );
dlg.ShowModal();
}
void PCB_EDIT_FRAME::GenModulesPosition( wxCommandEvent& event )
/*
* Creates a footprint position file
* aSide = 0 -> Back (bottom) side)
* aSide = 1 -> Front (top) side)
* aSide = 2 -> both sides
*/
int PCB_EDIT_FRAME::DoGenFootprintsPositionFile( const wxString& aFullFileName,
bool aUnitsMM,
bool aForceSmdItems, int aSide )
{
bool doBoardBack = false;
MODULE* module;
LIST_MOD* list = NULL;
char line[1024];
wxFileName fnFront;
wxFileName fnBack;
wxString msg;
wxString frontLayerName;
wxString backLayerName;
wxString Title;
FILE* fpFront = 0;
FILE* fpBack = 0;
bool switchedLocale = false;
File_Place_Offset = GetOriginAxisPosition();
......@@ -102,6 +344,14 @@ void PCB_EDIT_FRAME::GenModulesPosition( wxCommandEvent& event )
for( module = GetBoard()->m_Modules; module; module = module->Next() )
{
if( aSide < 2 )
{
if( module->GetLayer() == LAYER_N_BACK && aSide == 1)
continue;
if( module->GetLayer() == LAYER_N_FRONT && aSide == 0)
continue;
}
if( module->m_Attributs & MOD_VIRTUAL )
{
D( printf( "skipping module %s because it's virtual\n",
......@@ -111,142 +361,88 @@ void PCB_EDIT_FRAME::GenModulesPosition( wxCommandEvent& event )
if( ( module->m_Attributs & MOD_CMS ) == 0 )
{
#if 1 && defined(DEBUG) // enable this code to fix a bunch of mis-labeled modules:
if( !HasNonSMDPins( module ) )
{
// all module's pins are SMD, mark the part for pick and place
module->m_Attributs |= MOD_CMS;
}
else
if( aForceSmdItems ) // true to fix a bunch of mis-labeled modules:
{
printf( "skipping %s because its attribute is not CMS and it has non SMD pins\n",
TO_UTF8(module->GetReference()) );
continue;
if( !HasNonSMDPins( module ) )
{
// all module's pins are SMD, mark the part for pick and place
module->m_Attributs |= MOD_CMS;
OnModify();
}
else
{
D(printf( "skipping %s because its attribute is not CMS and it has non SMD pins\n",
TO_UTF8(module->GetReference()) ) );
continue;
}
}
#else
continue;
#endif
}
if( module->GetLayer() == LAYER_N_BACK )
doBoardBack = true;
moduleCount++;
}
if( moduleCount == 0 )
{
DisplayError( this, _( "No modules for automated placement." ) );
return;
}
wxString boardFilePath = ( (wxFileName) GetScreen()->GetFileName()).GetPath();
wxDirDialog dirDialog( this, _( "Select Output Directory" ), boardFilePath );
FILE * file = wxFopen( aFullFileName, wxT( "wt" ) );
if( file == NULL )
return -1;
if( dirDialog.ShowModal() == wxID_CANCEL )
return;
fnFront = GetScreen()->GetFileName();
fnFront.SetPath( dirDialog.GetPath() );
frontLayerName = GetBoard()->GetLayerName( LAYER_N_FRONT );
fnFront.SetName( fnFront.GetName() + wxT( "_" ) + frontLayerName );
fnFront.SetExt( wxT( "pos") );
fpFront = wxFopen( fnFront.GetFullPath(), wxT( "wt" ) );
if( fpFront == 0 )
{
msg = _( "Unable to create " ) + fnFront.GetFullPath();
DisplayError( this, msg );
goto exit;
}
// Select units:
double conv_unit = aUnitsMM ? conv_unit_mm : conv_unit_inch;
const char *unit_text = aUnitsMM ? unit_text_mm : unit_text_inch;
if( doBoardBack )
// Build and sort the list of modules alphabetically
std::vector<LIST_MOD> list;
list.reserve(moduleCount);
for( module = GetBoard()->m_Modules; module; module = module->Next() )
{
fnBack = GetScreen()->GetFileName();
fnBack.SetPath( dirDialog.GetPath() );
backLayerName = GetBoard()->GetLayerName( LAYER_N_BACK );
fnBack.SetName( fnBack.GetName() + wxT( "_" ) + backLayerName );
fnBack.SetExt( wxT( "pos" ) );
fpBack = wxFopen( fnBack.GetFullPath(), wxT( "wt" ) );
if( fpBack == 0 )
if( aSide < 2 )
{
msg = _( "Unable to create " ) + fnBack.GetFullPath();
DisplayError( this, msg );
goto exit;
if( module->GetLayer() == LAYER_N_BACK && aSide == 1)
continue;
if( module->GetLayer() == LAYER_N_FRONT && aSide == 0)
continue;
}
}
// Switch the locale to standard C (needed to print floating point
// numbers like 1.3)
SetLocaleTo_C_standard( );
switchedLocale = true;
// Display results
ClearMsgPanel();
AppendMsgPanel( _( "Component side place file:" ), fnFront.GetFullPath(), BLUE );
if( doBoardBack )
AppendMsgPanel( _( "Copper side place file:" ), fnBack.GetFullPath(), BLUE );
msg.Empty(); msg << moduleCount;
AppendMsgPanel( _( "Module count" ), msg, RED );
// Sort the list of modules alphabetically
list = new LIST_MOD[moduleCount];
module = GetBoard()->m_Modules;
for( int ii = 0; module; module = module->Next() )
{
if( module->m_Attributs & MOD_VIRTUAL )
continue;
if( (module->m_Attributs & MOD_CMS) == 0 )
continue;
list[ii].m_Module = module;
list[ii].m_Reference = module->m_Reference->m_Text;
list[ii].m_Value = module->m_Value->m_Text;
ii++;
LIST_MOD item;
item.m_Module = module;
item.m_Reference = module->m_Reference->m_Text;
item.m_Value = module->m_Value->m_Text;
item.m_Layer = module->GetLayer();
list.push_back( item );
}
qsort( list, moduleCount, sizeof(LIST_MOD), ListeModCmp );
if( moduleCount > 1 )
sort( list.begin(), list.end(), sortFPlist );
wxString frontLayerName = GetBoard()->GetLayerName( LAYER_N_FRONT );
wxString backLayerName = GetBoard()->GetLayerName( LAYER_N_BACK );
// Switch the locale to standard C (needed to print floating point
// numbers like 1.3)
SetLocaleTo_C_standard( );
// Write file header
sprintf( line, "### Module positions - created on %s ###\n", TO_UTF8( DateAndTime() ) );
fputs( line, fpFront );
if( doBoardBack )
fputs( line, fpBack );
fputs( line, file );
Title = wxGetApp().GetAppName() + wxT( " " ) + GetBuildVersion();
wxString Title = wxGetApp().GetAppName() + wxT( " " ) + GetBuildVersion();
sprintf( line, "### Printed by Pcbnew version %s\n", TO_UTF8( Title ) );
fputs( line, fpFront );
if( doBoardBack )
fputs( line, fpBack );
fputs( unit_text, fpFront );
fputs( line, file );
if( doBoardBack )
fputs( line, fpBack );
fputs( unit_text, file );
sprintf( line, "## Side : %s\n", TO_UTF8( frontLayerName ) );
fputs( line, fpFront );
if( doBoardBack )
{
sprintf( line, "## Side : %s\n", TO_UTF8( backLayerName ) );
fputs( line, fpBack );
}
sprintf( line, "## Side : %s\n",
( aSide < 2 ) ? TO_UTF8( frontLayerName ) : "All" );
fputs( line, file );
sprintf( line,
"# Ref Val PosX PosY Rot Side\n" );
fputs( line, fpFront );
if( doBoardBack )
fputs( line, fpBack );
fputs( line, file );
for( int ii = 0; ii < moduleCount; ii++ )
{
......@@ -256,8 +452,7 @@ void PCB_EDIT_FRAME::GenModulesPosition( wxCommandEvent& event )
sprintf( line, "%-8.8s %-16.16s ", TO_UTF8( ref ), TO_UTF8( val ) );
module_pos = list[ii].m_Module->m_Pos;
module_pos.x -= File_Place_Offset.x;
module_pos.y -= File_Place_Offset.y;
module_pos -= File_Place_Offset;
char* text = line + strlen( line );
sprintf( text, " %9.4f %9.4f %8.1f ",
......@@ -273,82 +468,78 @@ void PCB_EDIT_FRAME::GenModulesPosition( wxCommandEvent& event )
{
strcat( line, TO_UTF8( frontLayerName ) );
strcat( line, "\n" );
fputs( line, fpFront );
fputs( line, file );
}
else if( layer == LAYER_N_BACK )
{
strcat( line, TO_UTF8( backLayerName ) );
strcat( line, "\n" );
fputs( line, fpBack );
fputs( line, file );
}
}
// Write EOF
fputs( "## End\n", fpFront );
fputs( "## End\n", file );
if( doBoardBack )
fputs( "## End\n", fpBack );
SetLocaleTo_Default( ); // revert to the current locale
msg = _( "Module position files created:" );
msg.Append( wxT( "\n\n" ) + frontLayerName + wxT( ":\n" ) );
msg.Append( fnFront.GetFullPath() );
fclose( file );
return moduleCount;
}
if( doBoardBack )
{
msg.Append( wxT( "\n\n" ) + backLayerName + wxT( ":\n" ) );
msg.Append( fnBack.GetFullPath() );
}
wxMessageBox( msg, _( "Module Position File" ), wxICON_INFORMATION );
void PCB_EDIT_FRAME::GenFootprintsReport( wxCommandEvent& event )
{
wxFileName fn;
exit: // the only safe way out of here, no returns please.
wxString boardFilePath = ( (wxFileName) GetScreen()->GetFileName()).GetPath();
wxDirDialog dirDialog( this, _( "Select Output Directory" ), boardFilePath );
if( list )
delete[] list;
if( dirDialog.ShowModal() == wxID_CANCEL )
return;
if( switchedLocale )
SetLocaleTo_Default( ); // revert to the current locale
fn = GetScreen()->GetFileName();
fn.SetPath( dirDialog.GetPath() );
fn.SetExt( wxT( "rpt" ) );
if( fpFront )
fclose( fpFront );
bool success = DoGenFootprintsReport( fn.GetFullPath(), false );
if( fpBack )
fclose( fpBack );
}
wxString msg;
if( success )
{
msg.Printf( _( "Module report file created:\n%s" ),
GetChars( fn.GetFullPath() ) );
wxMessageBox( msg, _( "Module Report" ), wxICON_INFORMATION );
}
else
{
msg.Printf( _( "Unable to create <%s>" ), GetChars( fn.GetFullPath() ) );
DisplayError( this, msg );
}
}
/* Print a module report.
*/
void PCB_EDIT_FRAME::GenModuleReport( wxCommandEvent& event )
bool PCB_EDIT_FRAME::DoGenFootprintsReport( const wxString& aFullFilename, bool aUnitsMM )
{
MODULE* Module;
D_PAD* pad;
char line[1024];
wxFileName fn;
wxString fnFront, msg;
FILE* rptfile;
wxPoint module_pos;
File_Place_Offset = wxPoint( 0, 0 );
wxString boardFilePath = ( (wxFileName) GetScreen()->GetFileName()).GetPath();
wxDirDialog dirDialog( this, _( "Select Output Directory" ), boardFilePath );
if( dirDialog.ShowModal() == wxID_CANCEL )
return;
fn = GetScreen()->GetFileName();
fn.SetPath( dirDialog.GetPath() );
fn.SetExt( wxT( "rpt" ) );
rptfile = wxFopen( fn.GetFullPath(), wxT( "wt" ) );
rptfile = wxFopen( aFullFilename, wxT( "wt" ) );
if( rptfile == NULL )
{
msg = _( "Unable to create " ) + fn.GetFullPath();
DisplayError( this, msg );
return;
}
return false;
// Select units:
double conv_unit = aUnitsMM ? conv_unit_mm : conv_unit_inch;
const char *unit_text = aUnitsMM ? unit_text_mm : unit_text_inch;
// Switch the locale to standard C (needed to print floating point
// numbers like 1.3)
......@@ -489,7 +680,7 @@ void PCB_EDIT_FRAME::GenModuleReport( wxCommandEvent& event )
if( ( (DRAWSEGMENT*) PtStruct )->GetLayer() != EDGE_N )
continue;
WriteDrawSegmentPcb( (DRAWSEGMENT*) PtStruct, rptfile );
WriteDrawSegmentPcb( (DRAWSEGMENT*) PtStruct, rptfile, conv_unit );
}
// Generate EOF.
......@@ -497,10 +688,7 @@ void PCB_EDIT_FRAME::GenModuleReport( wxCommandEvent& event )
fclose( rptfile );
SetLocaleTo_Default( ); // revert to the current locale
msg = _( "Module report file created:" );
msg.Append( wxT( "\n" ) + fn.GetFullPath() );
wxMessageBox( msg, _( "Module Report" ), wxICON_INFORMATION );
return true;
}
......@@ -510,19 +698,19 @@ void PCB_EDIT_FRAME::GenModuleReport( wxCommandEvent& event )
* Circle
* Arc
*/
void WriteDrawSegmentPcb( DRAWSEGMENT* PtDrawSegment, FILE* rptfile )
void WriteDrawSegmentPcb( DRAWSEGMENT* PtDrawSegment, FILE* rptfile, double aConvUnit )
{
double ux0, uy0, dx, dy;
double radius, width;
char line[1024];
ux0 = PtDrawSegment->GetStart().x * conv_unit;
uy0 = PtDrawSegment->GetStart().y * conv_unit;
ux0 = PtDrawSegment->GetStart().x * aConvUnit;
uy0 = PtDrawSegment->GetStart().y * aConvUnit;
dx = PtDrawSegment->GetEnd().x * conv_unit;
dy = PtDrawSegment->GetEnd().y * conv_unit;
dx = PtDrawSegment->GetEnd().x * aConvUnit;
dy = PtDrawSegment->GetEnd().y * aConvUnit;
width = PtDrawSegment->GetWidth() * conv_unit;
width = PtDrawSegment->GetWidth() * aConvUnit;
switch( PtDrawSegment->GetShape() )
{
......@@ -550,7 +738,7 @@ void WriteDrawSegmentPcb( DRAWSEGMENT* PtDrawSegment, FILE* rptfile )
fprintf( rptfile, "$ARC \n" );
fprintf( rptfile, "centre %.6lf %.6lf\n", ux0, uy0 );
fprintf( rptfile, "start %.6lf %.6lf\n",
endx * conv_unit, endy * conv_unit );
endx * aConvUnit, endy * aConvUnit );
fprintf( rptfile, "end %.6lf %.6lf\n", dx, dy );
fprintf( rptfile, "width %.6lf\n", width );
fprintf( rptfile, "$EndARC \n" );
......
......@@ -127,18 +127,24 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
/* Fabrication Outputs submenu */
wxMenu* fabricationOutputsMenu = new wxMenu;
AddMenuItem( fabricationOutputsMenu, ID_PCB_GEN_POS_MODULES_FILE,
_( "&Modules Position File" ),
_( "&Modules Position (.pos) File" ),
_( "Generate modules position file for pick and place" ),
KiBitmap( post_compo_xpm ) );
AddMenuItem( fabricationOutputsMenu, ID_PCB_GEN_DRILL_FILE,
_( "&Drill File" ),
_( "&Drill (.drl) File" ),
_( "Generate excellon2 drill file" ),
KiBitmap( post_drill_xpm ) );
// Module Report
AddMenuItem( fabricationOutputsMenu, ID_GEN_EXPORT_FILE_MODULE_REPORT,
_( "&Module (.rpt) Report" ),
_( "Create a report of all modules on the current board" ),
KiBitmap( tools_xpm ) );
// Component File
AddMenuItem( fabricationOutputsMenu, ID_PCB_GEN_CMP_FILE,
_( "&Component File" ),
_( "&Component (.cmp) File" ),
_( "(Re)create components file (*.cmp) for CvPcb" ),
KiBitmap( create_cmp_file_xpm ) );
......@@ -146,7 +152,7 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
AddMenuItem( fabricationOutputsMenu, ID_PCB_GEN_BOM_FILE_FROM_BOARD,
_( "&BOM File" ),
_( "Create a bill of materials from schematic" ),
KiBitmap( tools_xpm ) );
KiBitmap( bom_xpm ) );
// Fabrications Outputs submenu append
AddMenuItem( filesMenu, fabricationOutputsMenu,
......@@ -183,12 +189,6 @@ void PCB_EDIT_FRAME::ReCreateMenuBar()
_( "&GenCAD" ), _( "Export GenCAD format" ),
KiBitmap( export_xpm ) );
// Module Report
AddMenuItem( submenuexport, ID_GEN_EXPORT_FILE_MODULE_REPORT,
_( "&Module Report" ),
_( "Create a report of all modules on the current board" ),
KiBitmap( tools_xpm ) );
// VRML
AddMenuItem( submenuexport, ID_GEN_EXPORT_FILE_VRML,
_( "&VRML" ),
......
......@@ -94,7 +94,7 @@ BEGIN_EVENT_TABLE( PCB_EDIT_FRAME, PCB_BASE_FRAME )
EVT_MENU( ID_GEN_EXPORT_SPECCTRA, PCB_EDIT_FRAME::ExportToSpecctra )
EVT_MENU( ID_GEN_EXPORT_FILE_GENCADFORMAT, PCB_EDIT_FRAME::ExportToGenCAD )
EVT_MENU( ID_GEN_EXPORT_FILE_MODULE_REPORT, PCB_EDIT_FRAME::GenModuleReport )
EVT_MENU( ID_GEN_EXPORT_FILE_MODULE_REPORT, PCB_EDIT_FRAME::GenFootprintsReport )
EVT_MENU( ID_GEN_EXPORT_FILE_VRML, PCB_EDIT_FRAME::OnExportVRML )
EVT_MENU( ID_GEN_IMPORT_SPECCTRA_SESSION,PCB_EDIT_FRAME::ImportSpecctraSession )
......@@ -127,7 +127,7 @@ BEGIN_EVENT_TABLE( PCB_EDIT_FRAME, PCB_BASE_FRAME )
EVT_MENU_RANGE( ID_LANGUAGE_CHOICE, ID_LANGUAGE_CHOICE_END, PCB_EDIT_FRAME::SetLanguage )
// menu Postprocess
EVT_MENU( ID_PCB_GEN_POS_MODULES_FILE, PCB_EDIT_FRAME::GenModulesPosition )
EVT_MENU( ID_PCB_GEN_POS_MODULES_FILE, PCB_EDIT_FRAME::GenFootprintsPositionFile )
EVT_MENU( ID_PCB_GEN_DRILL_FILE, PCB_EDIT_FRAME::InstallDrillFrame )
EVT_MENU( ID_PCB_GEN_CMP_FILE, PCB_EDIT_FRAME::RecreateCmpFileFromBoard )
EVT_MENU( ID_PCB_GEN_BOM_FILE_FROM_BOARD, PCB_EDIT_FRAME::RecreateBOMFileFromBoard )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment