Tangential knife: rotation limit of -360 to 360 degrees

cnc-club.ru for English speaking users
felixbeck
Новичок
Сообщения: 3
Зарегистрирован: 30 окт 2014, 23:51
Репутация: 1
Настоящее имя: Felix Beck
Контактная информация:

Tangential knife: rotation limit of -360 to 360 degrees

Сообщение felixbeck »

Dear Nick, I'm using LinuxCNC, Inkscape and gcodetools in order to cut polyester fabric with a tangential knive on my self build CNC-machine.
I use different kind of knives to cut. One of them is a hot-knive which melts the fabric while cutting. This tool has a cable and can therefore be rotated between -360 and 360 degrees.
Unfortunately, gcodetools produces values for the A-Axis which are 'infinite'. I've seen values greater than 500. Is it possible to limit the values in the range of -360 to 360 by setting the tool parameters?
Please find attached the corresponding incscape and gcode files.
Thank you very much, with best regards, Felix
Вложения
Folie Teil 1 Incscape offsets.svg
(809.8 КБ) 1379 скачиваний
Folie 1.ngc
(53.43 КБ) 1188 скачиваний
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Tangential knife: rotation limit of -360 to 360 degrees

Сообщение Nick »

You can do the following:
We assume that your paths is closed => has one full turn => it will fit -360 +360 degrees.

Now all we need is goto 0 after each path and start over the next path...
You are using linuxcnc - you are lucky because we have a lot of ways how to do it :)...

===============
hmmm that appears it's not so easy :(. It would be easy if you got -720 +720...
=======
ok another solution.
The thing is that you need all your paths to start at the left side of the path.
So select all your paths, add stroke 20px, add "Marker start" as something big and notable.
If it to the right of the path, use node editing (F2) select one of the nodes to the left and press Button (one node)-to-(two separate nodes).

And then check the Gcode.

PS if you put A axis limits into ini of the linuxcnc - it will check the Gcode automatically.
felixbeck
Новичок
Сообщения: 3
Зарегистрирован: 30 окт 2014, 23:51
Репутация: 1
Настоящее имя: Felix Beck
Контактная информация:

Re: Tangential knife: rotation limit of -360 to 360 degrees

Сообщение felixbeck »

Hi Nick,

thank you very much for your suggestions and ideas!
You are right incscape with gcodetools is very powerfull and flexible!

Meanwhile, I wrote a piece of software which postprocesses your generated G-Code from gcodetools to make it fit in -360 to 360.
I also replace G01 by G00 for A-axis rotation to speed up turning and insert Z-Axis lifts if the rotation is e.g. greater than 15 degrees in order to allow the use of a rotary cutter and to improve cutting results with the hot-knife.

Cutting results are perfect!

The tool was developped using Qt (C++). This was my first work with Qt.
As soon as I find out how to compile the tool to run without Qt I will post it.
until then please find attached the code and a screenshot.

Thank you very much again for writing gcodetools.
It became an very important tool in my tool-chain!

Best regards,
Felix
Вложения
mainwindow.cpp
(15.94 КБ) 1557 скачиваний
Screenshot.png (11915 просмотров) <a class='original' href='./download/file.php?id=36754&sid=c6651953e4a96e5de38862c9580a7cd5&mode=view' target=_blank>Загрузить оригинал (219 КБ)</a>
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Tangential knife: rotation limit of -360 to 360 degrees

Сообщение Nick »

Wow! Cool! :)

By the way if you can make a cli (Command line interface) for your program it can be easier to use with LinuxCNC.
I.e. add parameters like --a-axis-g0 --insert-zlift and so on, and output Gcode to standard output - then it can be used as a FILTER.

Or just add standard output, and you will be able to use FILTER of LinuxCNC http://linuxcnc.org/docs/html/config/in ... ER-Section then you'll see your window.
Ответить

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