Commit Graph

1174 Commits

Author SHA1 Message Date
Florian Festi 949c8d8324 Fix polygonWalls() for uneven number of walls and symetrical==True
For an uneven number of walls one needs to have two different edges
to be able to close the loop.
2020-05-02 00:43:33 +02:00
Florian Festi e2d716aeb8 Console2: Fix bottom edge for front and back 2020-05-01 23:49:05 +02:00
Florian Festi d45ccba307 New generator: Console2 2020-05-01 23:36:44 +02:00
Florian Festi 966a6c77cf Add "rotated" to possible move terms 2020-05-01 23:35:55 +02:00
Florian Festi 54d4b6bebd Console: Fix x, y confusion 2020-04-29 12:25:46 +02:00
Florian Festi 279b60abc8 New generator: Console 2020-04-28 22:25:47 +02:00
Florian Festi 9ea1d55a94 Add translate param 2020-04-20 16:30:33 +02:00
Stefan Schwarz 2f2256ec7d Keypad support for CPG151101S11 hotplug sockets 2020-04-13 20:11:44 +02:00
Florian Festi bff21c400e Update compiled transaltion files 2020-04-13 18:48:33 +02:00
Florian Festi c4ca1b4dfa Also translate Edge descriptions in ArgparseEdgeType 2020-04-13 18:45:17 +02:00
Florian Festi 18a1766f8c Add edge descriptions to pot file (translation catalog) 2020-04-13 18:36:18 +02:00
Florian Festi 9b890f48bf Update Chinese translation 2020-04-13 18:34:03 +02:00
Florian Festi f78f697aa3 Update boxes.py.pot 2020-04-13 18:30:40 +02:00
Florian Festi f961cd533d KeyPad: Improve parameter descriptions 2020-04-13 13:53:38 +02:00
KoenML 487f75ff5f EuroRackSkiff: Add picture 2020-03-12 12:41:44 +01:00
Florian Festi 416f9a8abf examples/generate.sh: Remove no longer existing generator "box"
Thanks to Ben Christenson for pointing this out.

Resolves: #208
2020-03-07 20:22:27 +01:00
Florian Festi b46deec02e boxesserver: Return nothing.png for missing thumb nails
No longer output paths of static files
2020-03-07 20:14:38 +01:00
Florian Festi 195c68c28f
Rail holes dist (#213)
* added EurorackSkiff Generator

* fixed holes distribution
2020-03-05 23:09:03 +01:00
Stefan Schwarz 3a14e1796b Generator for keypads with mechanical switches 2020-03-04 20:24:47 +01:00
Florian Festi 0178a853c3 Add Inkscape style meta data to SVG output 2020-03-01 16:53:41 +01:00
Florian Festi 80edaf5ac4 New generator: BottleStack 2020-02-29 18:19:59 +01:00
Florian Festi 4c338e1c62 RoundedBox: Add edge_style parameter 2020-02-28 17:52:57 +01:00
Florian Festi 22450a6fe7 roundedPlate: Fix placement 2020-02-28 17:52:49 +01:00
Florian Festi 6476a51fc4 roundedPlate: Fix callback positioning 2020-02-28 17:52:49 +01:00
Florian Festi 223ac26122 roundedPlate: new extend_corners param 2020-02-28 17:52:18 +01:00
Florian Festi 26b33d62ff roundedPlate: Properly lookup edge 2020-02-28 17:46:44 +01:00
Florian Festi 7c004e2d2c New primitive: Boxes.step()
Outset a line by a given margin - negative values for insetting
2020-02-28 17:46:44 +01:00
Erwin Jansen a0338a559f Add a bottom to the divider tray.
This add support for the generation of a bottom for the divider tray.
The bottom can be generated by passing the --bottom=True flag.

This makes it possible to generate ./static/samples/DividerTray.jpg
2020-02-26 21:00:26 +01:00
Ben Christenson 842769b69d added missing instructions for install cairo on mac 2020-02-23 16:08:56 +01:00
Ben Christenson bc2d16fb16 spelling nits in docs 2020-02-23 16:07:42 +01:00
Florian Festi eeb1baf352 Gear: don't allow less than 2 teeth 2020-02-01 15:30:53 +01:00
Florian Festi 0394d418c1 dHole: Prevent division by zero 2020-02-01 15:30:18 +01:00
Florian Festi 7943fa2390 flex2D: Fix division by zero for too small patterns 2020-02-01 15:22:35 +01:00
Florian Festi ec9d911142 DividerTray: Use ValueError instead of assert to treat this as wrong user input 2020-02-01 15:17:18 +01:00
Florian Festi 069dd853aa BinTray: limit front parameter 2020-02-01 15:14:12 +01:00
Florian Festi 95f2fbeb82 corner(): Make more robust against division by zero 2020-02-01 15:03:49 +01:00
Florian Festi 2121228036 TrayLayout: Error out if tray is just a single wall 2020-02-01 14:51:38 +01:00
Florian Festi f8401aac75 rectangularRectangle: Make angle calculation more robust 2020-02-01 14:43:45 +01:00
Florian Festi 2a7e1e62d1 PaintStorage: Prevent division by zero 2020-02-01 14:31:24 +01:00
Florian Festi dd0f2d748c ChestHingeSettings: check pin_height for minimal size 2020-02-01 14:27:17 +01:00
Florian Festi 0f3eb5b21a StackableSettings: check angle for invalid values 2020-02-01 14:16:26 +01:00
Florian Festi 9706816fe4 gears: prevent division by zero 2020-02-01 13:59:30 +01:00
Stefan Reichhard 37bff9d358 fixed d3 diameter (mounting screw holes) 2020-01-22 16:11:18 +01:00
Florian Festi 1f3110c6fa New generator: TriangleLamp 2020-01-21 21:34:02 +01:00
Guillaume Collic 9324c91f74 More representative sample image for DividerTray 2020-01-07 22:57:25 +01:00
Florian Festi 10e2085eef Remove Python 2 compat foo 2019-12-21 17:47:54 +01:00
Florian Festi db5c0c8bad boxesserver: Remove Python 2 compat foo 2019-12-21 17:47:40 +01:00
Florian Festi 4f3b738f6f Replace deprecated cgi.escape with html.escape 2019-12-21 17:47:08 +01:00
Florian Festi 3b2e214bf1 boxesserver: Message to indicate the traceback was caught 2019-12-21 17:47:08 +01:00
Florian Festi a39567598c Fix error handling of TrayLayout2 in the web instance 2019-12-16 20:07:30 +01:00