1
Newfangled Solutions Mach3 Wizards / Re: Writing Wizards
« on: November 27, 2007, 10:26:54 PM »
My G-code got a little out of hand. I ended up with a big sset that would face off barrels up to 1.2 inches in diameter at 11 degrees. It goes something like this:
starting zeros for z and x would be on the center line of barrel even with the end
g01 z.2671 x1.2 f08
g00
x0
z-.005
g01 z.2621 x1.2 f08
g00
x0
z-.010
g01 z.2571 x1.2 f08
and it goes on untill the depth gives you a complete eleven degree cut.
I would want to be able to input:
the diameter of barrel, that would be the x number in the line g01 z.2517 x(insert diameter here) f08
the total depth of cut, that would be the number of times it looped around subtracting .005 from the z every time around
And maybe feed rate for the roughing passes and finish pass
THanks
Steve
starting zeros for z and x would be on the center line of barrel even with the end
g01 z.2671 x1.2 f08
g00
x0
z-.005
g01 z.2621 x1.2 f08
g00
x0
z-.010
g01 z.2571 x1.2 f08
and it goes on untill the depth gives you a complete eleven degree cut.
I would want to be able to input:
the diameter of barrel, that would be the x number in the line g01 z.2517 x(insert diameter here) f08
the total depth of cut, that would be the number of times it looped around subtracting .005 from the z every time around
And maybe feed rate for the roughing passes and finish pass
THanks
Steve