Commit Graph

4 Commits

Author SHA1 Message Date
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
caleb crome 0b986eeb0c TrayLayout: Make generation a one step operation in the web UI
Add Java Script for generating the layout from sx and sy
Drop special handling in boxesserver
Add .UI attribute to Boxes class to allow behaving differntly on different UIs
Traylayout is still filtered out from Inkscape INX file generation
Slightly adjust layout format of GridfinityTrayLayout

Co-authored-by: Florian Festi <florian@festi.info>
2023-03-07 20:02:27 +01:00
Florian Festi 20dadbbb04 TrayLayout: Split render() into several methods
to allow better re-use in GridfinityTrayLayout.
Mirror the base plate of the GridfinityTrayLayout so the engravings
for the feet are on "the bottom".

Related: #533
2023-02-15 21:58:23 +01:00
caleb crome bfc710698f Create a GridfinityTrayLayout object.
This is based on the TrayLayout2, but it designed to just give exactly
the correct size boxes to fit into a gridfinity system.

It has a modified TrayLayout setup, so it works in one step.  It uses
javascript to auto-generate the grid, which means it doesn't currently
work for Inkscape or command line.
2023-02-13 21:10:35 +01:00