ixmilia / dxf-rs

MIT License
95 stars 29 forks source link

Support Hatch entities #25

Open kurtlawrence opened 2 years ago

kurtlawrence commented 2 years ago

Hi there,

Would it be possible to get support for hatch entities? This output comes from QGIS.

example.zip

brettfo commented 2 years ago

HATCH entities are really complex and while eventually I'll add support for them, it's not something that'll likely happen soon, purely due to lack of time.

I'll keep this issue open, though, until they are implemented.

guradia commented 1 year ago

Aye!

I just came around the need to work with DXF-Files including Hatches. At least two different usages are there to play with and currently i'm just seeking to parse them. Some pointers would be nice as to where to start implementing them inside the library.

XML-Definitions for a generator and Structs that could be generated or handcrafted are easy to stumble upon ... but the intricate coupling of things.

Perhaps an overview of how a simple Line-Entity journeys from spec to usable form, could be written down without too much hassle for you.

brettfo commented 1 year ago

I also maintain a C#/.NET DXF reader/writer that has limited support for HATCH entities. The relevant sources are:

jannewulf commented 2 months ago

Are there any plans to add support for this?

brettfo commented 2 months ago

@jannewulf I mentioned in this comment that eventually I'd like to add support for them, but there is no timeline on that.