Skip to content
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

Moots: generate panel SVG #50

Closed
cosinekitty opened this issue Apr 20, 2024 · 2 comments
Closed

Moots: generate panel SVG #50

cosinekitty opened this issue Apr 20, 2024 · 2 comments
Assignees

Comments

@cosinekitty
Copy link
Owner

cosinekitty commented Apr 20, 2024

Moots was my first Sapphire module, and I had not yet created Python code for generating SVG files back then. More recent modules have panels that are 100% code-generated. This gives me a synergy over time of sharing a common look and feel while minimizing how much time I spend working on new panels (I can re-use code).

Issues #45 and #49 will be more tedious to resolve than one might think because of the lack of SVG scripting support in Moots.

Therefore, I'm considering starting over from scratch and generating the Moots panel completely from code. I would add a new function to make_sapphire_svg.py. Then I can go back and resolve #45 and #49 much faster.

@cosinekitty
Copy link
Owner Author

I could just copy-n-paste the existing SVG into Python code as a generator, then add/modify stuff as needed.

@cosinekitty
Copy link
Owner Author

Fixed in 4cbe377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant