Commit Graph

25 Commits

Author SHA1 Message Date
Florian Festi 7fd4306664 Add h edge to top_edge parameter
Resolves: #244
2020-09-19 22:39:30 +02:00
Florian Festi aba9631b00 Make joints of box sides go to the very bottom
for NotesHolder, TypeTray and UniversalBox.
The same should be done to many other boxes as soon as they get the
bottom_edge parameter

Resolves: #111
2019-12-14 14:18:38 +01:00
Florian Festi a6ca723759 Mirror holes on the other walls
to have them match up. Otherwise boxes with non symetric top edges don't fit
together.

Fixes #141
2019-05-11 17:18:10 +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 d0356a12a3 Add parameters to addTopEdgeSettings() for changed defaults 2019-01-12 00:07:37 +01:00
Florian Festi 97e7e3b68f TypeTray: Swap vertical edge types to match the layout of the UniversalBox 2019-01-11 19:41:02 +01:00
Florian Festi 5c70515f01 TypeTray: Add lids matching top_edge 2019-01-10 22:27:36 +01:00
Florian Festi c0a782b745 TypeTray: Add support for all top_edges 2019-01-03 11:13:27 +01:00
Florian Festi c2615d4b38 TypeTray: rearrange parts 2018-12-27 17:19:10 +01:00
Florian Festi 4d2592fecf Add e edge to bottom_edge selection 2018-12-08 18:22:13 +01:00
Florian Festi d360703cba TypeTray: Make bottom_edge parametric
This does not affect the inside walls
2018-08-16 20:49:12 +02:00
Florian Festi 50b9bc9ffb TypeTray: Fix finger holes in bottom which had been mirrored in x direction 2018-04-25 23:36:32 +02:00
Florian Festi 36c0ec48fe TypeTray: Add closedtop parameter
Add a top wall turning the type tray into a closed box with multiple
compartments
2017-11-14 20:21:01 +01: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
christopher 8d754c3855 Use default finger/width settings of 2.0 for every box 2017-01-30 10:12:27 +01:00
Florian Festi 0cde4a71e6 Add params for edge settings to all generators 2016-11-01 23:46:25 +01:00
schinken 93af56ff9c Code Reformat #1 2016-08-17 15:07:41 +02:00
Florian Festi db38122125 Remove unnecessary moveTo() commands
.move() now leaves some space around parts
2016-08-03 22:20:13 +02:00
Marius Bergmann 4b487014d0 Fix project for use within virtualenv
- Use /usr/bin/env to determine path to python3 instead of a hard-coded
  path, so that virtualenv stubs work properly.
- Change package name to 'boxes' ('boxes.py' did not work within
  virtualenv).
2016-07-12 13:13:03 +02:00
Florian Festi 3f97d7ad77 Add outside parameter to some generators 2016-07-09 23:10:43 +02:00
Florian Festi 0ba0c19af2 Detect size of drawing and set svg viewport accordingly
Remove width and height parameter from Boxes.open()
Code for detecting the size ignores text. Until this is fixed you need
to surround text by lines of some sort.
2016-06-07 20:24:46 +02:00
Florian Festi 25be6dbc94 Add CLI params for basic finger joint settings
Change generators over to set defaults instead of overwriting the settings
2016-04-02 17:39:26 +02:00
Florian Festi 70bb1bf5af Move box generators into boxes.generators sub module 2016-03-25 22:30:07 +01:00