Gearcode, emc, and me

cnc-club.ru for English speaking users
rray
Новичок
Сообщения: 15
Зарегистрирован: 30 дек 2010, 17:50
Репутация: 0
Контактная информация:

Gearcode, emc, and me

Сообщение rray »

Maybe you can suggest new settings to fix this
I used gearcode and gcodetools to produce ngc files for 10 and 20 tooth gears
I modified for tool offset and cut the gears with no problem
When I create a 30 tooth gear and add tool offset code emc gives
"Near line 51 of /home/rray/gear_30.ngc: Straight feed in concave corner cannot be reached by tool without gouging"
Using Emc 2.4.6 and your latest gears-dev.tar.gz
I am very new to cnc so all suggestions are welcome

Richard
Вложения
snapshot5.png (12312 просмотров) <a class='original' href='./download/file.php?id=1107&sid=6ba1bfb96093ae559f52ed5a0f313eb4&mode=view' target=_blank>Загрузить оригинал (174.42 КБ)</a>
gear_30.ngc
(16.62 КБ) 1623 скачивания
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Gearcode, emc, and me

Сообщение Nick »

Your problem is all about tool's radius compensation.

Firstly, radius compensation is really complicated problem, and it's really hard to solve it.

Secondly, there's a point for EMC2 to stop executing the program if it faces with strange place. Because there's non zero probability that it could follow to break the part or even the whole machine.
And such situation comes up if EMC2 can not reach a line or an arc with given compensation radius.
Ex:
EMC2 G41 G42 compensation problem.png (12309 просмотров) <a class='original' href='./download/file.php?id=1109&sid=6ba1bfb96093ae559f52ed5a0f313eb4&mode=view' target=_blank>Загрузить оригинал (21.15 КБ)</a>
As they say at the EMC2 mailing list if you meet such error the tool's radius compensation should be made by CAM program.

So, all you need to do is: select your gear, then pres Ctrl+J to make it dynamic offset. Open XML editor by pressing Ctrl+Shift+X, and change inkscape:radius value to your tool's radius in px. 1 inch = 90 px so for 0.125inch it would be 11.250px. Then convert the path back to path from dynamic offset by pressing Ctrl+Shift+C. And export it to Gcode with out using tool's radius compensation.
Dmawzx
Новичок
Сообщения: 17
Зарегистрирован: 04 фев 2015, 21:21
Репутация: 0
Настоящее имя: Дмитрий
Контактная информация:

Re: Gearcode, emc, and me

Сообщение Dmawzx »

А можно ответ на этот вопрос по русски :)
Если я правильно понял, то кривую надо порезать на мелкие отрезки из прямых линий.
У меня такая же проблема: Arc move in concave corner cannot be reached by the tool without gouging
flin8558
Новичок
Сообщения: 1
Зарегистрирован: 27 дек 2020, 05:07
Репутация: 0
Настоящее имя: francis
Контактная информация:

Re: Gearcode, emc, and me

Сообщение flin8558 »

anyone can help to convert this pdf to g code
Вложения
pin.pdf
(29.73 КБ) 191 скачивание
Ответить

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