Dxf import error

hi there, have some DXF import issue again.
I tried to import the cutting file from https://www.instructables.com/Laser-Cut-Firemans-Phone-Stand/ (https://content.instructables.com/ORIG/F6M/092I/I27GRXGF/F6M092II27GRXGF.dxf) and this is the result:


It really doesn’t look as it should.

What version of Lightburn are you using? It opens fine in Lightburn 0.9.19

edit: When I zoom into different areas of the file, it is pretty sloppy, with endpoints that do not touch.

Using 0.9.19 Linux version. Maybe some dxf library linked to LightBurn binary?
this is the list of libraries “out of LB tree”:

tloudev@stodolar /usr/local $ ldd LightBurn/LightBurn |grep -v local
	linux-vdso.so.1 (0x00007ffc68fc9000)
	libssl3.so => /usr/lib/x86_64-linux-gnu/libssl3.so (0x00007ffb87644000)
	libnss3.so => /usr/lib/x86_64-linux-gnu/libnss3.so (0x00007ffb87300000)
	libnspr4.so => /usr/lib/x86_64-linux-gnu/libnspr4.so (0x00007ffb870c3000)
	libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x00007ffb86eab000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007ffb8480a000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007ffb84481000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ffb840e3000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007ffb83ecb000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffb83ada000)
	libnssutil3.so => /usr/lib/x86_64-linux-gnu/libnssutil3.so (0x00007ffb838ab000)
	libplc4.so => /usr/lib/x86_64-linux-gnu/libplc4.so (0x00007ffb836a6000)
	libplds4.so => /usr/lib/x86_64-linux-gnu/libplds4.so (0x00007ffb834a2000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ffb8329e000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007ffb83096000)
	libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007ffb82e78000)
	libpulse-mainloop-glib.so.0 => /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0 (0x00007ffb82c73000)
	libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007ffb82a23000)
	libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007ffb8270c000)
	libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007ffb82229000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007ffb8200c000)
	libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007ffb7fbd6000)
	/lib64/ld-linux-x86-64.so.2 (0x00007ffb87895000)
	libpulsecommon-11.1.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so (0x00007ffb7f958000)
	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007ffb7f70b000)
	libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007ffb7f499000)
	libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007ffb7f268000)
	libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007ffb7efb2000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007ffb7ed8a000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007ffb7eb06000)
	libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007ffb7e8fc000)
	libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007ffb7e683000)
	libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007ffb7e47d000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007ffb7e145000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007ffb7df41000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007ffb7dd3b000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007ffb7db15000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007ffb7d8f9000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007ffb7d5dd000)
	libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007ffb7d3c3000)
	libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007ffb7d14c000)
	libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007ffb7cf43000)
	libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007ffb7cd18000)
	libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007ffb7ca6f000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007ffb7c855000)
	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007ffb7c640000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007ffb7c42b000)

Desn’t seem there’s some DXF reading library from the system… anyway, I didn’t find any string “dxf” in all libraries names. So I can’t imagine, why you say that dxf import in your 0.9.19 version is different to mine :frowning:

  tloudev@stodolar /usr/local $ grep -ri dxf LightBurn/* |grep -v lang
  Binary file LightBurn/AppRun matches
  Binary file LightBurn/LightBurn matches
  Binary file LightBurn/lib/libicudata.so.56 matches

But this library comes with LightBurn, so it should use the same behavior, shouldn’t it?

So, I downloaded and installed 0.9.20 right now, and teh result is still the same :frowning:

Looks like it opens OK in Linux Mint with LB 0.9.20

hmmm… so something wrong with my linux Mint :frowning: Please be so kind and export it for me to lbrn, I swear this is the (first and) last time… thanks.

1 Like

Here is the file cleaned up a bit
FH_Stand.lbrn (143.2 KB)

LightBurn doesn’t use external libraries for file importing - I wrote all the importers from scratch.

That said, this file comes in very small, so my suspicion is that you have the DXF Auto-Close setting too high, and it’s merging vertices that shouldn’t be.

What do you have this set to?

image

HA! That’s it! I have 1.000mm tolerance. After decreasing to 0.001 the image is OK. THANK YOU BOTH guys.

1mm is huge for that setting. I usually default it to 0.01mm, maybe 0.05mm. Personally I have my own set to zero, so things have to be exact to be joined.

A post was split to a new topic: DXF import trouble

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.