Page 1 of 1

Material thickness in macro

PostPosted: Sat Feb 17, 2024 6:18 pm
by AUKURAS
Hello everyone,

I'm writing a macro for the automatic dust shoe.

What would be the function to get material thickness from the g-code loaded?

Cheers

Re: Material thickness in macro

PostPosted: Sat Feb 17, 2024 6:57 pm
by ger21
Most g-code does not specify the material thickness. And afaik, there is no g-code for material thickness.

I use an industrial machine that has an automatic dust shoe. It uses a proprietary g-code, and a proprietary controller. The g-code specifies the shoe position at the start of the cut.

One way to do it would be to assign the shoe to the B or C axis, and have your post processor output the shoe position.

Re: Material thickness in macro

PostPosted: Sat Feb 17, 2024 7:34 pm
by AUKURAS
Dust shoe already has A axis assigned. My post processor in the beginning of the g-code specifies material dimensions:

Material Size
X:300 Y:300 Z:20

I thought that's universal and there is already a function for it.
I guess I have to do it on the processor side as you have said.

Thanks!