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
Namespaced Attributes #657
Conversation
That's so clever, using the attribute namespace transition as a way to handle the underlay default changing! What happens if they had enabled underlay previously though? I think this would set it to false? |
Ops, so right. I've corrected it. If no other "embroider_" attribute has been set on the object, fill_underlay will switch it's value from False to True - which, I think it won't be too bad. Also the fill_underlay param will be set on other non-fill-elements. I don't think it's much of a problem though...?!? |
Ah, that makes much more sense, thank you! This is a pretty good time to look over all the other params. Any more defaults we should change? |
Nope, shouldn't be a problem at all. |
This looks great so far! I wonder, do we really need I think maybe you created that so that we're not constantly calling |
Hm, I don't know. I don't think it is possible to forget adding them ... you will get an error if you do and test it only once :) At first I was annoyed by having to add all the attributes into a list and thought that there must be a better solution for it (like the one you suggested). On the other hand I thought it delivers a good overview of the attributes we have and also we keep the tags all in the same place. I haven't tested your suggested solution yet. Maybe it's the way to go, but I don't think it's all bad to have the ATTRIBS list. I wouldn't know about any other default setting that need a change. |
Good argument! You've won me over :) |
Yay, I'll merge it then :) |
## New Features - New Simulator (#531) - Import Threadlist (#666) - Export Threadlist in ZIP file (#664) - Option to include SVG in ZIP file (#648) - Break Apart and Retain Holes (#653) - G-Code: option to alternate z-value (#659) - New Stitch Plan Extension (#640) - Optionally enable/disable ties (lock down stitches) (#619) - Multiple Fill Underlays - Additional Fonts (#683): * Geneva * DejaVu ## Improvements - Better Algorithm for Satin Columns (#607) - Better Algorithm for Fill Stitches (#606) - Convert to Satin with Loops (#608) - Adding '@ #' to all fonts (#680) ## Bug Fixes - Fix Issue with Troubleshoot Pointer Position (#696) - Inherit Styles (#673) - Fix Color Palette Issues (#660) - Preserve Aspect Ratio (#646) - and more ## Under the Hood - Namespaced Attributes (#657) - Remove stub.py (#629)
This is to solve issues #201 and #480