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

Nice viewer, and some issues I found

Open yanzexuan1 opened this issue 1 year ago • 1 comments

Hello Vagran,

Nice to see your dxf-viewer, wonderful tool! We also created our own dxf viewer, but not open sourced! I tried your example web site, it already supports plenty of dxf features with a pretty good performance. Great job.

One file has some issue, as you can see, the color, and some hatches are not rendererd correctly. You may take a look when there is chance. image

The file is here: https://github.com/pattern-x/gemini-viewer-examples/blob/main/public/demo/models/dxf/rac_basic_sample_project.dxf

It looks like this in our system: https://pattern-x.github.io/gemini-viewer-examples/#/Rac_basic_sample_project_dwg image

yanzexuan1 avatar May 31 '23 03:05 yanzexuan1

Hello, Thanks for the report! Yes, solid hatch type is currently not implemented feature. A good sample file is the first step towards the implementation, so thanks for the example file. For non-solid pattern, at first look, it seems like a bug in handling custom patterns. And it is also the first example with such patterns defined in HATCH entity, so now I have a chance to fix and test it.

vagran avatar May 31 '23 07:05 vagran