problem calculating dimensions in x and y

Help for setting up and using
Post Reply
neptunier
Posts: 21
Joined: Tue Sep 02, 2014 12:47 pm

problem calculating dimensions in x and y

Post by neptunier »

hello,
i have a very strange problem. autlleveller cannot calculate the x lenght and y length of a gcode in some cases although it was made by the same cam and postprocessor, and the same geometry. here are the examples: https://www.dropbox.com/sh/72r60xydzvl0 ... 8_GXa?dl=0

i tried 3 different versions of autoleveller, no luck.

does anybody know how to solve that?

thanks,
michael
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: problem calculating dimensions in x and y

Post by daedelus »

Is this Autoleveller or AutolevellerAE you are using, or both?
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.

http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.

-James
neptunier
Posts: 21
Joined: Tue Sep 02, 2014 12:47 pm

Re: problem calculating dimensions in x and y

Post by neptunier »

hi james,
i use the normal autoleveller and i know how to use it. i did already do quite a bit of work with it.
i was wondering why the software cannot calculate the x y dimensions with very simular geometry and the same cam and postprocessor.
in some cases it works and some cases not. i dont find the logic why it does not work in those cases.

thanks,
michael
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: problem calculating dimensions in x and y

Post by daedelus »

Michael,

I know you are a long time user of Autoleveller and are probably very experienced and comfortable with it, however...

I do not know what the issue is but dont spend any time on fixing issues with the original AL now.
AE has a much more thorough parsing mechanism of the original GCode file and may fix the issue anyway.
The interface is very similar to the original AL and should not take much time to get used to it.

I would encourage you to try AutolevellerAE for these reasons. You might end up preferring it anyway.
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.

http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.

-James
neptunier
Posts: 21
Joined: Tue Sep 02, 2014 12:47 pm

Re: problem calculating dimensions in x and y

Post by neptunier »

hi james,
thanks for your suggestion.
i was trying the ae version and installed java8 on windows7, the offline version. however i do not get the programm to run, even though i tried the cmd.
attached the error message from the console.
the .exe also does not work.

any idea?

thanks,
michael
Attachments
autoleveller error.txt
(11.24 KiB) Downloaded 290 times
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: problem calculating dimensions in x and y

Post by daedelus »

Aha, this is the exact same issue as the other thread I am dealing with: viewtopic.php?f=8&t=355

In short, it cannot make one particular change to your settings.xml file but I am not sure why yet. Still thinking about this one.

Please follow the thread mentioned above until I can resolve this.
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.

http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.

-James
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: problem calculating dimensions in x and y

Post by daedelus »

Michael,

As you may have seen, the bug with AE has been fixed now, and if you re-download the same 0.8.5 file it should work now.

Your original issue will not be fixed by AE however, although I would still encourage you to give it a go.

I think the problem you are seeing is due to the GCode files not having any lines where the Z value is a negative number. AL and AE will happily ignore any lines where Z is a positive value. It does this because it assumes that any moves at a negative Z are below the surface of the material and will therefore need to be levelled, whereas moves at a positive Z are above the surface and no not need levelling.

Since none of your Z values in your GCode venture below zero, you will see that x and y length remain at 0. To fix this, just make adjustments to the depth in your cam. Even if you set the depth to -0.00001 it would work.

Hope this helps,
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.

http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.

-James
Post Reply