Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HATCH block cannot be parsed #114

Open
gurolca opened this issue Oct 11, 2022 · 3 comments
Open

HATCH block cannot be parsed #114

gurolca opened this issue Oct 11, 2022 · 3 comments

Comments

@gurolca
Copy link

gurolca commented Oct 11, 2022

HATCH entities cannot be seen in the parsed entities for a sample R14 DXF file in dxf library version 4.7.0

An example hatched object in the drawing
image

Raw DXF file part
image

The sample DXF file (zipped).
0607_B.dxf.zip

Is it possible to review and improve hatch.js file for this case?

@hschmiedhofer
Copy link

Same problem here with v5.0.0. I'm somewhat confused because README says that HATCH entities are being parsed, at least to some extent. Also, there's a hatch.js doing export const TYPE = 'HATCH' .

Is it possible to parse R14 HATCH entities or not?

@hschmiedhofer
Copy link

@gurolca did you find a way to parse your HATCHes in the meantime?

@ieskudero
Copy link
Contributor

@hschmiedhofer hatches should be supported from some time ago. I tryed to draw your sample file and it looks like is parsed correctly:

parsed with this library and drawn with ThreeJS:
imagen

Drawn using DraftSight:
imagen

Can you specify what is missing in the parser?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants