Commit Graph

1548 Commits

Author SHA1 Message Date
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
Rotzbua 2e98f0fee0 Remove Python 2.7 coding hint 2022-12-29 12:02:33 +01:00
Rotzbua c22d6c5d8b Rename `ps2edit` to more common `pstoedit` 2022-12-29 12:01:04 +01:00
Rotzbua 0da4311c3a Fix typos 2022-12-28 17:09:06 +01:00
Rotzbua 47c38b83b1 Update Sphinx scripts to v5.3
* Add generation date
* Remove unused version
* Update copyright
2022-12-28 17:06:08 +01:00
Rotzbua dc3ee35716 Change: generate documentation with Github Actions
* Remove Travis
2022-12-28 17:06:08 +01:00
Rotzbua 44a8604352 Doc: remove python 2.7 2022-12-27 21:44:32 +01:00
Rotzbua 821cd9f185 Remove support of EOL Python 3.6
Python 3.6 reached end of life 2021-12-23.
https://devguide.python.org/versions/
2022-12-27 21:43:41 +01:00
Rotzbua bfbe566c74 Fix missing version in `requirements.txt`
Should be in sync with `setup.py`.
2022-12-27 21:42:48 +01:00
Alex Shargalin 6162383de1 Update edges.py 2022-12-25 18:08:59 +01:00
Florian Festi 9729ca6d0f HingeBox: Add assembly instructions
Resolves: #442
2022-12-25 16:48:00 +01:00
Florian Festi 8dc27d90d7 Add Download button to web UI
Resolves: #462
2022-12-25 16:32:51 +01:00
Florian Festi 7a0dd3ebdf flangedWall: Fix placement of finger holes
for walls with other width than t
2022-12-21 22:38:06 +01:00
Florian Festi 814405f0be DisplayShelf: Fix shelf placement for negative angles
Resolves: #463
2022-12-06 20:12:02 +01:00
ranthalion cde3477874 Add polygonWall to Existing Parts doc 2022-12-06 18:12:21 +01:00
ranthalion fe28b7454e Add edges to polygonWall 2022-12-06 18:12:21 +01:00
Florian Festi a69b1da78f Whitespace cleanup 2022-12-06 18:12:21 +01:00
juanesf 108ea9a729 Add files via upload
- Upload win11-wsl-boxesserver-localhost.png screenshot.
- Upload log-wsl-win11.txt
2022-11-23 22:33:20 +01:00
juanesf f7ab316bdc Update windows.rst
- Add simple instructions for wsl
- Add screenshot of boxesserver on wsl
2022-11-23 22:33:20 +01:00
Florian Festi 6ab0cef413 Use straight edge for slots SlottedEdge
Used the connecting edge due to an aliasing issue. This broke as the
FingerJointEdge now places fingers even for smaller lengths.

Thanks to Nic Jansma (https://github.com/nicjansma) for reporting!

Resolves: #452
2022-11-12 09:17:56 +01:00
Florian Festi 0c87b43b52 FrenchCleats: Make top and bottom section small
enough to not have finger holes in them. With the new changes to
FingerJoints fingers can now fit into much smaller edges and here that
only weakens the connection between left and right of the edge.
2022-10-02 11:29:07 +02:00
Florian Festi c4b0971d03 topEdges: Give better names to variables 2022-10-01 13:35:51 +02:00
Florian Festi 3a06aa1d62 DocText for topEdges 2022-10-01 13:35:51 +02:00
Florian Festi a7fb562306 TypeTray: Rename top edge variables
to something more meaningful
2022-10-01 13:35:51 +02:00
Florian Festi 6109c6570a TypeTray: Add labels and move grip hole to front 2022-10-01 13:35:51 +02:00
Florian Festi 9dd211d792 DividerTray: Add dividers with asymetric tabs
Related: #438
2022-10-01 10:56:24 +02:00
Florian Festi 77b1e1b4ce DividerTray: Close last corner of the dividers
There was just one corner missing.

Related: #438
2022-10-01 10:20:45 +02:00
suks.ae 9c253a3525 New generator: HalfBox
Configurable half of a box which can be: a bookend, a hanging shelf, an angle clamping jig, ...

ready for pull request
2022-09-30 19:28:01 +02:00
Florian Festi d782eb281c FingerJointEdges: Better deal with short edges
Shrink surroundingspaces when need to still fit at least one finger. If
even one regular finger won't fit use a small rectangular style finger.

This is a bit hacky as the same logic is copied in both
FingerJointEdge and FingerHoles
2022-09-30 19:28:01 +02:00