diff --git a/documentation/TODO.txt b/documentation/TODO.txt index 91a0b3c..8d1bb25 100644 --- a/documentation/TODO.txt +++ b/documentation/TODO.txt @@ -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 diff --git a/examples/box.svg b/examples/box.svg index facde5e..06c5289 100644 --- a/examples/box.svg +++ b/examples/box.svg @@ -1,12 +1,11 @@ - + - - - - - - - + + + + + + diff --git a/examples/box2.svg b/examples/box2.svg index 8ca56e4..f72e911 100644 --- a/examples/box2.svg +++ b/examples/box2.svg @@ -1,11 +1,10 @@ - + - - - - - - + + + + + diff --git a/examples/box3.svg b/examples/box3.svg index 6eda3b6..360f6ef 100644 --- a/examples/box3.svg +++ b/examples/box3.svg @@ -1,10 +1,9 @@ - + - - - - - + + + + diff --git a/examples/castle.svg b/examples/castle.svg index 3631026..5e59f32 100644 --- a/examples/castle.svg +++ b/examples/castle.svg @@ -1,12 +1,11 @@ - + - - - - - - - + + + + + + diff --git a/examples/drillbox.svg b/examples/drillbox.svg index 8f0db88..d7ec2d2 100644 --- a/examples/drillbox.svg +++ b/examples/drillbox.svg @@ -1,179 +1,178 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - + + + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - - + + + + - - - - + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - - + + + + - - - - + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - - + + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - - - - + + + + - + diff --git a/examples/flexbox.svg b/examples/flexbox.svg index 63a09f9..875c7aa 100644 --- a/examples/flexbox.svg +++ b/examples/flexbox.svg @@ -1,7 +1,6 @@ - + - - + diff --git a/examples/flexbox2.svg b/examples/flexbox2.svg index c8a4b5f..cd12cf5 100644 --- a/examples/flexbox2.svg +++ b/examples/flexbox2.svg @@ -1,8 +1,7 @@ - + - - - + + diff --git a/examples/flexbox3.svg b/examples/flexbox3.svg index 235d6cf..3642b22 100644 --- a/examples/flexbox3.svg +++ b/examples/flexbox3.svg @@ -1,9 +1,8 @@ - + - - - - + + + diff --git a/examples/folder.svg b/examples/folder.svg index d517439..f9661fe 100644 --- a/examples/folder.svg +++ b/examples/folder.svg @@ -1,7 +1,6 @@ - + - - + diff --git a/examples/generate.sh b/examples/generate.sh new file mode 100755 index 0000000..5ec3dcc --- /dev/null +++ b/examples/generate.sh @@ -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 diff --git a/examples/lamp.svg b/examples/lamp.svg index 3e30a05..e1b6576 100644 --- a/examples/lamp.svg +++ b/examples/lamp.svg @@ -1,15 +1,14 @@ - + - - - - - - - - - - + + + + + + + + + diff --git a/examples/magazinefile.svg b/examples/magazinefile.svg index a20e625..58af82a 100644 --- a/examples/magazinefile.svg +++ b/examples/magazinefile.svg @@ -1,10 +1,9 @@ - + - - - - - + + + + diff --git a/examples/printer.svg b/examples/printer.svg deleted file mode 100644 index 47cd45a..0000000 --- a/examples/printer.svg +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/silverwarebox.svg b/examples/silverwarebox.svg index 6d0ed3c..0aab6f0 100644 --- a/examples/silverwarebox.svg +++ b/examples/silverwarebox.svg @@ -1,11 +1,10 @@ - + - - - - - - + + + + + diff --git a/examples/trayinsert.svg b/examples/trayinsert.svg index 84e1759..bfc474e 100644 --- a/examples/trayinsert.svg +++ b/examples/trayinsert.svg @@ -1,10 +1,9 @@ - + - - - - - + + + + diff --git a/examples/traylayout.svg b/examples/traylayout.svg new file mode 100644 index 0000000..c3c5d01 --- /dev/null +++ b/examples/traylayout.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/examples/traylayout.txt b/examples/traylayout.txt new file mode 100644 index 0000000..bd05b85 --- /dev/null +++ b/examples/traylayout.txt @@ -0,0 +1,13 @@ + ,> 40.0mm + | ,> 50.0mm + | | ,> 50.0mm + | | | ,> 40.0mm ++-+-+-+-+ +| | | 60.0mm ++-+-+-+-+ +| | | | 50.0mm ++ +-+-+ + +| | | | 50.0mm ++-+-+-+-+ +| | | 40.0mm ++ + + + + diff --git a/examples/typetray.svg b/examples/typetray.svg index 5311495..2afe458 100644 --- a/examples/typetray.svg +++ b/examples/typetray.svg @@ -1,16 +1,14 @@ - + - - - - - - - - - - - + + + + + + + + +