Skip to content
Discussion options

You must be logged in to vote

I think I figured it out. Looks like to handle this case the insert should be ignored and the align_point should be used instead. In most cases it looks like the insert is set so that it lies at the left-baseline of the text (probably the CAD application takes care of this normally but the dxf file is valid if this is not the case).
It looks like the CAD applications trust the alignment point more than the insert location for where to place the text, so ezdxf should do the same.

I determined this from looking at the dxfattributes:

stress test file:
{'handle': '4E6', 'owner': '1F', 'layer': '0', 'insert': Vec3(3674.063120083396, 942.1986936556514, 0.0), 'height': 25.0, 'text': 'Xpba text',…

Replies: 7 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@mozman
Comment options

@mozman
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by k3rn3l3rr0r
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants