flatcam

Open full view…

Import of Excellon

hgottlieb
Wed, 09 Jan 2019 08:25:03 GMT

If G93 is in Excellon file it will fail import.

hgottlieb
Wed, 09 Jan 2019 08:31:05 GMT

Example file "Currentload-NC.drl" https://www.dropbox.com/s/l288goxthw5xkt6/Currentload-NC.DRL?dl=0 Generate error, but after detete of G93X0Y0 in line 18 it do import with no error

Marius Stanciu
Wed, 09 Jan 2019 09:59:10 GMT

In Excellon file G93 sets work zero relative to absolute zero. I can see the reported issue in the custom versions of FlatCAM that I've posted in the last year or so. Perhaps it is also in FlaCAM 8.5. I'll have a look and if possible for me to fix I will post the fix in FlatCAM beta.

Marius Stanciu
Wed, 09 Jan 2019 10:32:55 GMT

OK, found the problem. The problem is not the presence of G93 in the file. The problem is that the line with G93 contain also a set of coordinates: --- G93X0Y0 T1C.889F197S55 --- and as you can see this happen before the first toolchange event (when Excellon file declare the usage of the first tool, T1). Because of this, FlatCAM tries to use an empty tool which concludes into an error which abort the entire Excellon parsing (actually the Excellon geometry creation). To fix this issue: - either you move the line starting with G93 after the line with T1, through manual editing like this: --- T1C.889F197S55 G93X0Y0 --- making sure you set the CNC zero (origin) in the GCode sender software (MACH3 etc) - delete the G93 line making sure that the CNC origin is set OK. - or the Excellon parser has to be changed to take into consideration the case of G93 which is a command that only the GCode sender (MACH3, bCNC etc) should be aware therefore FlatCAM should ignore the coordinates on the same line with G93 when creating the Excellon geometry and pass them to GCode as it is.

Marius Stanciu
Wed, 09 Jan 2019 13:51:44 GMT

For now I've added a fix in FlatCAM beta that will skip this command (actually any drill point without an associated tool. It will be as it is not there) therefore opening the file. A message is issued in Tcl window warning the user about the fact that there are issues and that the resulting GCode should be checked. In your case you'll have to manually set the work zero of your CNC machine.

Marius Stanciu
Wed, 09 Jan 2019 22:24:51 GMT

I just posted a new FlatCAM beta installer which is addressing the reported issue as explained above. See the dedicated topic for download link.

hgottlieb
Fri, 18 Jan 2019 10:43:30 GMT

I have install Beta version but it starts and shut down, is there som thing missing?

Marius Stanciu
Fri, 18 Jan 2019 11:02:50 GMT

You'are not the first to report this, it seems that something is wrong in certain configurations. One of the Python modules that I used for font parsing is not behaving correctly for certain config's. I have tested the installer in a virtual machine and it works OK. Try it also in a virtual machine, you will see that it works. Basically, something in your Windows conflicts with something in FlatCAM beta.

Marius Stanciu
Sun, 20 Jan 2019 02:57:27 GMT

I've uploaded a new Beta. Try and see if the issue is still present. After that, please report the result here so I know if the issue is solved.

hgottlieb
Mon, 21 Jan 2019 11:48:57 GMT

It diden't help on my computer, my SmartScreen also claim that there is no certificat. Tried to upload a video but it is not accepted.

Marius Stanciu
Wed, 23 Jan 2019 17:24:04 GMT

I just uploaded new Beta installers. Please try the new version and post here if the issue is solved.

hgottlieb
Wed, 23 Jan 2019 18:51:59 GMT

I have tested and it work, thanks.