multiple shape milling levels

More
11 years 11 months ago #53139 by Segitarius
Hello

I contend with following problem:
I try to write a program that mills some shape around with few passes. Each passage makes my mill work deeper in "Z" axis.
Now I am doing it this way (unprofessional in my opinion):

...
N4.... G41 etc...
N5... Shape
N6... Shape

z-1

shape

z-2

shape

z-3

etc...

Is there some more professional way to write a program for milling in multiple passes? Like sort of canned cycle or some g code... ?


Any help will be appreciated

Konrad

Please Log in to join the conversation.

More
11 years 11 months ago #53140 by ArcEye
Hi

Have a look at JT's gcode tutorial
www.gnipsel.com/linuxcnc/g-code/index.html

Such a thing is easily done in a conditional loop
eg
Code:
#<_cut_depth> = 10 #<_current_depth> = 1 o100 DO G0 Z-#<_current_depth> shape #<_current_depth> = [#<_current_depth> + 1] o100 WHILE[#<_current_depth> LE #<_cut_depth>]

regards

Please Log in to join the conversation.

More
11 years 11 months ago #53141 by Segitarius
Thank you :)

Please Log in to join the conversation.

Time to create page: 0.100 seconds
Powered by Kunena Forum