Commit Graph

21 Commits

Author SHA1 Message Date
Florian Festi bbd30ec8d1 Add more lid handle styles
Related: #128
2023-05-15 18:01:19 +02:00
Florian Festi 7bd0ab9e7d Add Lid option to more Generators
* DividerTray
 * DrillBox
 * GridfinityBase
 * GridfinityTrayLayout
 * SmallPartsTray
 * SmallPartsTray2
 * TrayLayout
 * TypeTray

Related: #128
Related: #277
2023-04-07 21:32:28 +02:00
Florian Festi 1c49096858 Add handle parameter for lids
Only one style for now. More to be added.

Related: #128
2023-04-07 19:00:38 +02:00
Florian Festi c0ae8b00eb Fix lids imports
sortof
2023-04-07 18:26:41 +02:00
Florian Festi 5ea8fce6be Move lid for Stackable top edge (S) to new Lids class
Now also works for the overthetop style and is adjustable in height
2023-04-06 21:51:32 +02:00
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 72aeb95bd5 Rename LidSetting to SlideOnLidSetting
to free the name of the generic lids
2023-04-06 20:21:44 +02:00
Florian Festi 51f42fd0a7 Fix top edges
probably broken by c4b0971d03

Related: #469
2023-04-01 21:04:58 +02:00
Florian Festi c4b0971d03 topEdges: Give better names to variables 2022-10-01 13:35:51 +02:00
Florian Festi 3a06aa1d62 DocText for topEdges 2022-10-01 13:35:51 +02:00
suks.ae bfaabc2619 Add HandleEdge 2022-09-24 08:36:00 +02:00
suks.ae 20f45224fb Add MountingEdge
and add it to top_edge.
2022-05-27 14:53:40 +02:00
SuksAE ece304bf1f
Add labels to some generators 2022-05-14 10:35:58 +02:00
Florian Festi 50072a18b7 Add stackable edge with finger holes to top_edge
standard parameter and support it in drawLid()
2022-05-08 12:18:15 +02:00
Florian Festi 7fd4306664 Add h edge to top_edge parameter
Resolves: #244
2020-09-19 22:39:30 +02:00
Florian Festi 199251ae52 Add lid for StackableEdge (S) as top_edge 2019-11-04 17:13:12 +01:00
Florian Festi e3ba617f22 Fix traceback for top_edge == "L"
No longer access the t1 edge type after changing it which may lead
to t1 being a char instead of a Edge instance

Thanks to michael (https://hackaday.io/hacker/381347-michael) for
pointing this out!
2019-02-10 19:49:51 +01:00
Florian Festi d0356a12a3 Add parameters to addTopEdgeSettings() for changed defaults 2019-01-12 00:07:37 +01:00
Florian Festi 2747d9719a Add RoundedTriangleEdge to top_edges 2019-01-12 00:00:55 +01:00
Florian Festi 37a798e91e Add top "lid" for F edge 2018-07-02 19:07:25 +02: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