straight plunges versus ramp plunges

cnc-club.ru for English speaking users
Scott

straight plunges versus ramp plunges

Сообщение Scott »

I am wondering about the feasibility of implementing some sort of simple ramping plunge code into gcodetools. As you probably know, straight plunges are not that great for end mills, and as a result currently when I am using gcodetools I have to set my layer thickness quite a bit smaller than it really needs to be in order to be kind to the bit.

One very simple, but somewhat inefficient ramping plunge algorithm would be to take the first gcode segment after a plunge, do it in reverse including a plunge, and then perform the rest of the cutting as usual.

So, for example if there was a path to do a square with a straight plunge:

G00 Z5.000000
G00 X1.00 Y1.00

G01 Z-1.0 F100.0
G01 X2.00 Y1.00 Z-1.0 F125.000000
G01 X2.00 Y2.00 Z-1.0 F125.000000
G01 X1.00 Y2.00 Z-1.0 F125.000000
G01 X1.00 Y1.00 Z-1.0 F125.000000
G00 Z5.000000

You could implement a ramping plunge by doing the first segment in reverse, then doing the path as normal:

G00 Z5.000000
G00 X2.00 Y1.00 (go to the end of the first segment)
G01 Z0.0 F100 (go to the surface)
G01 X2.00 Y1.00 Z-1.0 F125.000000 (then ramp plunge)

G01 X2.00 Y1.00 Z-1.0 F125.000000 (then do the rest of the path as usual)
G01 X2.00 Y2.00 Z-1.0 F125.000000
G01 X1.00 Y2.00 Z-1.0 F125.000000
G01 X1.00 Y1.00 Z-1.0 F125.000000
G00 Z5.000000

I think the same idea would work with arcs, only the path reversal part becomes a bit more complicated. If the first segment of the cut is very short or very long, then this might not work the greatest.

This could in theory be implemented as a post-processor.

Thoughts?

Scott
Scott

Re: straight plunges versus ramp plunges

Сообщение Scott »

Arghh. the ramp plunge segment would actually be:

G01 X1.00 Y1.00 Z-1.0 F125.000000 (then ramp plunge)

not:

G01 X2.00 Y1.00 Z-1.0 F125.000000 (then ramp plunge)

Hopefully that illustrates the idea.

Scott
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: straight plunges versus ramp plunges

Сообщение Nick »

Thats a really nice idea!

And yes it probably will be not to hard to implement it as a post processor. One thing could cause a problem - if the first segment is to short there could be a problem...
Ответить

Вернуться в «English forum»