Commit Graph

1205 Commits

Author SHA1 Message Date
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
Florian Festi 805e6e0273 SpicesRack: Add picture 2019-12-16 20:07:30 +01:00
Florian Festi 4d53bd17cc partsMatrix: support width=0 for all parts in one row 2019-12-16 20:07:30 +01:00
Florian Festi e2b87af2a4 UniversalBox: Add outside parameter
Fixes: #144
2019-12-14 19:13:40 +01: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 8cb5a8e042 Check values of flex settings 2019-12-14 13:09:43 +01:00
Florian Festi 4a711b1cb4 boxesserver: Improve error handling during rendering
Especially don't print messages for out of bound parameters into the log/stdout
2019-12-14 13:09:43 +01:00
Florian Festi fe9555a79f checkValues 2019-12-14 13:09:43 +01:00
Florian Festi c5474e7488 DiscRack: Limit lower_factor and rear_factor to smaller than one 2019-12-14 12:23:08 +01:00
Florian Festi b4384f5d16 boxesserver: don't error out on missing QUERY_STRING 2019-12-14 12:16:25 +01:00
Florian Festi 024b574763 TrayLayout: Add default for layout param 2019-12-14 12:14:24 +01:00
Florian Festi 093e10a3ac AngledBox: Use FingerJointSettings for vertical edges, too 2019-12-06 23:37:22 +01:00
Florian Festi bd1db150c7 New geneator: SpicesRack 2019-11-29 19:58:27 +01:00
Florian Festi 182d222f01 Prevent not having any sections at all for argparseSections 2019-11-24 19:10:35 +01:00
Florian Festi 45e9fdc68a TrayLayout: Show errors on parsing the layout 2019-11-24 16:42:47 +01:00
Florian Festi d2d97b01c9 grip(): Prevent division by zero 2019-11-24 16:42:47 +01:00
Florian Festi d121b34994 boxesserver: Catch all exceptions during rendering 2019-11-23 14:28:51 +01:00
Marius Bergmann 9f8b84b3f1 add parameters for banana socket and flipswitch diameters 2019-11-20 11:57:13 +01:00
Marius Bergmann 2c367562a9 remove commented code 2019-11-20 11:57:13 +01:00
Marius Bergmann 90fdf897a9 formatting: whitespace cleanup 2019-11-20 11:57:13 +01:00