vagran / dxf-viewer

DXF 2D viewer written in JavaScript
Mozilla Public License 2.0
321 stars 98 forks source link

DXF visualization issues #116

Open msantic opened 2 months ago

msantic commented 2 months ago

Hi,

First of all, I just wanted to say it's a great project, and thank you for sharing it.

I would just like to report an issue with one DXF file.

This is how it supposed to look

Screenshot 2024-09-06 at 09 59 39

And this how it look in the dxf-viewer

Screenshot 2024-09-06 at 10 00 15

Issues:

Here is original DXF file ft0275.dxf.zip

All others layers looks great!

vagran commented 2 months ago

Hi, Looks like a problem with recent implementation of solid hatches support. Lack of real-world sample files was a great problem for this feature, so your sample is very valuable, thanks! I will check it.

msantic commented 2 months ago

Hey @vagran , thanks for your prompt response. Yeah, this is real-world sample from door&window manufacturer. If you find it useful, I am attaching the entire alu-profile program file here.

Some of the alu-profile sketches looks correct out-of-the-box but some have the issue described above.

03.Profili.dxf.zip

Looking forward to see future improvements. Thank you for your time.