Close

Reuse your previous Box settings

A project log for Boxes.py

Cut out boxes and other stuff with a laser cutter

florian-festiFlorian Festi 08/14/2018 at 10:400 Comments

When designing the web interface I was deliberately using URL parameters so the link to the rendered SVG can be used to generate it again and to adjust the values. But so far there was no way to get those values back into the input form. Yes, you *can* edit the URL directly but this got much less convenient when the settings for the edges got added and the URL looks like a database.

bwente rightly complained about this in #66. So I finally fixed it. Now you can just remove the &render=1  at the end of the URL or turn the 1 into a 0 to open the input form filled with the previously used values.

The actual issue in #66 - adding the URL as a comment in the SVG file - is still unresolved. So far I could not yet bring myself to re-open and rework the SVG file. But there are several issues open that would require this. So one day eventually...

In the mean time Rotzbua created a greasemonkey script that adds the comment on the client side.

Discussions