Basic question: Howto cut several paths in one pass?

cnc-club.ru for English speaking users

Basic question: Howto cut several paths in one pass?

Сообщение James628 » 22 авг 2012, 23:35

Hi Friends,

I imported dxf file to Inkscape and now I have over 1000 objects converted to paths. Because all of them are placed along one long curve, I want to cut them in one pass (at -2mm Z level). Unfortunately the G code generated is not really efficient: every path is starting at safe Z level (20mm), penetration to Z -2mm and then the real cut for the path. How I could do it in one pass: G1 Z-2 ..... cut all the lines/curves... G1 Zsafe...done?
And a bonus question? How I could move the tool inside/outside of path (kind of tool radius compensation)?

Thanks for your support in advance.

Regards:
James
James628
Новичок
 
Сообщения: 28
Зарегистрирован: 19 июн 2012, 19:55
Репутация: 0

Re: Basic question: Howto cut several paths in one pass?

Сообщение Nick » 22 авг 2012, 23:46

Attach your svg... It's better to see once than 100 times hear of something :).

James628 писал(а):How I could move the tool inside/outside of path (kind of tool radius compensation)?

Several ways -
Dynamic offset - Ctrl+J and adjust radius moving contol point, or throught XML editor - Ctrl+Shift+x edit inkscape:radius (in px)
Stepped Offset - adjust steps in preferences dialog (Ctrl+Shift+P) and use Ctrl+( or ).
Or use Gcodetools offset, but it's being developed now so it's only available in dev version and is not stable...
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1332
Заслуга: Developer
Медальки:

Re: Basic question: Howto cut several paths in one pass?

Сообщение James628 » 23 авг 2012, 06:43

Hi Nick,


Thanks for the tips for the offset methods.

I installed the dev version.
It's pretty good that I can use Gcodetools-dev in parallel with the stable one.
Could you please explain in few words the Offset options? (step/radius, etc) Or where is this documented?

When I set radius/step offset -1.5, (I suppose it should generate path inside polygon) and pushed the apply button, I got this error message:
Traceback (most recent call last):
File "/usr/share/inkscape/extensions/gcodetools-dev.py", line 8112, in <module>
gcodetools.affect()
File "/usr/share/inkscape/extensions/inkex.py", line 207, in affect
self.effect()
File "/usr/share/inkscape/extensions/gcodetools-dev.py", line 8085, in effect
draw_csp([iii], color="Green", width=1)
TypeError: draw_csp() got an unexpected keyword argument 'color'


Can I make the "Gcodetools dev" windows smaller? It's too wide for my screen..


I attached the svg.
I want to cut the contour in one pass, and in second pass make the 8 circular holes.

Thanks
Вложения
right_side_contour.svg
(2.36 Мб) Скачиваний: 443
James628
Новичок
 
Сообщения: 28
Зарегистрирован: 19 июн 2012, 19:55
Репутация: 0

Re: Basic question: Howto cut several paths in one pass?

Сообщение Nick » 23 авг 2012, 09:53

The bad thing about dfx files is that all the paths imported from dfx are broken into the segments. You can see that your path consists of a number of elements.
So you'll gona need to join paths together you can do it either manually (by selecting the nodes and press the button to join two nodes into one). Or use Gcodetools preprocessor join_paths (in dev version in Path-to-Gcode at the preferences tab fill "join_paths();" into Additional pre-processor field).

To make offset you can also use Tools radius compensation Gcodes that are supported by Mach or LinuxCNC, or other controlling software. By the way what soft are you using to control your machine?

James628 писал(а):Can I make the "Gcodetools dev" windows smaller? It's too wide for my screen..

This window is tecnical window, you sould not use it.
Run "python create_inx.py" to create inx files similar to that you can see in stable version.
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1332
Заслуга: Developer
Медальки:

Re: Basic question: Howto cut several paths in one pass?

Сообщение Nick » 23 авг 2012, 11:42

Here's a small video - how to manage your paths. Unfortunately I had no microphone so video is soundless. Hope you'll get anything of that :).
http://youtu.be/yOMJdEsgb1A
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1332
Заслуга: Developer
Медальки:

Re: Basic question: Howto cut several paths in one pass?

Сообщение James628 » 23 авг 2012, 21:56

Hi Nick,

Thanks for the very useful feedback.
I know that dxf is not the best option for this type of work, but I got it as the only input. Thanks to your guidance I managed to cut the part.
I learned a lot, and the development version is very good so far.

I use exclusively LinuxCNC, soon I plan to use it for laser cutting engraving too.

Bye:
James
James628
Новичок
 
Сообщения: 28
Зарегистрирован: 19 июн 2012, 19:55
Репутация: 0

Re: Basic question: Howto cut several paths in one pass?

Сообщение Nick » 23 авг 2012, 22:41

LinuxCNC has it's own tool radius compensation Gcodes see G41-G42 http://linuxcnc.org/docs/html/gcode/gco ... ec:G41-G42
Other offsets will close the path and LinuxCNC's offset will left it opened.
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1332
Заслуга: Developer
Медальки:


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

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

Зарегистрированные пользователи: A-Tr, Alex lamaka, Alex_C, arkhnchul, bawero, Bing [Bot], Demitri, dima7411, error101, Finam, frezeryga, gendos, Google [Bot], Google Feedfetcher, jb_arch, leprud, MGG, Montis, MX_Master, niksooon, Nixon, NKS, selenur, sima8520, Smlua, sorter, Studendt, tooshka, ukr-sasha, ultrus, Umnik, vektor_z, vladumur, xvovanx, Yahoo [Bot], Yandex [bot], Владимир_36

Поделиться

Reputation System ©'