Commit Graph

14 Commits

Author SHA1 Message Date
Florian Festi 44bf4adc8f DisplayShelf: Turn num_of_dividers into sx param
to allow arbitrary sections and not only equal divisions
2023-04-07 11:14:31 +02:00
Florian Festi d82d2936e4 DisplayShelf: Fix "outside" size adjustment 2023-04-07 10:49:10 +02:00
Patrick van der Leer 98d6d949fa DisplayShelf: Add option for dividers 2023-01-30 15:31:49 +01:00
Rotzbua 11340448fa Add typing: magic methods 2023-01-09 07:55:59 +01:00
ranthalion 420550b2c4 DisplayShelf: Implement back and slope 2023-01-01 15:14:44 +01:00
Florian Festi 814405f0be DisplayShelf: Fix shelf placement for negative angles
Resolves: #463
2022-12-06 20:12:02 +01:00
Florian Festi 41165731c9 DisplayShelf: Fix calculations for negative angle values 2021-04-02 16:11:11 +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 879ae1af68 DisplayShelf: Do not render front wall if set to zero 2018-04-15 19:43:31 +02:00
Florian Festi ebe02e2be5 DisplayShelf: Use better defaults 2018-04-15 19:43:31 +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 d3c76f2b9e Put box generator into groups and adjust the menu web page accordingly 2017-02-13 17:31:58 +01:00
Florian Festi fa4fd943ca New generator: DisplayShelf - a shelf with forward slanted floors 2017-01-14 23:13:22 +01:00