Using plotstyles with drawing addon #607
Unanswered
akantifirst
asked this question in
Q&A
Replies: 1 comment 2 replies
-
if the lines are joined in the dxf file then they should be drawn as a single path ezdxf/src/ezdxf/addons/drawing/matplotlib.py Line 128 in 3fdba53 but from the screenshot it looks like they are rendered as separate line segments. If you want to give all line segments rounded caps you could try passing ezdxf/src/ezdxf/addons/drawing/matplotlib.py Lines 492 to 507 in 3fdba53 https://matplotlib.org/stable/api/_as_gen/matplotlib.lines.Line2D.html |
Beta Was this translation helpful? Give feedback.
2 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.
-
I was able to find in the docs the corresponding section, but not sure how to implement it. When exporting .dxf file to .pdf with matplotlib backend, I get square line endings. It is not much of an issue, but may be somebody could give me an idea on how to implement CTB plotstyles to make line endings round. The picture illustrates what I mean:

Beta Was this translation helpful? Give feedback.
All reactions