-
Notifications
You must be signed in to change notification settings - Fork 299
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
DXF import/export: handle ellipse arc with reversed normal #1384
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1384 +/- ##
=======================================
Coverage 94.12% 94.13%
=======================================
Files 27 27
Lines 5671 5679 +8
Branches 961 962 +1
=======================================
+ Hits 5338 5346 +8
Misses 199 199
Partials 134 134
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
The DXF output might still be problematic for some other software. Another solution could be to convert the edge to the plane normal. |
Thanks @lorenzncode , do you have some example of this not working? |
@adam-urbanczyk Sure, here are a few examples importing ellipse_arc.dxf created in the pytest of the PR. The CAD Assistant result is working as expected: |
Thanks! It'd be good to be able to import correctly in Inkscape. Any clue how to attack this? |
Yes, I found another way is to reverse the Sense of the ellipse with reversed normal. I checked that it now imports correctly in Inkscape. |
Should I review this? Everything else is green, it just needs one more review. |
@jmwright Yes, please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks @lorenzncode
Resolves #1381