-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
read
should disregard full transparent elements (both fill and stroke)
#230
Comments
Should it tho? Also, there's a straight 'opacity' value on objects that is unrelated to their fill or stroke. They didn't disable the rendering, they just made it invisible, it's still there. You don't take color into account other places, why should invisible colored thing suddenly be wildly different? |
My position is that it should so long as #35 is not implemented because IMO the primary aim of vpype is provide a (visual) render as faithful as possible (within the constraint of plotter stuff). That said, given the lack of popularity of the present issue (you are not the first I'm arguing with on the topic 😃), there is a decent likelihood that it will rot until #35 is addressed. |
I must be missing somebody about #35, what about it takes any time to implement? I debated affixing a color object directly when I did vpype-embroidery, it seems like you'll get the same objects passed through the pipeline. I sort of wanted to be able to call |
Nothing in particular. I just need to get around to doing it, and it must be done carefully because any modification to the core data model may have implications on most of my, and other's, code base. |
You're not modifying the API in breaking ways. You're adding a some functionality to it. Usually that's always safe and the real risk is you can't take it back after it's changed remotely as easily as you added it. So if you add the API wrong it gets set in stone and correcting any errors become intractable. So you can't call your color I'd prefer a dict object just attached to the layers, and one attached to the It's usually best to make a method that works broadly but correctly. The problem isn't adding the stuff, it's changing it later if you did something wrong, or made an API that didn't cover wouldbe eventualities. svgelements for example has processed values for But, if you have #35 working, you could just add in a command or flag to strip transparent objects. |
No description provided.
The text was updated successfully, but these errors were encountered: