dxf-viewer icon indicating copy to clipboard operation
dxf-viewer copied to clipboard

DXF visualization issues

Open msantic opened this issue 1 year ago • 2 comments

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:

  • layers "Poliamid srafura" and "Poliamid kontura" are missing, and then if you actually turned them off contour appears but not hatch layer
  • hatch patterns are completely messed up
  • green line should be dashed

Here is original DXF file ft0275.dxf.zip

All others layers looks great!

msantic avatar Sep 06 '24 08:09 msantic

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.

vagran avatar Sep 06 '24 08:09 vagran

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.

msantic avatar Sep 06 '24 08:09 msantic