Kenny,
It is almost as you describe it. However, you will notice that in your sample, that you will not have a full depth cut from
X-1.952 Y2.7149
to
X-4.9368 Y1.6285
This is because of the Z value being added during the first feed movement.
In some circumstances such as roughing, this may be acceptable. At other times, you may want to add an intermediate XY position to ramp down to in Z, so that the rest of your code works as planned.
If the ramp is a shallow angle but to a significant depth, and yet must work in a confined space, then you may need a spiral ramp, which would be a whole series of XYZ movements interpolated from a helical spiral. If you have a cadcam system, this would be easier to accomplish.
__________________ First you get good, then you get fast. Then grouchiness sets in.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |