Fixed svg_pcb_print: page orientation for portrait.

This commit is contained in:
Salvador E. Tropea 2022-06-12 16:07:58 -03:00
parent 06bb47ea05
commit a3811537b8
9 changed files with 332 additions and 4 deletions

View File

@ -23,7 +23,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Problems expanding multiple KiCad variables in the same value. - Problems expanding multiple KiCad variables in the same value.
- XML BoM: Fixed problems with fields containing / (#206) - XML BoM: Fixed problems with fields containing / (#206)
- pcb_print: vias processing was disabled. - pcb_print: vias processing was disabled.
- pcb_print: frame orientation in GUI mode. - pcb_print: problems with frame in GUI mode and portrait page orientation.
- svg_pcb_print: page orientation for portrait.
### Changed ### Changed
- KiCad environment variables: more variables detected, native KiCad 6 names, - KiCad environment variables: more variables detected, native KiCad 6 names,

View File

@ -74,7 +74,7 @@ test_docker_local_1:
# Also change the owner of the files to the current user (we run as root like in GitHub) # Also change the owner of the files to the current user (we run as root like in GitHub)
#docker run --rm -it -v $(CWD):$(CWD) --workdir="$(CWD)" setsoft/kicad_auto_test:latest '/bin/bash' #docker run --rm -it -v $(CWD):$(CWD) --workdir="$(CWD)" setsoft/kicad_auto_test:latest '/bin/bash'
docker run --rm -v $(CWD):$(CWD) --workdir="$(CWD)" setsoft/kicad_auto_test:latest \ docker run --rm -v $(CWD):$(CWD) --workdir="$(CWD)" setsoft/kicad_auto_test:latest \
/bin/bash -c "flake8 . --count --statistics ; python3-coverage run -a src/kibot --help-outputs > /dev/null; pytest-3 --log-cli-level debug -k 'test_report_simple_2' --test_dir output ; $(PY_COV) html; chown -R $(USER_ID):$(GROUP_ID) output/ tests/board_samples/ tests/.config/kiplot/plugins/__pycache__/ tests/test_plot/fake_pcbnew/__pycache__/ tests/.config/kibot/plugins/__pycache__/ .coverage htmlcov/" /bin/bash -c "flake8 . --count --statistics ; python3-coverage run -a src/kibot --help-outputs > /dev/null; pytest-3 --log-cli-level debug -k 'test_print_pcb_svg_simple_2' --test_dir output ; $(PY_COV) html; chown -R $(USER_ID):$(GROUP_ID) output/ tests/board_samples/ tests/.config/kiplot/plugins/__pycache__/ tests/test_plot/fake_pcbnew/__pycache__/ tests/.config/kibot/plugins/__pycache__/ .coverage htmlcov/"
#$(PY_COV) report #$(PY_COV) report
#x-www-browser htmlcov/index.html #x-www-browser htmlcov/index.html
rm .coverage rm .coverage

View File

@ -15,6 +15,9 @@ logger = log.get_logger()
def patch_svg_file(file, remove_bkg=False, is_portrait=False): def patch_svg_file(file, remove_bkg=False, is_portrait=False):
""" KiCad always prints in portrait """ """ KiCad always prints in portrait """
if is_portrait and not remove_bkg:
# Nothing to do
return
logger.debug('Patching SVG file `{}`'.format(file)) logger.debug('Patching SVG file `{}`'.format(file))
with open(file, 'rt') as f: with open(file, 'rt') as f:
text = f.read() text = f.read()

View File

@ -8,6 +8,7 @@ from .gs import GS
from .out_any_pcb_print import Any_PCB_PrintOptions, register_deps from .out_any_pcb_print import Any_PCB_PrintOptions, register_deps
from .error import KiPlotConfigurationError from .error import KiPlotConfigurationError
from .kicad.patch_svg import patch_svg_file from .kicad.patch_svg import patch_svg_file
from .kicad.pcb import PCB
from .macros import macros, document, output_class # noqa: F401 from .macros import macros, document, output_class # noqa: F401
from .layer import Layer from .layer import Layer
from . import log from . import log
@ -34,8 +35,9 @@ class SVG_PCB_PrintOptions(Any_PCB_PrintOptions):
# KiCad 6.0.2 bug: https://gitlab.com/kicad/code/kicad/-/issues/11033 # KiCad 6.0.2 bug: https://gitlab.com/kicad/code/kicad/-/issues/11033
o = self._parent o = self._parent
out_files = o.get_targets(o.expand_dirname(os.path.join(GS.out_dir, o.dir))) out_files = o.get_targets(o.expand_dirname(os.path.join(GS.out_dir, o.dir)))
is_portrait = PCB.load(GS.pcb_file).paper_portrait
for file in out_files: for file in out_files:
patch_svg_file(file) patch_svg_file(file, is_portrait=is_portrait)
@output_class @output_class

View File

@ -0,0 +1,207 @@
(kicad_pcb (version 20211014) (generator pcbnew)
(general
(thickness 1.6)
)
(paper "A4" portrait)
(layers
(0 "F.Cu" signal)
(31 "B.Cu" signal)
(32 "B.Adhes" user "B.Adhesive")
(33 "F.Adhes" user "F.Adhesive")
(34 "B.Paste" user)
(35 "F.Paste" user)
(36 "B.SilkS" user "B.Silkscreen")
(37 "F.SilkS" user "F.Silkscreen")
(38 "B.Mask" user)
(39 "F.Mask" user)
(40 "Dwgs.User" user "User.Drawings")
(41 "Cmts.User" user "User.Comments")
(42 "Eco1.User" user "User.Eco1")
(43 "Eco2.User" user "User.Eco2")
(44 "Edge.Cuts" user)
(45 "Margin" user)
(46 "B.CrtYd" user "B.Courtyard")
(47 "F.CrtYd" user "F.Courtyard")
(48 "B.Fab" user)
(49 "F.Fab" user)
)
(setup
(pad_to_mask_clearance 0)
(aux_axis_origin 148.4 80.2)
(pcbplotparams
(layerselection 0x00010fc_ffffffff)
(disableapertmacros false)
(usegerberextensions false)
(usegerberattributes false)
(usegerberadvancedattributes false)
(creategerberjobfile false)
(svguseinch false)
(svgprecision 6)
(excludeedgelayer true)
(plotframeref false)
(viasonmask false)
(mode 1)
(useauxorigin false)
(hpglpennumber 1)
(hpglpenspeed 20)
(hpglpendiameter 15.000000)
(dxfpolygonmode true)
(dxfimperialunits true)
(dxfusepcbnewfont true)
(psnegative false)
(psa4output false)
(plotreference true)
(plotvalue true)
(plotinvisibletext false)
(sketchpadsonfab false)
(subtractmaskfromsilk false)
(outputformat 1)
(mirror false)
(drillshape 1)
(scaleselection 1)
(outputdirectory "")
)
)
(net 0 "")
(net 1 "GND")
(net 2 "Net-(C1-Pad1)")
(net 3 "VCC")
(footprint "Capacitor_SMD:C_0805_2012Metric" (layer "F.Cu")
(tedit 5B36C52B) (tstamp 00000000-0000-0000-0000-00005ebea01d)
(at 146.3 78.6)
(descr "Capacitor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator")
(tags "capacitor")
(path "/00000000-0000-0000-0000-00005ebe91ac")
(attr smd)
(fp_text reference "C1" (at 0 -1.65) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp c974f755-f11c-4e72-9337-9b1b03ad46d6)
)
(fp_text value "1uF" (at 0 1.65) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 2b79ad18-d7d7-43df-ab38-e75b2da12556)
)
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
(effects (font (size 0.5 0.5) (thickness 0.08)))
(tstamp 5db96da7-af8d-43d8-8dc7-a398bfc8659a)
)
(fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer "F.SilkS") (width 0.12) (tstamp 3076b8ca-409a-4abb-8543-19f45b2d32e7))
(fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer "F.SilkS") (width 0.12) (tstamp a32b7c78-669e-4058-9e8f-159773d391d1))
(fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer "F.CrtYd") (width 0.05) (tstamp 5298dbf1-ff20-463f-b22f-955b234f027b))
(fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer "F.CrtYd") (width 0.05) (tstamp 5ee42af7-ef65-46ec-93e1-21c0e6077de0))
(fp_line (start 1.68 0.95) (end -1.68 0.95) (layer "F.CrtYd") (width 0.05) (tstamp 9aaa51e5-eb42-4e37-9164-e5b31a4cd652))
(fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer "F.CrtYd") (width 0.05) (tstamp e610961e-a821-4b86-8c7d-d4cb27796910))
(fp_line (start -1 0.6) (end -1 -0.6) (layer "F.Fab") (width 0.1) (tstamp 1ffd0374-60f5-4975-8863-7ed9f29dac0e))
(fp_line (start 1 -0.6) (end 1 0.6) (layer "F.Fab") (width 0.1) (tstamp 26a053d6-55aa-4839-adb7-568fd5c066bb))
(fp_line (start -1 -0.6) (end 1 -0.6) (layer "F.Fab") (width 0.1) (tstamp 8367eaee-e0ca-41eb-bc30-e532a8b59fdd))
(fp_line (start 1 0.6) (end -1 0.6) (layer "F.Fab") (width 0.1) (tstamp e3a76526-d318-4ed9-8120-844abbdc3456))
(pad "1" smd roundrect locked (at -0.9375 0) (size 0.975 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 2 "Net-(C1-Pad1)") (tstamp 34fb9d00-02b1-48b3-a790-0112e6a08449))
(pad "2" smd roundrect locked (at 0.9375 0) (size 0.975 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 1 "GND") (tstamp 0336c0d4-c4f4-4020-8380-287f839c852a))
(model "${KISYS3DMOD}/Capacitor_SMD.3dshapes/C_0805_2012Metric.step"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(footprint "Resistor_SMD:R_0805_2012Metric" (layer "F.Cu")
(tedit 5B36C52B) (tstamp 00000000-0000-0000-0000-00005ebea02e)
(at 146.3 81.55 180)
(descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator")
(tags "resistor")
(path "/00000000-0000-0000-0000-00005ebe8a2e")
(attr smd)
(fp_text reference "R1" (at 0 -1.65) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 7ef0f81b-f6e6-4f07-b717-38c4b1e50a5e)
)
(fp_text value "100" (at 0 1.65) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 8cd4eec9-ceb5-4b8f-83f2-9a146ee7ddd5)
)
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
(effects (font (size 0.5 0.5) (thickness 0.08)))
(tstamp 93acb41a-3723-4469-9dee-a34acc325774)
)
(fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer "F.SilkS") (width 0.12) (tstamp 39441d2f-6110-4320-92bb-88f09b0de90b))
(fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer "F.SilkS") (width 0.12) (tstamp ae28541a-0239-4867-9639-a73e46808278))
(fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer "F.CrtYd") (width 0.05) (tstamp 752a50bd-195a-4ad5-acdb-d18c11a301e4))
(fp_line (start 1.68 0.95) (end -1.68 0.95) (layer "F.CrtYd") (width 0.05) (tstamp 757c5363-13ba-436b-9db8-e5dc02596d27))
(fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer "F.CrtYd") (width 0.05) (tstamp 91e75b42-fb6a-4a6b-be78-4013b6183b9a))
(fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer "F.CrtYd") (width 0.05) (tstamp c76bc75f-8181-4476-9973-7173e45c68ed))
(fp_line (start -1 -0.6) (end 1 -0.6) (layer "F.Fab") (width 0.1) (tstamp 337d7915-43e4-4835-8aab-ff527c0de866))
(fp_line (start 1 0.6) (end -1 0.6) (layer "F.Fab") (width 0.1) (tstamp 656d7de6-1e65-4eb7-8002-7e680bef80b9))
(fp_line (start 1 -0.6) (end 1 0.6) (layer "F.Fab") (width 0.1) (tstamp ba9a410d-1c13-461f-b6a8-eeb7c4c46e58))
(fp_line (start -1 0.6) (end -1 -0.6) (layer "F.Fab") (width 0.1) (tstamp fe5b7a7b-9594-494a-8fe7-df5ac5e9fd07))
(pad "1" smd roundrect locked (at -0.9375 0 180) (size 0.975 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 3 "VCC") (tstamp ee158b8c-0101-4c4c-b5ce-76e87c497fb9))
(pad "2" smd roundrect locked (at 0.9375 0 180) (size 0.975 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 2 "Net-(C1-Pad1)") (tstamp b67e7460-96bc-4aa0-8593-880eb3320d89))
(model "${KISYS3DMOD}/Resistor_SMD.3dshapes/R_0805_2012Metrico.step"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(footprint "Resistor_SMD:R_0805_2012Metric" (layer "F.Cu")
(tedit 5B36C52B) (tstamp 00000000-0000-0000-0000-00005ebea03f)
(at 150.71 78.6 180)
(descr "Resistor SMD 0805 (2012 Metric), square (rectangular) end terminal, IPC_7351 nominal, (Body size source: https://docs.google.com/spreadsheets/d/1BsfQQcO9C6DZCsRaXUlFlo91Tg2WpOkGARC1WS5S8t0/edit?usp=sharing), generated with kicad-footprint-generator")
(tags "resistor")
(path "/00000000-0000-0000-0000-00005ebe8e9e")
(attr smd)
(fp_text reference "R2" (at 0 -1.65) (layer "F.SilkS")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp 9d088aec-c53e-413e-8715-779a6ee7e407)
)
(fp_text value "200" (at 0 1.65) (layer "F.Fab")
(effects (font (size 1 1) (thickness 0.15)))
(tstamp abf3504c-c638-4bb0-8898-7b38d0241a11)
)
(fp_text user "${REFERENCE}" (at 0 0) (layer "F.Fab")
(effects (font (size 0.5 0.5) (thickness 0.08)))
(tstamp 730e1bed-bd81-4343-85e9-17d6a47cb046)
)
(fp_line (start -0.258578 -0.71) (end 0.258578 -0.71) (layer "F.SilkS") (width 0.12) (tstamp 7613df36-4992-4dd5-b97e-1f17e43e73c6))
(fp_line (start -0.258578 0.71) (end 0.258578 0.71) (layer "F.SilkS") (width 0.12) (tstamp b6f74bca-cdeb-4109-905d-6a81777da69b))
(fp_line (start -1.68 0.95) (end -1.68 -0.95) (layer "F.CrtYd") (width 0.05) (tstamp 0e6314c1-5679-49cb-898a-296f9477855a))
(fp_line (start 1.68 0.95) (end -1.68 0.95) (layer "F.CrtYd") (width 0.05) (tstamp 434bf54a-a88a-45dc-a569-a0a5b81a7096))
(fp_line (start 1.68 -0.95) (end 1.68 0.95) (layer "F.CrtYd") (width 0.05) (tstamp ea59c7f6-51a1-4630-b89e-075386e527c9))
(fp_line (start -1.68 -0.95) (end 1.68 -0.95) (layer "F.CrtYd") (width 0.05) (tstamp ee5f10ba-08e8-4cb5-8185-dae7f54c20a3))
(fp_line (start -1 0.6) (end -1 -0.6) (layer "F.Fab") (width 0.1) (tstamp 5c2f40eb-308c-4cc2-9669-44b6645a7910))
(fp_line (start -1 -0.6) (end 1 -0.6) (layer "F.Fab") (width 0.1) (tstamp 608be37a-af03-4e73-9e8e-c1bb3353eaf4))
(fp_line (start 1 -0.6) (end 1 0.6) (layer "F.Fab") (width 0.1) (tstamp a384a468-0937-4800-9a3b-e63b6186898c))
(fp_line (start 1 0.6) (end -1 0.6) (layer "F.Fab") (width 0.1) (tstamp dc5732f3-4764-4a19-a8e3-24308ca8b363))
(pad "1" smd roundrect locked (at -0.9375 0 180) (size 0.975 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 2 "Net-(C1-Pad1)") (tstamp 55440b89-8f8a-483a-9b2b-9ccc95708f75))
(pad "2" smd roundrect locked (at 0.9375 0 180) (size 0.975 1.4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.25)
(net 1 "GND") (tstamp 3d8a4e48-dfd4-4c64-8dd3-885d6a7ed460))
(model "${KICAD6_3DMODEL_DIR}/Resistor_SMD.3dshapes/R_0805_2012Metric.step"
(offset (xyz 0 0 0))
(scale (xyz 1 1 1))
(rotate (xyz 0 0 0))
)
)
(gr_line (start 153 84) (end 153 76) (layer "Edge.Cuts") (width 0.05) (tstamp 00000000-0000-0000-0000-00005ebea29b))
(gr_line (start 144 76) (end 144 84) (layer "Edge.Cuts") (width 0.05) (tstamp bb3326cd-028c-43fb-af47-5975412a67c7))
(gr_line (start 153 76) (end 144 76) (layer "Edge.Cuts") (width 0.05) (tstamp d534140b-6f16-4b83-8893-ef4b026f6ec9))
(gr_line (start 144 84) (end 153 84) (layer "Edge.Cuts") (width 0.05) (tstamp ea655683-6135-4d3f-a322-1186e1a703b2))
(segment (start 147.2375 78.6) (end 149.7725 78.6) (width 0.25) (layer "F.Cu") (net 1) (tstamp 4ebf58f7-8428-4480-b240-bb7d3c895103))
(segment (start 150.62249 77.57499) (end 151.161973 78.114473) (width 0.25) (layer "F.Cu") (net 2) (tstamp 4ed009e2-b8f5-47d8-ba45-e73cbf2524c2))
(segment (start 145.3625 78.6) (end 145.3625 79.3) (width 0.25) (layer "F.Cu") (net 2) (tstamp 5505e502-12b2-42b0-9e88-71997ebbcbde))
(segment (start 151.161973 78.114473) (end 151.6475 78.6) (width 0.25) (layer "F.Cu") (net 2) (tstamp 5e3899fa-1efc-49c7-bd03-0723e6564f66))
(segment (start 145.3625 78.6) (end 146.38751 77.57499) (width 0.25) (layer "F.Cu") (net 2) (tstamp 88b2a9f5-ec07-44cc-be7d-6243af8d21a7))
(segment (start 145.3625 79.3) (end 145.3625 81.55) (width 0.25) (layer "F.Cu") (net 2) (tstamp a49ce2ce-5d29-415b-a41f-07567cbabb0f))
(segment (start 146.38751 77.57499) (end 150.62249 77.57499) (width 0.25) (layer "F.Cu") (net 2) (tstamp fd90cb38-571b-4f7c-8630-139c123989e3))
)

View File

@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="595.275591pt" height="841.889764pt" viewBox="0 0 595.275591 841.889764" version="1.2">
<g id="surface9914">
<rect x="0" y="0" width="595.275591" height="841.889764" style="fill:rgb(100%,100%,100%);fill-opacity:1;stroke:none;"/>
<path style="fill:none;stroke-width:113;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(76.078431%,76.078431%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 30045.052083 37058.072917 L 30045.052083 18916.927083 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:113;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(76.078431%,76.078431%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 9634.895833 37058.072917 L 30045.052083 37058.072917 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:113;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(76.078431%,76.078431%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 9634.895833 18916.927083 L 9634.895833 37058.072917 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:113;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(76.078431%,76.078431%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 30045.052083 18916.927083 L 9634.895833 18916.927083 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:272;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 25438.020833 23203.125 L 24265.104167 23203.125 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:272;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 25438.020833 26422.916667 L 24265.104167 26422.916667 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 24473.958333 29579.947917 L 23717.96875 28500 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 23178.125 29579.947917 L 23178.125 27313.020833 L 24041.927083 27313.020833 L 24258.072917 27421.09375 L 24365.885417 27528.90625 L 24473.958333 27744.010417 L 24473.958333 28067.96875 L 24365.885417 28284.114583 L 24258.072917 28391.927083 L 24041.927083 28500 L 23178.125 28500 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 25338.020833 27528.90625 L 25446.09375 27421.09375 L 25661.979167 27313.020833 L 26201.041667 27313.020833 L 26416.927083 27421.09375 L 26525 27528.90625 L 26633.072917 27744.010417 L 26633.072917 27959.895833 L 26525 28284.114583 L 25229.947917 29579.947917 L 26633.072917 29579.947917 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 14472.916667 21880.989583 L 14365.104167 21989.0625 L 14040.885417 22096.875 L 13825 22096.875 L 13501.041667 21989.0625 L 13284.895833 21772.916667 L 13177.083333 21557.03125 L 13069.010417 21125 L 13069.010417 20801.041667 L 13177.083333 20369.010417 L 13284.895833 20153.125 L 13501.041667 19936.979167 L 13825 19828.90625 L 14040.885417 19828.90625 L 14365.104167 19936.979167 L 14472.916667 20045.052083 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 16633.072917 22096.875 L 15336.979167 22096.875 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 15984.895833 22096.875 L 15984.895833 19828.90625 L 15769.010417 20153.125 L 15553.125 20369.010417 L 15336.979167 20477.083333 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:272;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 15436.979167 29891.927083 L 14265.104167 29891.927083 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:272;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 15436.979167 33113.020833 L 14265.104167 33113.020833 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 14472.916667 36270.052083 L 13716.927083 35190.104167 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 13177.083333 36270.052083 L 13177.083333 34002.083333 L 14040.885417 34002.083333 L 14257.03125 34109.895833 L 14365.104167 34217.96875 L 14472.916667 34434.114583 L 14472.916667 34758.072917 L 14365.104167 34973.958333 L 14257.03125 35082.03125 L 14040.885417 35190.104167 L 13177.083333 35190.104167 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 16633.072917 36270.052083 L 15336.979167 36270.052083 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 15984.895833 36270.052083 L 15984.895833 34002.083333 L 15769.010417 34326.041667 L 15553.125 34541.927083 L 15336.979167 34650 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:272;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 14265.104167 26422.916667 L 15436.979167 26422.916667 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:272;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 14265.104167 23203.125 L 15436.979167 23203.125 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:567;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 16977.083333 24813.020833 L 22726.041667 24813.020833 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:567;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 12725 26400 L 12725 31502.083333 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:567;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 12725 24813.020833 L 12725 26400 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:567;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 25877.083333 23711.979167 L 26978.125 24813.020833 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:567;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 24653.125 22488.020833 L 25877.083333 23711.979167 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:567;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 15048.958333 22488.020833 L 24653.125 22488.020833 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:567;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 12725 24813.020833 L 15048.958333 22488.020833 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(51.764706%,0%,0%);fill-opacity:1;" d="M 331.785156 395.953125 L 330.976562 395.835938 L 330.179688 395.640625 L 329.414062 395.371094 L 328.679688 395.023438 L 327.988281 394.605469 L 327.328125 394.125 L 326.730469 393.570312 L 326.191406 392.96875 L 325.695312 392.308594 L 325.273438 391.621094 L 324.929688 390.886719 L 324.660156 390.121094 L 324.464844 389.324219 L 324.34375 388.515625 L 324.300781 387.703125 L 324.300781 356.671875 L 324.34375 355.859375 L 324.464844 355.050781 L 324.660156 354.269531 L 324.929688 353.488281 L 325.273438 352.753906 L 325.695312 352.066406 L 326.191406 351.40625 L 326.730469 350.804688 L 327.328125 350.265625 L 327.988281 349.769531 L 328.679688 349.363281 L 329.414062 349.003906 L 330.179688 348.734375 L 330.976562 348.539062 L 331.785156 348.421875 L 332.59375 348.375 L 349.171875 348.375 L 349.996094 348.421875 L 350.789062 348.539062 L 351.585938 348.734375 L 352.351562 349.003906 L 353.085938 349.363281 L 353.789062 349.769531 L 354.433594 350.265625 L 355.035156 350.804688 L 355.589844 351.40625 L 356.070312 352.066406 L 356.488281 352.753906 L 356.835938 353.488281 L 357.105469 354.269531 L 357.316406 355.050781 L 357.433594 355.859375 L 357.464844 356.671875 L 357.464844 387.703125 L 357.433594 388.515625 L 357.316406 389.324219 L 357.105469 390.121094 L 356.835938 390.886719 L 356.488281 391.621094 L 356.070312 392.308594 L 355.589844 392.96875 L 355.035156 393.570312 L 354.433594 394.125 L 353.789062 394.605469 L 353.085938 395.023438 L 352.351562 395.371094 L 351.585938 395.640625 L 350.789062 395.835938 L 349.996094 395.953125 L 349.171875 396 L 332.59375 396 L 331.785156 395.953125 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(51.764706%,0%,0%);fill-opacity:1;" d="M 395.566406 395.953125 L 394.753906 395.835938 L 393.960938 395.640625 L 393.195312 395.371094 L 392.460938 395.023438 L 391.769531 394.605469 L 391.109375 394.125 L 390.511719 393.570312 L 389.96875 392.96875 L 389.476562 392.308594 L 389.054688 391.621094 L 388.710938 390.886719 L 388.441406 390.121094 L 388.246094 389.324219 L 388.125 388.515625 L 388.078125 387.703125 L 388.078125 356.671875 L 388.125 355.859375 L 388.246094 355.050781 L 388.441406 354.269531 L 388.710938 353.488281 L 389.054688 352.753906 L 389.476562 352.066406 L 389.96875 351.40625 L 390.511719 350.804688 L 391.109375 350.265625 L 391.769531 349.769531 L 392.460938 349.363281 L 393.195312 349.003906 L 393.960938 348.734375 L 394.753906 348.539062 L 395.566406 348.421875 L 396.375 348.375 L 412.949219 348.375 L 413.773438 348.421875 L 414.570312 348.539062 L 415.363281 348.734375 L 416.128906 349.003906 L 416.863281 349.363281 L 417.554688 349.769531 L 418.214844 350.265625 L 418.816406 350.804688 L 419.371094 351.40625 L 419.851562 352.066406 L 420.269531 352.753906 L 420.613281 353.488281 L 420.886719 354.269531 L 421.09375 355.050781 L 421.199219 355.859375 L 421.246094 356.671875 L 421.246094 387.703125 L 421.199219 388.515625 L 421.09375 389.324219 L 420.886719 390.121094 L 420.613281 390.886719 L 420.269531 391.621094 L 419.851562 392.308594 L 419.371094 392.96875 L 418.816406 393.570312 L 418.214844 394.125 L 417.554688 394.605469 L 416.863281 395.023438 L 416.128906 395.371094 L 415.363281 395.640625 L 414.570312 395.835938 L 413.773438 395.953125 L 412.949219 396 L 396.375 396 L 395.566406 395.953125 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(51.764706%,0%,0%);fill-opacity:1;" d="M 181.769531 496.304688 L 180.960938 496.183594 L 180.179688 495.988281 L 179.414062 495.71875 L 178.679688 495.375 L 177.976562 494.953125 L 177.328125 494.460938 L 176.714844 493.921875 L 176.175781 493.320312 L 175.695312 492.660156 L 175.273438 491.96875 L 174.929688 491.234375 L 174.644531 490.46875 L 174.449219 489.675781 L 174.328125 488.863281 L 174.300781 488.054688 L 174.300781 457.019531 L 174.328125 456.210938 L 174.449219 455.398438 L 174.644531 454.605469 L 174.929688 453.839844 L 175.273438 453.105469 L 175.695312 452.414062 L 176.175781 451.753906 L 176.714844 451.15625 L 177.328125 450.601562 L 177.976562 450.121094 L 178.679688 449.699219 L 179.414062 449.355469 L 180.179688 449.085938 L 180.960938 448.890625 L 181.769531 448.769531 L 182.578125 448.726562 L 199.171875 448.726562 L 199.980469 448.769531 L 200.789062 448.890625 L 201.570312 449.085938 L 202.335938 449.355469 L 203.070312 449.699219 L 203.773438 450.121094 L 204.421875 450.601562 L 205.035156 451.15625 L 205.574219 451.753906 L 206.054688 452.414062 L 206.476562 453.105469 L 206.820312 453.839844 L 207.105469 454.605469 L 207.300781 455.398438 L 207.421875 456.210938 L 207.464844 457.019531 L 207.464844 488.054688 L 207.421875 488.863281 L 207.300781 489.675781 L 207.105469 490.46875 L 206.820312 491.234375 L 206.476562 491.96875 L 206.054688 492.660156 L 205.574219 493.320312 L 205.035156 493.921875 L 204.421875 494.460938 L 203.773438 494.953125 L 203.070312 495.375 L 202.335938 495.71875 L 201.570312 495.988281 L 200.789062 496.183594 L 199.980469 496.304688 L 199.171875 496.351562 L 182.578125 496.351562 L 181.769531 496.304688 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(51.764706%,0%,0%);fill-opacity:1;" d="M 245.550781 496.304688 L 244.738281 496.183594 L 243.960938 495.988281 L 243.195312 495.71875 L 242.460938 495.375 L 241.753906 494.953125 L 241.109375 494.460938 L 240.496094 493.921875 L 239.953125 493.320312 L 239.476562 492.660156 L 239.054688 491.96875 L 238.710938 491.234375 L 238.425781 490.46875 L 238.230469 489.675781 L 238.109375 488.863281 L 238.066406 488.054688 L 238.066406 457.019531 L 238.109375 456.210938 L 238.230469 455.398438 L 238.425781 454.605469 L 238.710938 453.839844 L 239.054688 453.105469 L 239.476562 452.414062 L 239.953125 451.753906 L 240.496094 451.15625 L 241.109375 450.601562 L 241.753906 450.121094 L 242.460938 449.699219 L 243.195312 449.355469 L 243.960938 449.085938 L 244.738281 448.890625 L 245.550781 448.769531 L 246.359375 448.726562 L 262.949219 448.726562 L 263.761719 448.769531 L 264.570312 448.890625 L 265.351562 449.085938 L 266.113281 449.355469 L 266.851562 449.699219 L 267.554688 450.121094 L 268.199219 450.601562 L 268.816406 451.15625 L 269.355469 451.753906 L 269.835938 452.414062 L 270.253906 453.105469 L 270.601562 453.839844 L 270.886719 454.605469 L 271.078125 455.398438 L 271.199219 456.210938 L 271.246094 457.019531 L 271.246094 488.054688 L 271.199219 488.863281 L 271.078125 489.675781 L 270.886719 490.46875 L 270.601562 491.234375 L 270.253906 491.96875 L 269.835938 492.660156 L 269.355469 493.320312 L 268.816406 493.921875 L 268.199219 494.460938 L 267.554688 494.953125 L 266.851562 495.375 L 266.113281 495.71875 L 265.351562 495.988281 L 264.570312 496.183594 L 263.761719 496.304688 L 262.949219 496.351562 L 246.359375 496.351562 L 245.550781 496.304688 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(51.764706%,0%,0%);fill-opacity:1;" d="M 263.761719 348.421875 L 264.570312 348.539062 L 265.351562 348.734375 L 266.113281 349.003906 L 266.851562 349.363281 L 267.554688 349.769531 L 268.199219 350.265625 L 268.816406 350.804688 L 269.355469 351.40625 L 269.835938 352.066406 L 270.253906 352.753906 L 270.601562 353.488281 L 270.886719 354.269531 L 271.078125 355.050781 L 271.199219 355.859375 L 271.246094 356.671875 L 271.246094 387.703125 L 271.199219 388.515625 L 271.078125 389.324219 L 270.886719 390.121094 L 270.601562 390.886719 L 270.253906 391.621094 L 269.835938 392.308594 L 269.355469 392.96875 L 268.816406 393.570312 L 268.199219 394.125 L 267.554688 394.605469 L 266.851562 395.023438 L 266.113281 395.371094 L 265.351562 395.640625 L 264.570312 395.835938 L 263.761719 395.953125 L 262.949219 396 L 246.359375 396 L 245.550781 395.953125 L 244.738281 395.835938 L 243.960938 395.640625 L 243.195312 395.371094 L 242.460938 395.023438 L 241.753906 394.605469 L 241.109375 394.125 L 240.496094 393.570312 L 239.953125 392.96875 L 239.476562 392.308594 L 239.054688 391.621094 L 238.710938 390.886719 L 238.425781 390.121094 L 238.230469 389.324219 L 238.109375 388.515625 L 238.066406 387.703125 L 238.066406 356.671875 L 238.109375 355.859375 L 238.230469 355.050781 L 238.425781 354.269531 L 238.710938 353.488281 L 239.054688 352.753906 L 239.476562 352.066406 L 239.953125 351.40625 L 240.496094 350.804688 L 241.109375 350.265625 L 241.753906 349.769531 L 242.460938 349.363281 L 243.195312 349.003906 L 243.960938 348.734375 L 244.738281 348.539062 L 245.550781 348.421875 L 246.359375 348.375 L 262.949219 348.375 L 263.761719 348.421875 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(51.764706%,0%,0%);fill-opacity:1;" d="M 199.980469 348.421875 L 200.789062 348.539062 L 201.570312 348.734375 L 202.335938 349.003906 L 203.070312 349.363281 L 203.773438 349.769531 L 204.421875 350.265625 L 205.035156 350.804688 L 205.574219 351.40625 L 206.054688 352.066406 L 206.476562 352.753906 L 206.820312 353.488281 L 207.105469 354.269531 L 207.300781 355.050781 L 207.421875 355.859375 L 207.464844 356.671875 L 207.464844 387.703125 L 207.421875 388.515625 L 207.300781 389.324219 L 207.105469 390.121094 L 206.820312 390.886719 L 206.476562 391.621094 L 206.054688 392.308594 L 205.574219 392.96875 L 205.035156 393.570312 L 204.421875 394.125 L 203.773438 394.605469 L 203.070312 395.023438 L 202.335938 395.371094 L 201.570312 395.640625 L 200.789062 395.835938 L 199.980469 395.953125 L 199.171875 396 L 182.578125 396 L 181.769531 395.953125 L 180.960938 395.835938 L 180.179688 395.640625 L 179.414062 395.371094 L 178.679688 395.023438 L 177.976562 394.605469 L 177.328125 394.125 L 176.714844 393.570312 L 176.175781 392.96875 L 175.695312 392.308594 L 175.273438 391.621094 L 174.929688 390.886719 L 174.644531 390.121094 L 174.449219 389.324219 L 174.328125 388.515625 L 174.300781 387.703125 L 174.300781 356.671875 L 174.328125 355.859375 L 174.449219 355.050781 L 174.644531 354.269531 L 174.929688 353.488281 L 175.273438 352.753906 L 175.695312 352.066406 L 176.175781 351.40625 L 176.714844 350.804688 L 177.328125 350.265625 L 177.976562 349.769531 L 178.679688 349.363281 L 179.414062 349.003906 L 180.179688 348.734375 L 180.960938 348.539062 L 181.769531 348.421875 L 182.578125 348.375 L 199.171875 348.375 L 199.980469 348.421875 "/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -0,0 +1 @@
../5_1_6/bom_portrait-F_Cu+F_SilkS.svg

View File

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="595.275591pt" height="841.889764pt" viewBox="0 0 595.275591 841.889764" version="1.2">
<g id="surface19810">
<rect x="0" y="0" width="595.275591" height="841.889764" style="fill:rgb(100%,100%,100%);fill-opacity:1;stroke:none;"/>
<path style="fill:none;stroke-width:113;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(76.078431%,76.078431%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 30045.052083 37029.947917 L 30045.052083 18888.020833 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:113;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(76.078431%,76.078431%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 9634.895833 18888.020833 L 9634.895833 37029.947917 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:113;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(76.078431%,76.078431%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 30045.052083 18888.020833 L 9634.895833 18888.020833 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:113;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(76.078431%,76.078431%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 9634.895833 37029.947917 L 30045.052083 37029.947917 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:272;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 14265.104167 23173.958333 L 15436.979167 23173.958333 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:272;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 14265.104167 26394.010417 L 15436.979167 26394.010417 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:272;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 15436.979167 33084.114583 L 14265.104167 33084.114583 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:272;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 15436.979167 29864.0625 L 14265.104167 29864.0625 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 14472.916667 36241.927083 L 13716.927083 35161.979167 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 13177.083333 36241.927083 L 13177.083333 33973.958333 L 14040.885417 33973.958333 L 14257.03125 34082.03125 L 14365.104167 34190.104167 L 14472.916667 34405.989583 L 14472.916667 34729.947917 L 14365.104167 34946.09375 L 14257.03125 35053.90625 L 14040.885417 35161.979167 L 13177.083333 35161.979167 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 16633.072917 36241.927083 L 15336.979167 36241.927083 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 15984.895833 36241.927083 L 15984.895833 33973.958333 L 15769.010417 34297.916667 L 15553.125 34514.0625 L 15336.979167 34621.875 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 14472.916667 21852.083333 L 14365.104167 21959.895833 L 14040.885417 22067.96875 L 13825 22067.96875 L 13501.041667 21959.895833 L 13284.895833 21744.010417 L 13177.083333 21528.90625 L 13069.010417 21096.875 L 13069.010417 20772.916667 L 13177.083333 20340.885417 L 13284.895833 20125 L 13501.041667 19909.114583 L 13825 19801.041667 L 14040.885417 19801.041667 L 14365.104167 19909.114583 L 14472.916667 20016.927083 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 16633.072917 22067.96875 L 15336.979167 22067.96875 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 15984.895833 22067.96875 L 15984.895833 19801.041667 L 15769.010417 20125 L 15553.125 20340.885417 L 15336.979167 20448.958333 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:272;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 25438.020833 26394.010417 L 24265.104167 26394.010417 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:272;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 25438.020833 23173.958333 L 24265.104167 23173.958333 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 24473.958333 29552.083333 L 23717.96875 28471.875 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 23178.125 29552.083333 L 23178.125 27284.114583 L 24041.927083 27284.114583 L 24258.072917 27391.927083 L 24365.885417 27500 L 24473.958333 27715.885417 L 24473.958333 28040.104167 L 24365.885417 28255.989583 L 24258.072917 28364.0625 L 24041.927083 28471.875 L 23178.125 28471.875 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:340;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(0%,51.764706%,51.764706%);stroke-opacity:1;stroke-miterlimit:10;" d="M 25338.020833 27500 L 25446.09375 27391.927083 L 25661.979167 27284.114583 L 26201.041667 27284.114583 L 26416.927083 27391.927083 L 26525 27500 L 26633.072917 27715.885417 L 26633.072917 27932.03125 L 26525 28255.989583 L 25229.947917 29552.083333 L 26633.072917 29552.083333 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:567;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 16977.083333 24784.114583 L 22726.041667 24784.114583 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:567;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 24653.125 22459.895833 L 25877.083333 23683.072917 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:567;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 12725 24784.114583 L 12725 26371.875 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:567;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 25877.083333 23683.072917 L 26978.125 24784.114583 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:567;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 12725 24784.114583 L 15048.958333 22459.895833 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:567;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 12725 26371.875 L 12725 31473.958333 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:567;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 15048.958333 22459.895833 L 24653.125 22459.895833 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(51.764706%,0%,0%);fill-opacity:1;" d="M 182.578125 356.25 L 199.171875 356.25 L 199.171875 387.285156 L 182.578125 387.285156 Z M 182.578125 356.25 "/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 12171.875 25819.010417 L 13278.125 25819.010417 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 13278.125 25819.010417 L 13278.125 23750 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 13278.125 23750 L 12171.875 23750 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 12171.875 23750 L 12171.875 25819.010417 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(51.764706%,0%,0%);fill-opacity:1;" d="M 246.359375 356.25 L 262.949219 356.25 L 262.949219 387.285156 L 246.359375 387.285156 Z M 246.359375 356.25 "/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 16423.958333 25819.010417 L 17529.947917 25819.010417 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 17529.947917 25819.010417 L 17529.947917 23750 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 17529.947917 23750 L 16423.958333 23750 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 16423.958333 23750 L 16423.958333 25819.010417 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(51.764706%,0%,0%);fill-opacity:1;" d="M 246.359375 456.585938 L 262.949219 456.585938 L 262.949219 487.636719 L 246.359375 487.636719 Z M 246.359375 456.585938 "/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 17529.947917 30439.0625 L 16423.958333 30439.0625 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 16423.958333 30439.0625 L 16423.958333 32509.114583 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 16423.958333 32509.114583 L 17529.947917 32509.114583 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 17529.947917 32509.114583 L 17529.947917 30439.0625 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(51.764706%,0%,0%);fill-opacity:1;" d="M 182.578125 456.585938 L 199.171875 456.585938 L 199.171875 487.636719 L 182.578125 487.636719 Z M 182.578125 456.585938 "/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 13278.125 30439.0625 L 12171.875 30439.0625 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 12171.875 30439.0625 L 12171.875 32509.114583 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 12171.875 32509.114583 L 13278.125 32509.114583 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 13278.125 32509.114583 L 13278.125 30439.0625 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(51.764706%,0%,0%);fill-opacity:1;" d="M 396.375 356.25 L 412.949219 356.25 L 412.949219 387.285156 L 396.375 387.285156 Z M 396.375 356.25 "/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 27529.947917 23750 L 26425 23750 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 26425 23750 L 26425 25819.010417 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 26425 25819.010417 L 27529.947917 25819.010417 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 27529.947917 25819.010417 L 27529.947917 23750 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(51.764706%,0%,0%);fill-opacity:1;" d="M 332.59375 356.25 L 349.171875 356.25 L 349.171875 387.285156 L 332.59375 387.285156 Z M 332.59375 356.25 "/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 23278.125 23750 L 22172.916667 23750 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 22172.916667 23750 L 22172.916667 25819.010417 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 22172.916667 25819.010417 L 23278.125 25819.010417 " transform="matrix(0.015,0,0,0.015,0,0)"/>
<path style="fill:none;stroke-width:1106;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(51.764706%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 23278.125 25819.010417 L 23278.125 23750 " transform="matrix(0.015,0,0,0.015,0,0)"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -25,7 +25,7 @@ def test_print_pcb_simple(test_dir):
ctx.clean_up() ctx.clean_up()
def test_print_pcb_svg_simple(test_dir): def test_print_pcb_svg_simple_1(test_dir):
prj = 'bom' prj = 'bom'
ctx = context.TestContext(test_dir, prj, 'print_pcb_svg') ctx = context.TestContext(test_dir, prj, 'print_pcb_svg')
ctx.run() ctx.run()
@ -36,6 +36,18 @@ def test_print_pcb_svg_simple(test_dir):
ctx.clean_up() ctx.clean_up()
def test_print_pcb_svg_simple_2(test_dir):
""" Check the portrait version is OK """
prj = 'bom_portrait'
ctx = context.TestContext(test_dir, prj, 'print_pcb_svg')
ctx.run()
# Check all outputs are there
file = prj+'-F_Cu+F_SilkS.svg'
ctx.expect_out_file(file)
ctx.compare_image(file)
ctx.clean_up()
def test_print_pcb_refill_1(test_dir): def test_print_pcb_refill_1(test_dir):
prj = 'zone-refill' prj = 'zone-refill'
ctx = context.TestContext(test_dir, prj, 'print_pcb_zone-refill') ctx = context.TestContext(test_dir, prj, 'print_pcb_zone-refill')