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

deprecation warning (inkscape 1.2.1) #23

Open
ofloveandhate opened this issue Mar 5, 2023 · 0 comments
Open

deprecation warning (inkscape 1.2.1) #23

ofloveandhate opened this issue Mar 5, 2023 · 0 comments

Comments

@ofloveandhate
Copy link

The plugin does work in 1.2.1, but generates a deprecation warning at paths2openscad.py line 1062:

matNew = matCurrent * Transform(node.get("transform"))

needs to instead be

matNew = matCurrent @ Transform(node.get("transform"))

to eliminate the red warning. the @ in this deprecation is an improvement over the old multiplication routine, by making matrix multiplication explicit. See PEP-465 for more details.

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

No branches or pull requests

1 participant