You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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