Tangential knife lifts

cnc-club.ru for English speaking users

Tangential knife lifts

Сообщение jamesd256 » 31 окт 2017, 01:59

Hello

So far I have had good success with the software, but I have one problem.

I need gcode with few arcs, because arduino / RAMPS doesn't handle arcs well. This I can do by setting the arc angle to a very high value.

I would like to have lifts between moves for the tangential knife, but so far can only make it lift every time via the parameters.

I would like to have it lift only when the angle is greater than a certain value, so that it does not lift between segments of a circle.

I am willing to make changes to the code if it's not supported. Any suggestions?

Thanks for the great software.
jamesd256
Новичок
 
Сообщения: 2
Зарегистрирован: 31 окт 2017, 01:51
Репутация: 0
Настоящее имя: James Donnelly

Re: Tangential knife lifts

Сообщение jamesd256 » 31 окт 2017, 03:27

It looks clear that it's not supported from the code, but also clear it's easy to implement:

In gcodetools-dev.py [4625]:

Код: Выделить всёРазвернуть
      if tool['lift knife at corner']!=0. :
               g = "G00 Z%f  (Lift up)\n"%(depth+tool['lift knife at corner']) + "G00 "+ g + "G01 Z%f %s (Penetrate back)\n"%(depth,penetration_feed)
            else :    


It seems like this is the place to check the angle before doing the lift. The angle is checked before against TURN_KNIFE_ANGLE_TOLERANCE on line 4621
jamesd256
Новичок
 
Сообщения: 2
Зарегистрирован: 31 окт 2017, 01:51
Репутация: 0
Настоящее имя: James Donnelly


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

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

Зарегистрированные пользователи: Alex lamaka, Alex_C, arkhnchul, Bing [Bot], dima7411, error101, Finam, gendos, Google [Bot], Google Feedfetcher, grek, Igor26rus, jb_arch, leprud, MGG, Montis, MX_Master, niksooon, Nixon, NKS, selenur, sima8520, sivolap36, sorter, SovietTwins, timo13, tooshka, tronhejm, ukr-sasha, Umnik, vektor_z, Yahoo [Bot], Yandex [bot], Владимир_36

Поделиться

Reputation System ©'