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

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

Зарегистрированные пользователи: 3DLab, 4arus, aftaev, Al70, Alexf2a, Argon-11, Адекс, Bing [Bot], DEИ, Dimka_almighty, Duhas, Enot_1, Google [Bot], jimgood, legi0ner, MGG, NikolayUa24, realex, Redmn, sorter, ssisk, SVP, Udintsev, UNCLES, VAT, vektor_z, vladumur, Yahoo [Bot], Yandex [bot], ТБД

Поделиться

Reputation System ©'