Florian Festi
70162bdfb2
Move Lid details and creation into own LidSettings class
...
Add new ontop and overthetop lid styles
Replace _ChestLid mixin class. Currently supported for UBox, UniversalBox
and ABox
Resolves : #356
2023-04-06 21:36:27 +02:00
Florian Festi
9a9499e405
UBox: Translate labels
...
as a first prove of concept
2023-02-25 15:57:38 +01:00
Rotzbua
11340448fa
Add typing: magic methods
2023-01-09 07:55:59 +01:00
Rotzbua
ad38bb1eaf
Auto optimize imports
...
* Remove unused
* Rearrange imports (module > partial > project)
2022-12-31 20:33:49 +01:00
SuksAE
ece304bf1f
Add labels to some generators
2022-05-14 10:35:58 +02:00
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