Add script for geenrating examples

Regenerate examples with current code
This commit is contained in:
Florian Festi 2016-03-28 12:18:08 +02:00
parent 34e06cace5
commit 31a6af5116
19 changed files with 220 additions and 230 deletions

View File

@ -5,4 +5,3 @@
* Make settings nicer
* Offer a collection of different settings
* Make bolts configurable (e.g. box2.py)
* Script for generating examples/*.svg

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 24 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 174 KiB

After

Width:  |  Height:  |  Size: 127 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 115 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 29 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 50 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 50 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 9.5 KiB

21
examples/generate.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/bash
BOXES=../scripts/boxes
$BOXES box --x=50 --y=50 --h=70 --output=box.svg
$BOXES box2 --x=50 --y=50 --h=70 --output=box2.svg
$BOXES box3 --x=50 --y=50 --h=70 --output=box3.svg
$BOXES castle --output=castle.svg
$BOXES drillbox --output=drillbox.svg
$BOXES flexbox --x=70 --y=100 --h=50 --radius=20 --output=flexbox.svg
$BOXES flexbox2 --x=70 --y=100 --h=50 --radius=20 --output=flexbox2.svg
$BOXES flexbox3 --x=70 --y=100 --z=50 --h=8 --radius=30 --output=flexbox3.svg
$BOXES folder --x=165 --y=240 --h=20 --r=10 --output=folder.svg
$BOXES lamp --output=lamp.svg
$BOXES magazinefile --output=magazinefile.svg
#$BOXES printer --output=printer.svg
$BOXES silverwarebox --output=silverwarebox.svg
#$BOXES traylayout --x=4 --y=4 --output=traylayout.txt
$BOXES traylayout --input=traylayout.txt --h=50 --hi=40 --output=traylayout.svg
$BOXES trayinsert --sx=70:100:70 --sy=100*3 --h=50 --output=trayinsert.svg
$BOXES typetray --sx=70:100:70 --sy=100*3 --h=60 --hi=50 --output=typetray.svg

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 477 KiB

After

Width:  |  Height:  |  Size: 345 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 31 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 193 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 134 KiB

View File

@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="312mm" height="428mm" viewBox="0 0 312 428" version="1.1">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="324mm" height="224mm" viewBox="0 0 324 224" version="1.1">
<g id="surface1">
<path style="fill:none;stroke-width:0.2;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 2.199219 2.199219 L 2.199219 2.199219 M 2.199219 2.199219 L 74.199219 2.199219 C 74.253906 2.199219 74.300781 2.242188 74.300781 2.300781 M 74.300781 2.300781 L 74.300781 42.300781 C 74.300781 42.246094 74.257812 42.199219 74.199219 42.199219 M 74.199219 42.199219 L 78.199219 42.199219 C 78.144531 42.199219 78.097656 42.242188 78.097656 42.300781 M 78.097656 42.300781 L 78.097656 2.300781 C 78.097656 2.246094 78.140625 2.199219 78.199219 2.199219 M 78.199219 2.199219 L 150.199219 2.199219 C 150.253906 2.199219 150.300781 2.242188 150.300781 2.300781 M 150.300781 2.300781 L 150.300781 42.300781 C 150.300781 42.246094 150.257812 42.199219 150.199219 42.199219 M 150.199219 42.199219 L 154.199219 42.199219 C 154.144531 42.199219 154.097656 42.242188 154.097656 42.300781 M 154.097656 42.300781 L 154.097656 2.300781 C 154.097656 2.246094 154.140625 2.199219 154.199219 2.199219 M 154.199219 2.199219 L 226.199219 2.199219 C 226.253906 2.199219 226.300781 2.242188 226.300781 2.300781 M 226.300781 2.300781 L 226.300781 42.300781 C 226.300781 42.246094 226.257812 42.199219 226.199219 42.199219 M 226.199219 42.199219 L 230.199219 42.199219 C 230.144531 42.199219 230.097656 42.242188 230.097656 42.300781 M 230.097656 42.300781 L 230.097656 2.300781 C 230.097656 2.246094 230.140625 2.199219 230.199219 2.199219 M 230.199219 2.199219 L 302.199219 2.199219 M 302.199219 2.199219 C 302.253906 2.199219 302.300781 2.242188 302.300781 2.300781 M 302.300781 2.300781 L 302.300781 2.300781 M 302.300781 2.300781 L 302.300781 82.300781 M 302.300781 82.300781 C 302.300781 82.355469 302.257812 82.402344 302.199219 82.402344 M 302.199219 82.402344 L 302.199219 82.402344 M 302.199219 82.402344 L 2.199219 82.402344 M 2.199219 82.402344 C 2.144531 82.402344 2.097656 82.359375 2.097656 82.300781 M 2.097656 82.300781 L 2.097656 82.300781 M 2.097656 82.300781 L 2.097656 2.300781 M 2.097656 2.300781 C 2.097656 2.246094 2.140625 2.199219 2.199219 2.199219 " transform="matrix(1,0,0,-1,4,424)"/>
<path style="fill:none;stroke-width:0.2;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 2.199219 2.201563 L 2.199219 2.201563 M 2.199219 2.201563 L 74.199219 2.201563 C 74.253906 2.201563 74.300781 2.244531 74.300781 2.303125 M 74.300781 2.303125 L 74.300781 42.303125 C 74.300781 42.248438 74.257812 42.201563 74.199219 42.201563 M 74.199219 42.201563 L 78.199219 42.201563 C 78.144531 42.201563 78.097656 42.244531 78.097656 42.303125 M 78.097656 42.303125 L 78.097656 2.303125 C 78.097656 2.248438 78.140625 2.201563 78.199219 2.201563 M 78.199219 2.201563 L 150.199219 2.201563 C 150.253906 2.201563 150.300781 2.244531 150.300781 2.303125 M 150.300781 2.303125 L 150.300781 42.303125 C 150.300781 42.248438 150.257812 42.201563 150.199219 42.201563 M 150.199219 42.201563 L 154.199219 42.201563 C 154.144531 42.201563 154.097656 42.244531 154.097656 42.303125 M 154.097656 42.303125 L 154.097656 2.303125 C 154.097656 2.248438 154.140625 2.201563 154.199219 2.201563 M 154.199219 2.201563 L 226.199219 2.201563 C 226.253906 2.201563 226.300781 2.244531 226.300781 2.303125 M 226.300781 2.303125 L 226.300781 42.303125 C 226.300781 42.248438 226.257812 42.201563 226.199219 42.201563 M 226.199219 42.201563 L 230.199219 42.201563 C 230.144531 42.201563 230.097656 42.244531 230.097656 42.303125 M 230.097656 42.303125 L 230.097656 2.303125 C 230.097656 2.248438 230.140625 2.201563 230.199219 2.201563 M 230.199219 2.201563 L 302.199219 2.201563 M 302.199219 2.201563 C 302.253906 2.201563 302.300781 2.244531 302.300781 2.303125 M 302.300781 2.303125 L 302.300781 2.303125 M 302.300781 2.303125 L 302.300781 82.303125 M 302.300781 82.303125 C 302.300781 82.357813 302.257812 82.404688 302.199219 82.404688 M 302.199219 82.404688 L 302.199219 82.404688 M 302.199219 82.404688 L 2.199219 82.404688 M 2.199219 82.404688 C 2.144531 82.404688 2.097656 82.361719 2.097656 82.303125 M 2.097656 82.303125 L 2.097656 82.303125 M 2.097656 82.303125 L 2.097656 2.303125 M 2.097656 2.303125 C 2.097656 2.248438 2.140625 2.201563 2.199219 2.201563 " transform="matrix(1,0,0,-1,4,339.6)"/>
<path style="fill:none;stroke-width:0.2;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 2.199219 2.2 L 2.199219 2.2 M 2.199219 2.2 L 262.199219 2.2 M 262.199219 2.2 C 262.253906 2.2 262.300781 2.242969 262.300781 2.301563 M 262.300781 2.301563 L 262.300781 2.301563 M 262.300781 2.301563 L 262.300781 82.301563 M 262.300781 82.301563 C 262.300781 82.35625 262.257812 82.403125 262.199219 82.403125 M 262.199219 82.403125 L 262.199219 82.403125 M 262.199219 82.403125 L 178.199219 82.403125 C 178.144531 82.403125 178.097656 82.360156 178.097656 82.301563 M 178.097656 82.301563 L 178.097656 42.301563 C 178.097656 42.35625 178.140625 42.403125 178.199219 42.403125 M 178.199219 42.403125 L 174.199219 42.403125 C 174.253906 42.403125 174.300781 42.360156 174.300781 42.301563 M 174.300781 42.301563 L 174.300781 82.301563 C 174.300781 82.35625 174.257812 82.403125 174.199219 82.403125 M 174.199219 82.403125 L 90.199219 82.403125 C 90.144531 82.403125 90.097656 82.360156 90.097656 82.301563 M 90.097656 82.301563 L 90.097656 42.301563 C 90.097656 42.35625 90.140625 42.403125 90.199219 42.403125 M 90.199219 42.403125 L 86.199219 42.403125 C 86.253906 42.403125 86.300781 42.360156 86.300781 42.301563 M 86.300781 42.301563 L 86.300781 82.301563 C 86.300781 82.35625 86.257812 82.403125 86.199219 82.403125 M 86.199219 82.403125 L 2.199219 82.403125 M 2.199219 82.403125 C 2.144531 82.403125 2.097656 82.360156 2.097656 82.301563 M 2.097656 82.301563 L 2.097656 82.301563 M 2.097656 82.301563 L 2.097656 2.301563 M 2.097656 2.301563 C 2.097656 2.246875 2.140625 2.2 2.199219 2.2 " transform="matrix(1,0,0,-1,4,255.2)"/>
<path style="fill:none;stroke-width:0.2;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 2.199219 2.198438 L 2.199219 2.198438 M 2.199219 2.198438 L 262.199219 2.198438 M 262.199219 2.198438 C 262.253906 2.198438 262.300781 2.241406 262.300781 2.3 M 262.300781 2.3 L 262.300781 2.3 M 262.300781 2.3 L 262.300781 82.3 M 262.300781 82.3 C 262.300781 82.354688 262.257812 82.401563 262.199219 82.401563 M 262.199219 82.401563 L 262.199219 82.401563 M 262.199219 82.401563 L 178.199219 82.401563 C 178.144531 82.401563 178.097656 82.358594 178.097656 82.3 M 178.097656 82.3 L 178.097656 42.3 C 178.097656 42.354688 178.140625 42.401563 178.199219 42.401563 M 178.199219 42.401563 L 174.199219 42.401563 C 174.253906 42.401563 174.300781 42.358594 174.300781 42.3 M 174.300781 42.3 L 174.300781 82.3 C 174.300781 82.354688 174.257812 82.401563 174.199219 82.401563 M 174.199219 82.401563 L 90.199219 82.401563 C 90.144531 82.401563 90.097656 82.358594 90.097656 82.3 M 90.097656 82.3 L 90.097656 42.3 C 90.097656 42.354688 90.140625 42.401563 90.199219 42.401563 M 90.199219 42.401563 L 86.199219 42.401563 C 86.253906 42.401563 86.300781 42.358594 86.300781 42.3 M 86.300781 42.3 L 86.300781 82.3 C 86.300781 82.354688 86.257812 82.401563 86.199219 82.401563 M 86.199219 82.401563 L 2.199219 82.401563 M 2.199219 82.401563 C 2.144531 82.401563 2.097656 82.358594 2.097656 82.3 M 2.097656 82.3 L 2.097656 82.3 M 2.097656 82.3 L 2.097656 2.3 M 2.097656 2.3 C 2.097656 2.245313 2.140625 2.198438 2.199219 2.198438 " transform="matrix(1,0,0,-1,4,170.8)"/>
<path style="fill:none;stroke-width:0.2;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 2.199219 2.200781 L 2.199219 2.200781 M 2.199219 2.200781 L 262.199219 2.200781 M 262.199219 2.200781 C 262.253906 2.200781 262.300781 2.24375 262.300781 2.302344 M 262.300781 2.302344 L 262.300781 2.302344 M 262.300781 2.302344 L 262.300781 82.302344 M 262.300781 82.302344 C 262.300781 82.357031 262.257812 82.403906 262.199219 82.403906 M 262.199219 82.403906 L 262.199219 82.403906 M 262.199219 82.403906 L 178.199219 82.403906 C 178.144531 82.403906 178.097656 82.360938 178.097656 82.302344 M 178.097656 82.302344 L 178.097656 42.302344 C 178.097656 42.357031 178.140625 42.403906 178.199219 42.403906 M 178.199219 42.403906 L 174.199219 42.403906 C 174.253906 42.403906 174.300781 42.360938 174.300781 42.302344 M 174.300781 42.302344 L 174.300781 82.302344 C 174.300781 82.357031 174.257812 82.403906 174.199219 82.403906 M 174.199219 82.403906 L 90.199219 82.403906 C 90.144531 82.403906 90.097656 82.360938 90.097656 82.302344 M 90.097656 82.302344 L 90.097656 42.302344 C 90.097656 42.357031 90.140625 42.403906 90.199219 42.403906 M 90.199219 42.403906 L 86.199219 42.403906 C 86.253906 42.403906 86.300781 42.360938 86.300781 42.302344 M 86.300781 42.302344 L 86.300781 82.302344 C 86.300781 82.357031 86.257812 82.403906 86.199219 82.403906 M 86.199219 82.403906 L 2.199219 82.403906 M 2.199219 82.403906 C 2.144531 82.403906 2.097656 82.360938 2.097656 82.302344 M 2.097656 82.302344 L 2.097656 82.302344 M 2.097656 82.302344 L 2.097656 2.302344 M 2.097656 2.302344 C 2.097656 2.247656 2.140625 2.200781 2.199219 2.200781 " transform="matrix(1,0,0,-1,4,86.4)"/>
<path style="fill:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 2.101562 2.101562 L 2.101562 2.101562 M 2.101562 2.101562 L 102.101562 2.101562 C 102.128906 2.101562 102.152344 2.125 102.152344 2.152344 M 102.152344 2.152344 L 102.152344 27.152344 C 102.152344 27.125 102.128906 27.101562 102.101562 27.101562 M 102.101562 27.101562 L 106.101562 27.101562 C 106.074219 27.101562 106.050781 27.125 106.050781 27.152344 M 106.050781 27.152344 L 106.050781 2.152344 C 106.050781 2.125 106.074219 2.101562 106.101562 2.101562 M 106.101562 2.101562 L 206.101562 2.101562 C 206.128906 2.101562 206.152344 2.125 206.152344 2.152344 M 206.152344 2.152344 L 206.152344 27.152344 C 206.152344 27.125 206.128906 27.101562 206.101562 27.101562 M 206.101562 27.101562 L 210.101562 27.101562 C 210.074219 27.101562 210.050781 27.125 210.050781 27.152344 M 210.050781 27.152344 L 210.050781 2.152344 C 210.050781 2.125 210.074219 2.101562 210.101562 2.101562 M 210.101562 2.101562 L 310.101562 2.101562 M 310.101562 2.101562 C 310.128906 2.101562 310.152344 2.125 310.152344 2.152344 M 310.152344 2.152344 L 310.152344 2.152344 M 310.152344 2.152344 L 310.152344 52.152344 M 310.152344 52.152344 C 310.152344 52.179688 310.128906 52.203125 310.101562 52.203125 M 310.101562 52.203125 L 310.101562 52.203125 M 310.101562 52.203125 L 2.101562 52.203125 M 2.101562 52.203125 C 2.074219 52.203125 2.050781 52.179688 2.050781 52.152344 M 2.050781 52.152344 L 2.050781 52.152344 M 2.050781 52.152344 L 2.050781 2.152344 M 2.050781 2.152344 C 2.050781 2.125 2.074219 2.101562 2.101562 2.101562 " transform="matrix(1,0,0,-1,4,220)"/>
<path style="fill:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 2.101562 2.100781 L 2.101562 2.100781 M 2.101562 2.100781 L 102.101562 2.100781 C 102.128906 2.100781 102.152344 2.124219 102.152344 2.151563 M 102.152344 2.151563 L 102.152344 27.151563 C 102.152344 27.124219 102.128906 27.100781 102.101562 27.100781 M 102.101562 27.100781 L 106.101562 27.100781 C 106.074219 27.100781 106.050781 27.124219 106.050781 27.151563 M 106.050781 27.151563 L 106.050781 2.151563 C 106.050781 2.124219 106.074219 2.100781 106.101562 2.100781 M 106.101562 2.100781 L 206.101562 2.100781 C 206.128906 2.100781 206.152344 2.124219 206.152344 2.151563 M 206.152344 2.151563 L 206.152344 27.151563 C 206.152344 27.124219 206.128906 27.100781 206.101562 27.100781 M 206.101562 27.100781 L 210.101562 27.100781 C 210.074219 27.100781 210.050781 27.124219 210.050781 27.151563 M 210.050781 27.151563 L 210.050781 2.151563 C 210.050781 2.124219 210.074219 2.100781 210.101562 2.100781 M 210.101562 2.100781 L 310.101562 2.100781 M 310.101562 2.100781 C 310.128906 2.100781 310.152344 2.124219 310.152344 2.151563 M 310.152344 2.151563 L 310.152344 2.151563 M 310.152344 2.151563 L 310.152344 52.151563 M 310.152344 52.151563 C 310.152344 52.178906 310.128906 52.202344 310.101562 52.202344 M 310.101562 52.202344 L 310.101562 52.202344 M 310.101562 52.202344 L 2.101562 52.202344 M 2.101562 52.202344 C 2.074219 52.202344 2.050781 52.178906 2.050781 52.151563 M 2.050781 52.151563 L 2.050781 52.151563 M 2.050781 52.151563 L 2.050781 2.151563 M 2.050781 2.151563 C 2.050781 2.124219 2.074219 2.100781 2.101562 2.100781 " transform="matrix(1,0,0,-1,4,165.8)"/>
<path style="fill:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 2.101562 2.1 L 2.101562 2.1 M 2.101562 2.1 L 250.101562 2.1 M 250.101562 2.1 C 250.128906 2.1 250.152344 2.123438 250.152344 2.150781 M 250.152344 2.150781 L 250.152344 2.150781 M 250.152344 2.150781 L 250.152344 52.150781 M 250.152344 52.150781 C 250.152344 52.178125 250.128906 52.201563 250.101562 52.201563 M 250.101562 52.201563 L 250.101562 52.201563 M 250.101562 52.201563 L 180.101562 52.201563 C 180.074219 52.201563 180.050781 52.178125 180.050781 52.150781 M 180.050781 52.150781 L 180.050781 27.150781 C 180.050781 27.178125 180.074219 27.201563 180.101562 27.201563 M 180.101562 27.201563 L 176.101562 27.201563 C 176.128906 27.201563 176.152344 27.178125 176.152344 27.150781 M 176.152344 27.150781 L 176.152344 52.150781 C 176.152344 52.178125 176.128906 52.201563 176.101562 52.201563 M 176.101562 52.201563 L 76.101562 52.201563 C 76.074219 52.201563 76.050781 52.178125 76.050781 52.150781 M 76.050781 52.150781 L 76.050781 27.150781 C 76.050781 27.178125 76.074219 27.201563 76.101562 27.201563 M 76.101562 27.201563 L 72.101562 27.201563 C 72.128906 27.201563 72.152344 27.178125 72.152344 27.150781 M 72.152344 27.150781 L 72.152344 52.150781 C 72.152344 52.178125 72.128906 52.201563 72.101562 52.201563 M 72.101562 52.201563 L 2.101562 52.201563 M 2.101562 52.201563 C 2.074219 52.201563 2.050781 52.178125 2.050781 52.150781 M 2.050781 52.150781 L 2.050781 52.150781 M 2.050781 52.150781 L 2.050781 2.150781 M 2.050781 2.150781 C 2.050781 2.123438 2.074219 2.1 2.101562 2.1 " transform="matrix(1,0,0,-1,4,111.6)"/>
<path style="fill:none;stroke-width:0.1;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 2.101562 2.099219 L 2.101562 2.099219 M 2.101562 2.099219 L 250.101562 2.099219 M 250.101562 2.099219 C 250.128906 2.099219 250.152344 2.122656 250.152344 2.15 M 250.152344 2.15 L 250.152344 2.15 M 250.152344 2.15 L 250.152344 52.15 M 250.152344 52.15 C 250.152344 52.177344 250.128906 52.200781 250.101562 52.200781 M 250.101562 52.200781 L 250.101562 52.200781 M 250.101562 52.200781 L 180.101562 52.200781 C 180.074219 52.200781 180.050781 52.177344 180.050781 52.15 M 180.050781 52.15 L 180.050781 27.15 C 180.050781 27.177344 180.074219 27.200781 180.101562 27.200781 M 180.101562 27.200781 L 176.101562 27.200781 C 176.128906 27.200781 176.152344 27.177344 176.152344 27.15 M 176.152344 27.15 L 176.152344 52.15 C 176.152344 52.177344 176.128906 52.200781 176.101562 52.200781 M 176.101562 52.200781 L 76.101562 52.200781 C 76.074219 52.200781 76.050781 52.177344 76.050781 52.15 M 76.050781 52.15 L 76.050781 27.15 C 76.050781 27.177344 76.074219 27.200781 76.101562 27.200781 M 76.101562 27.200781 L 72.101562 27.200781 C 72.128906 27.200781 72.152344 27.177344 72.152344 27.15 M 72.152344 27.15 L 72.152344 52.15 C 72.152344 52.177344 72.128906 52.200781 72.101562 52.200781 M 72.101562 52.200781 L 2.101562 52.200781 M 2.101562 52.200781 C 2.074219 52.200781 2.050781 52.177344 2.050781 52.15 M 2.050781 52.15 L 2.050781 52.15 M 2.050781 52.15 L 2.050781 2.15 M 2.050781 2.15 C 2.050781 2.122656 2.074219 2.099219 2.101562 2.099219 " transform="matrix(1,0,0,-1,4,57.4)"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 6.8 KiB

16
examples/traylayout.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 127 KiB

13
examples/traylayout.txt Normal file
View File

@ -0,0 +1,13 @@
,> 40.0mm
| ,> 50.0mm
| | ,> 50.0mm
| | | ,> 40.0mm
+-+-+-+-+
| | | 60.0mm
+-+-+-+-+
| | | | 50.0mm
+ +-+-+ +
| | | | 50.0mm
+-+-+-+-+
| | | 40.0mm
+ + + + +

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 82 KiB