Florian Festi
0d07f48b7f
Remove .open() call from the .render() method
...
Having this call there was necessary in the past as the open() method would
need the canvas size as a parameter. This is now determined automatically
after rendering.
Still calling open() is deprecated but won't result in an error.
2019-02-08 17:43:15 +01:00
Florian Festi
861c8451e2
Remove call to .close() from .render() method
...
There is really no need for all the generator to care
Still calling it is deprecated but won't result in an error
2019-02-08 17:32:04 +01:00
Florian Festi
7bbf82c958
UBox: Fix size of lid
2017-04-11 20:55:21 +02:00
Florian Festi
5b9c8e4d71
Remove main function from generators
...
Generators are no longer executable on their own. Use scripts/boxes
instead.
2017-04-05 04:33:42 +02:00
Florian Festi
5e33d057fc
UBox: Limit radius to possible values and merge flex if radii touch
2017-03-04 15:29:28 +01:00
Florian Festi
d3c76f2b9e
Put box generator into groups and adjust the menu web page accordingly
2017-02-13 17:31:58 +01:00
Florian Festi
c820c1b77d
Move lid code from boxes/generators/box2.py to boxes/lids.py
...
Rename the classes to no longer show up in the list of generators
2017-02-12 23:18:37 +01:00
Florian Festi
399e5b468f
New generator: UBox - a box with rounded corner at the bottom
2017-02-12 15:00:17 +01:00