Importing DXF to laserweb4: polyline closed in DXF, not closed in workspace display#272
评论
|
Inkscape 制作了一些相当脏的 DXF。使用 qcad、autocad、sketchup 等制作 DXF。如果 inkscape 是您的来源,请使用 SVG
|
|
不,我用 QCad 制作了 dxf,我用 inkscape 来验证我没有疯。:) 您是否希望我通过其他来源验证文件?大多数时候我都信任 QCad,但我不希望它看起来像是我在没有尽职调查的情况下就把它扔给了你。 |
|
喔好吧 (:
|
|
@PeterGrace这 I will need to see if the issue is in the DXF parser itself. Officially It only supports |
|
PR #273 address the wonky layer grouping that was in the file. @PeterGrace According to the DXF Reference |
|
This is a QCad file, as R15 (generated by dxflib) — let me try R12 and will confirm if that solves the issue. |
|
Saving the file as R12 (Teigha) in QCad allows the polyline to properly render in LaserWeb4. I suppose the problem is with QCad then? As mentioned, Inkscape renders the incorrect dxf as well, leading me to wonder if their definition of the dxf format does not match autocad’s reference as you have shown. Regardless, I’m unblocked; I can save the file in R12. Thanks for having a look! |
|
@PeterGrace No problem! AutoCad has so many bloody versions and a few in between are not even compatible as they liked to change code pairs meanings but not too unique pairs but to older version ones which makes everything confused. You can see they added a TON of padding to R15 as its literally 10x the file size as R12. |
|
PR #273 merged |


将附加的折线正方形 dxf 导入 LaserWeb4 以进行切割功率/速度测试,但是工作区似乎显示每条折线都缺少正方形的底部。我在 inkscape 中验证了 dxf 文件,它显示方块正确闭合。
CuttingTestWorkspace.json.txt
CuttingTestDesign.dxf.txt