Replies: 1 comment 4 replies
-
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I parse INSERT entities using ezdxf, I use virtual_entities() to traverse through the various entities in the INSERT, but I find that ARC happens to get the center coordinate wrong, probably because extrusion doesn't fall to (0,0,1), I looked at the official documentation using ezdxf.upright.upright() to handle ARC entities, However, I found that start_angle, end_angle, and center were incorrectly resolved (inconsistent with start_angle, end_angle, and center in AutoCAD). I tried to explode() to unexplode the entities in the INSERT, but I found that the INSERT parsing was missing some entities.
I looked at both OCS and WCS documentation, and this one handles center. But I don't know what to do with start_angle and end_angle in ARC.
If anyone can help me, I would be grateful.
Here is the core snippet of my code:
Beta Was this translation helpful? Give feedback.
All reactions