Florian Festi
7535572d77
New generator: SmallPartsTray2
2023-01-16 18:58:15 +01:00
Florian Festi
971c20be7c
trapezoidSideWall: Fix call to move
...
resulting in an assert error as the label was used as "before" parameter
which messes up the whole magic inside .move(). As a result the .stroke() method was not called - leading to unprocesses paths - triggering the assert.
Resolves : #423
2023-01-16 12:20:26 +01:00
Florian Festi
a2bf4c060f
boxesserver: Re-Add executable permissions
2023-01-14 00:10:33 +01:00
Florian Festi
d3df27b238
BreadBox: Declare stable and add sample image
...
Thanks to Ed Nisley <https://github.com/ednisley > for the picture!
Resolves : #431
2023-01-14 00:05:02 +01:00
Rotzbua
bf38b9d2c3
Migrate to modern typing
2023-01-13 16:19:43 +01:00
Rotzbua
9abefffc7a
Use `format()`
2023-01-13 16:18:44 +01:00
Rotzbua
7fd97931fd
Remove old `super()` calls and class declaration
2023-01-13 16:18:44 +01:00
Rotzbua
631ff35f80
Remove outdated unicode literals
2023-01-13 16:18:44 +01:00
Rotzbua
6fac72bebd
Remove useless parentheses
2023-01-13 16:18:44 +01:00
Florian Festi
0a8dcf0e37
boxesserver: Redo options
...
Use argparse for cli
Make static_url a member of the server class
Add url_prefix setting and set it to /boxes.py for uwsgi
2023-01-11 22:26:47 +01:00
Florian Festi
d6099e5978
Make Parts.ringSegment actually work
2023-01-11 20:33:49 +01:00
Florian Festi
6f626d04a7
Remove debug code
2023-01-11 20:31:59 +01:00
Florian Festi
c8f5b6d0b1
New generator: RollHolder
...
Holder for kitchen, toilet paper or other rolls
2023-01-10 21:42:54 +01:00
Florian Festi
1f9f45d87b
New generator: SlantedTray
...
Stolen from AgricolaInsert.
2023-01-09 22:53:56 +01:00
Florian Festi
b9e8c919ad
SmallPartsTray: Minor cleanups
2023-01-09 21:04:38 +01:00
Florian Festi
5152c90fc5
SmallPartsTray: Add outside parameter
2023-01-09 21:04:38 +01:00
Rotzbua
a80a00aad6
Prevent robots from crawling generated data
2023-01-09 20:24:13 +01:00
Florian Festi
14c2a820c0
New generator: SmallPartsTray
...
Tray for game tokens, small nuts and bolts or all other tiny items. It
has a slant on the bottom for the side wall so such pieces can be picked
up easily with one finger.
2023-01-09 16:52:04 +01:00
Rotzbua
3511046ae1
Change run typing test for multiple Python versions
2023-01-09 07:55:59 +01:00
Rotzbua
fceb5f2dfe
Add typing: variables
2023-01-09 07:55:59 +01:00
Rotzbua
11340448fa
Add typing: magic methods
2023-01-09 07:55:59 +01:00
Rotzbua
755d8be998
Doc: update redirect html
...
* disallow indexing the redirect page
* remove unnecessary script type
2023-01-08 18:01:12 +01:00
Rotzbua
e4684f076a
Doc: remove specific Python version
...
Avoid that user install the outdated version.
2023-01-08 17:59:01 +01:00
Rotzbua
a091fc25f5
Fix typo in script command help text
2023-01-08 17:57:47 +01:00
Rotzbua
47b3bf83a3
Doc: Change links to https
2023-01-08 17:57:08 +01:00
caleb crome
ede8546167
Create a gridfinity base and holding tray
2023-01-08 11:47:54 +01:00
caleb crome
1c5433e051
Some minor documentation edits
2023-01-07 08:37:25 +01:00
Florian Festi
3623bedb95
Update language files
2023-01-05 15:59:14 +01:00
Florian Festi
a01bc11cb7
polygonWall: Fix margin calculation
...
by tracing the outline of the edge margins.
Fixes 1875742b8d
2023-01-04 13:30:14 +01:00
Florian Festi
a477dbd412
Delete commented out HTML for dynamic Content
2023-01-03 11:48:15 +01:00
Florian Festi
5503f06e31
Rewrite URLs of images in generator descriptions
...
to honor the static_url
2023-01-03 11:09:44 +01:00
Florian Festi
6aa5cb4204
Cache menu and stock generator pages
...
as they are always the same for the same language
2023-01-02 22:08:12 +01:00
Florian Festi
70e1e033c2
Redirect static links to github.io docs
...
if running as wsgi (aka the web instance). Keep statics local when
running with the built-in web server.
2023-01-02 21:15:38 +01:00
Florian Festi
53e7991ea3
Use new f string format in boxesserver
...
well, at least a bit more...
2023-01-02 21:15:38 +01:00
Rotzbua
9cb581a6ad
Fix misspelled variables ( #484 )
...
Co-authored-by: Florian Festi <florian@festi.info>
2023-01-02 16:23:24 +01:00
Rotzbua
5fae61bd0d
Fix typos and docstrings
2023-01-02 16:15:13 +01:00
Florian Festi
d2d2d15de3
Put static data on the GH pages
2023-01-02 13:40:26 +01:00
Florian Festi
4d41b2ddb1
FingerHolesEdge: Add bottom_lip parameter
...
to support boxes that stack on top of each other like milk crates
2023-01-02 13:00:07 +01:00
Florian Festi
b5d10334d0
StackableEdge: Add bottom_stabilizers parameter
...
to generate strips to be glued to the inside of bottom edges
2023-01-02 13:00:07 +01:00
Rotzbua
9d6f535e01
Fix typing errors
2023-01-01 18:10:42 +01:00
Rotzbua
847159135d
Add Github Action to check Python typing hints
2023-01-01 18:10:42 +01:00
Florian Festi
1875742b8d
polygonWall: Take all edge type into account
...
when calculating the extent of the polygon. This is a less than ideal,
worst case estimate. Should be replaced by something a bit smarter that
only looks at the current edge and the space it needs.
2023-01-01 15:26:07 +01:00
ranthalion
420550b2c4
DisplayShelf: Implement back and slope
2023-01-01 15:14:44 +01:00
Rotzbua
ad38bb1eaf
Auto optimize imports
...
* Remove unused
* Rearrange imports (module > partial > project)
2022-12-31 20:33:49 +01:00
Rotzbua
20032e50be
Remove outdated imports
2022-12-31 20:33:49 +01:00
Rotzbua
508dd0f030
Change SVG encoding
...
Change from default 'us-ascii' to universal 'utf-8'.
2022-12-30 16:44:05 +01:00
Rotzbua
1d6efb5371
Fix comparison with None and equality operator
2022-12-29 12:02:33 +01:00
Rotzbua
4ffad120b5
Remove unnecessary backslash
2022-12-29 12:02:33 +01:00
Rotzbua
03879258e8
Remove trailing semicolon
2022-12-29 12:02:33 +01:00
Rotzbua
5f9f704869
Remove deprecated `cElementTree`
...
Deprecated since version 3.3: The xml.etree.cElementTree module is deprecated.
2022-12-29 12:02:33 +01:00