-
Notifications
You must be signed in to change notification settings - Fork 361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add photo frame generator #680
Add photo frame generator #680
Conversation
fbf3f80
to
6364aba
Compare
Sorry, for the bit late response. I am currently polishing this up to pass the test suite. I added one of the pictures as a sample image and reformatted the description. I am wondering if we really need this many parameters or if e.g. the frame width can be the same for width and height. I also wonder if having both split and unsplit parts (or neither) is just confusing and we should only offer either or. |
I just picked this up again after a while. My supply of pre-cut acrylic arrived, so I'm cutting more test pieces out of plywood and seeing which parameters I miss if they're taken away. Since the UI params are completely decoupled from the dimensions it's easy to change this stuff around. Frame width should be fine as one number. I have made it one parameter in my local version. Split and unsplit parts, I'm still not sure about. You're not "supposed" to want split and unsplit at the same time. In plywood you'd probably always split the middle layer and then either split the top if you're cheap like me or cut it in one piece if only the best will do. So my current idea is just one param for "split front", default on. But I looked at the frame in the sample image again, which was a test piece made out of cheap thin corrugated cardboard. It's actually a 5-layer construction with both split and unsplit parts for top and middle. This is because it's made out of thin material with a shockingly wide kerf, so it gets height from the split layers and stability from the unsplit layers. Maybe nobody else will ever need to do this. What I notice most now that the acrylic has arrived is that I should hurry up and finish the features on the to-do list. Otherwise I have to back-calculate the width of the matting to fit the pre-cut acrylic, and figure out how to hang the frame. For that I will look at MountingSettings and see if it applies here. A small thing that I keep noticing is, the descriptions for For matting and framing, users need to know exactly what they're supposed to measure. Otherwise they need to guess whether the generator will factor in all the allowances and overlaps needed for proper framing, or if they should add fudge. Or worse, users who haven't matted artwork before will learn about matting the "hard way" when their photo pokes through the mat. I'm trying to have a "don't guess, just measure precisely and tell the generator what you've got" UX. |
Wrt the |
040456a
to
39e706b
Compare
Refactor to Dimensions dataclass, add golden ratio matting Add label parameter to roundedPlate Tidy stuff up, redo docs De-indent PhotoFrame: Add sample pictures Add PhotoFrame.svg Calculate frame based around pre-cut glass Add mounting hole(s) to back of frame Update web front-end to make mutually-exclusive configurations less confusing Simplify user-visible options Set default dimensions back to standard photo, regenerate example Set default dimensions back to standard photo, regenerate example Update help text for x and y, update sample image Update defaults for mount hardware
39e706b
to
e246a0e
Compare
Thanks! I think I've now pushed this feature as far as I want to push it, unless there are bugs or it needs rework |
Thanks a lot for all your work! Even this is "just" a picture frame it has seen a lot more love and attention to detail than any of my generators. |
3-layer photo frame.