Development version import problems

Having problems with or questions about SheetCam? Post them here.
Post Reply
mancavedweller
Posts: 100
Joined: Tue Feb 25, 2014 6:53 am

Development version import problems

Post by mancavedweller » Sun Sep 08, 2019 4:09 am

Hi Les,

Dev. version 6.1.62

Various "arty" type DXF files will not import into Dev. version, but will import without problem into Standard version.

First "Loading Drawing / Reading File" takes a long time, then "Removing Duplicate Vectors" just locks up and nothing else happens. I have to force close the program.

Here's one of the various files that give this problem:
basketball-and-soccer-ball-on-fire-vector.dxf
(118.64 KiB) Downloaded 5 times
Keith

User avatar
Les Newell
Site Admin
Posts: 2289
Joined: Thu May 11, 2006 8:12 pm

Re: Development version import problems

Post by Les Newell » Mon Sep 09, 2019 11:24 am

The problem is overlapping line detection. SheetCam has to compare every line in the drawing with every other line to see they overlap. When you have thousands of lines this becomes very time consuming. If you leave it long enough the drawing will eventually load. Go to Options->application options->drawing import and turn off 'Remove duplicate lines'. This will really speed up loading.

mancavedweller
Posts: 100
Joined: Tue Feb 25, 2014 6:53 am

Re: Development version import problems

Post by mancavedweller » Mon Sep 09, 2019 12:39 pm

I don't think that's the issue Les.

In the Standard version, "Remove Duplicate Lines" is on, yet a big complicated arty file (DXF import) loads in 3 seconds.

In the Development version I turn off "Remove Duplicate Lines" and yet when I try to import the exact same file, I can wait minutes and the computer pretty much becomes unusable. Something is very different in the Development version.

The relatively simple file I gave you did manage to load in the Development version when I turned off "Remove Duplicate Lines", but it did take about 12 seconds. When I load that simple file in Sheetcam Standard ("Remove Duplicate Lines" enabled) the import is instant.

That DXF file is only 118 Kbytes in size so it's not a large file at all. And the fact that is loads instantly into Standard version ("Remove Duplicate Lines" enabled), yet takes about 12 seconds in Development version (with "Remove Duplicate Lines" disabled) indicates something is wrong in the Development version.

I enabled "Remove Duplicate Lines" in the Development version again and tried to import the simple file and waited several minutes but it would not finish. Remember it loaded instantly into the Standard version with the same setting.

Keith

User avatar
Les Newell
Site Admin
Posts: 2289
Joined: Thu May 11, 2006 8:12 pm

Re: Development version import problems

Post by Les Newell » Mon Sep 09, 2019 12:54 pm

Could you check your drawing import options, Options->application options->drawing import. Are they the same on both versions? Your drawings contain a lot of spline curves. As G-code cannot handle splines they are broken into lots of short line segments. Your drawing import options have a big effect on the number of lines generated.

mancavedweller
Posts: 100
Joined: Tue Feb 25, 2014 6:53 am

Re: Development version import problems

Post by mancavedweller » Mon Sep 09, 2019 8:28 pm

Settings are identical Les.

I uninstalled v6.1.62 completely, settings and everything, even my license file.

Then installed v6.1.53 and my big complicated arty file imported without issues ("Remove Duplicate Lines" enabled). Not as fast as the Standard version mind you, but just a few seconds longer.

The next available install version I had was v6.1.59 and I get the same issues as v6.1.62 so it seems between v6.1.53 and v6.1.59 something has changed as far as importing goes.

If you could give me a link where I can download previous installs, I could check to see exactly which version the problem appears in.

Keith.

mancavedweller
Posts: 100
Joined: Tue Feb 25, 2014 6:53 am

Re: Development version import problems

Post by mancavedweller » Wed Sep 11, 2019 10:47 pm

mancavedweller wrote:
Mon Sep 09, 2019 8:28 pm
If you could give me a link where I can download previous installs, I could check to see exactly which version the problem appears in.

Keith.
Hi Les,

do you have a link you could give me ?

Keith

User avatar
Les Newell
Site Admin
Posts: 2289
Joined: Thu May 11, 2006 8:12 pm

Re: Development version import problems

Post by Les Newell » Thu Sep 12, 2019 8:54 am

Sorry for the delay in replying. I was working away yesterday.
There aren't any Windows releases between 6.1.53 and 6.1.59. Those were Linux releases.
I have a suspicion I may know what is going on. I will run some tests and see what I can find.

User avatar
Les Newell
Site Admin
Posts: 2289
Joined: Thu May 11, 2006 8:12 pm

Re: Development version import problems

Post by Les Newell » Thu Sep 12, 2019 11:10 am

Found it. The next version will import splines much faster and with greater accuracy. It should be faster then the stable version. Remove duplicate lines is now automatically disabled for complex shapes that would take a long time to check.

robertspark
Posts: 117
Joined: Thu Feb 26, 2015 12:11 am
Location: nr Liverpool, England

Re: Development version import problems

Post by robertspark » Thu Sep 12, 2019 5:09 pm

I use "overkill" in autocad to remove duplicate lines, it normally clears most of my copy and paste errors
Rob

mancavedweller
Posts: 100
Joined: Tue Feb 25, 2014 6:53 am

Re: Development version import problems

Post by mancavedweller » Fri Sep 13, 2019 5:33 am

Les Newell wrote:
Thu Sep 12, 2019 11:10 am
Found it. The next version will import splines much faster and with greater accuracy. It should be faster then the stable version. Remove duplicate lines is now automatically disabled for complex shapes that would take a long time to check.
Thanks Les,

I use Coreldraw a lot and I've heard its DXF export is not the best.

I even tried to work around it by export/save as an AI file, then opening in Adobe Illustrator CS2, then exporting as DXF from there.

Unfortunately that didn't seem to help.

So then I thought I'd buy the latest DXFTOOL for Coreldraw. It exports Coreldraw files as arcs and lines, not splines. However, that's only available up to Coreldraw X6 and I now have version 2019.

Keith

WyoGreen
Posts: 197
Joined: Wed May 07, 2014 10:02 pm

Re: Development version import problems

Post by WyoGreen » Fri Sep 13, 2019 4:20 pm

You could always export from CorelDraw as an .svg, Sheetcam likes .svg files.

LesNewell
Posts: 904
Joined: Sat May 13, 2006 2:34 pm

Re: Development version import problems

Post by LesNewell » Fri Sep 13, 2019 4:39 pm

The spline issue also affects SVG files :oops:
Anyway, it should be sorted in the latest release.

Post Reply