straight plunges versus ramp plunges

cnc-club.ru for English speaking users

straight plunges versus ramp plunges

Сообщение Scott » 25 ноя 2010, 23:07

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 » 25 ноя 2010, 23:09

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
Scott
 

Re: straight plunges versus ramp plunges

Сообщение Nick » 25 ноя 2010, 23:18

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...
Аватара пользователя
Nick
Мастер
 
Сообщения: 22398
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1475
Заслуга: Developer
Медальки:


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

Кто сейчас на конференции

Зарегистрированные пользователи: al_us, Bing [Bot], Chili, daemon78, Dimka_almighty, evgenymcp, Google [Bot], ilia, iMaks-RS, keen, Maxix, mikehv, MX_Master, N1X, nebelnoir, nickoass, Nonstopich, Provodnik, r_v, RASKROY, sas_75, sazn86, solo, tbc, Technoart, Teddi, tpolimer2000, vladumur, woodshop, xenon-alien, Yandex [bot], Питерский, шпиндель

Поделиться

Reputation System ©'