Hello Guest it is April 25, 2024, 01:16:36 PM

Author Topic: Mach 4 auto "bed" compensation  (Read 797 times)

0 Members and 1 Guest are viewing this topic.

Mach 4 auto "bed" compensation
« on: September 30, 2021, 06:55:49 PM »
So I am coming from the 3D printing world where it is very common to use Gcode to probe the bed in many places and use those values to compensate the z axis. I have been cutting some 6mm aluminum sheets and they aren't always perfectly flat even after multiple securing points. I am have searched the wild lands of google and these forums and I don't really see anyone talking about it much? Is there a way to achieve this with a Lua macro of some kind relatively simply? Thanks, from a very new guy to CNCs.
Re: Mach 4 auto "bed" compensation
« Reply #1 on: September 30, 2021, 09:22:41 PM »
Hi,
there are two ways that I know of.

I use Autoleveller, a freeware program that generates a Gcode probing routine from your original Gcode file,
then probes the substrate, then corrects the original Gcode file to accommodate the substrate not being perfectly flat.
I've been using it for years making PCBs which are very sensitive to Z axis engraving/cutting height.

The other is the mcSurface wizard of Mach4. It will probe an area according to your definition and then automatically
adjust ALL z axis ordinates thereafter, on the fly, without recomposing or otherwise editing the Gcode.

Both achieve the same result. Autoleveller is a clear and transparent process that is used again and again as required. mcSurface
is more intended that the baseboard of the router be probed and thereafter all corrections happen within Machs core and not
really subject to your control. It was always intended as a 'probe once and forget' type solution whereas Autoleveller is a
'probe each workpiece and modify the Gcode to suit' solution.

Either will work.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Mach 4 auto "bed" compensation
« Reply #2 on: October 01, 2021, 03:13:27 AM »
There is a video on the surface wizard on the Mach Support youtube channel

https://www.youtube.com/watch?v=M4o6dfQrAo8