Inkscape Gcodetools plug-in English support forum

cnc-club.ru for English speaking users

What function should we develope next?

Можно выбрать до 5 вариантов ответа

 
 
Результаты голосования

Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Generated Gcode in EMC2 (1356592 просмотра) <a class='original' href='./download/file.php?id=508&mode=view' target=_blank>Загрузить оригинал (21.99 КБ)</a>
Generated Gcode in EMC2
TypeExtension of vector
graphics editor Inkscape
DeveloperGcodetools develop team
Written inPython
OSCross-Platform (Windows, Linux, MacOS)
Version1.6.03
LicenseGNU GPL
Downloads7800+

Gcodetools

Gcodetools is a plug-in for Inkscape. It prepares and converts paths from Inkscape to Gcode, using biarc interpolation.
This article is unfinished. You can help cnc-club expanding it.
Screenshots and photos are needed. Please post them at this thread.
Features (для просмотра содержимого нажмите на ссылку)

Features

Preview of the generated Gcode in EMC (1359516 просмотров) <a class='original' href='./download/file.php?id=130&mode=view' target=_blank>Загрузить оригинал (154.76 КБ)</a>
Preview of the generated Gcode in EMC
Gcodetools area pocketing (1345619 просмотров) <a class='original' href='./download/file.php?id=772&mode=view' target=_blank>Загрузить оригинал (147.75 КБ)</a>
Gcodetools area pocketing
Gcodetools lathe (1351940 просмотров) <a class='original' href='./download/file.php?id=642&mode=view' target=_blank>Загрузить оригинал (21.98 КБ)</a>
Gcodetools lathe
Gcodetools engraving by Rene (1352105 просмотров) <a class='original' href='./download/file.php?id=631&mode=view' target=_blank>Загрузить оригинал (233.84 КБ)</a>
Gcodetools engraving by Rene
Bears by Durachko (1287563 просмотра) <a class='original' href='./download/file.php?id=5429&mode=view' target=_blank>Загрузить оригинал (89.93 КБ)</a>
Bears by Durachko
Export to Gcode
  • Export paths to Gcode
  • Using circular (biarc approximation) or straight line interpolation
  • Automatic path subdivision to reach defined tolerance
  • Multiply tool processing
  • Export Gcode in parametric of flat form
  • Including personal headers and footers
  • Choosing units
  • Multi-pass processing
  • Numeric suffix is added to generated files to avoid overwriting
Lathe Gcode
  • Compute trajectories for lathe
  • Fine cut
  • Define fine cut's depth
  • Define fine rounds
  • Two different computation functions for fine cut
  • Standard axis remapping

Path's area processing
  • Building area paths
  • Area paths could be modified
Engraving
  • Building trajectory according to the cutter's shape
  • Defining different cutter's shapes
Tool's library
  • Defining different tool's parameters (diameter, feed, depth step, penetration feed, personal Gcode before/after each path, cutters shape, personal tool's changing Gcode)
  • Tools can be managed by Inkscape's standard procedures (copy, delete, assigned to different layer)
  • Multiply tools processing
Orientation system
  • Applying scale along any axis
  • Apply rotate in the ХY plane
  • Apply translation along any axis
  • Apply transforms according to arbitrary points
Post-processor
  • You can create custom post-processor by writing down the commands or choose from the list of default post-processors
  • Scale and offset Gcode
  • Gcode commands remapping
  • Parameterize Gcode
  • Round floating point values to specified precision
Verifying tools for the scene
  • Select and remove small paths (area artefacts)
  • Tool's alignment check
  • Cutting order check
Plotter cutting
  • Export to Gcode for plotter with tangential knife. Forth axis A is knife's rotation.
Install (для просмотра содержимого нажмите на ссылку)

Install

Windows
Unpack and copy all the files to the following directory Program Files\Inkscape\share\extensions\ and restart inkscape
Linux
Unpack and copy all the files to the following directory /usr/share/inkscape/extensions/ and restart inkscape
Screenshots (для просмотра содержимого нажмите на ссылку)

Screenshots

Gcodetools plug-in tutorial (2600*1300 px png ~ 700Kb) (1359519 просмотров) <a class='original' href='./download/file.php?id=127&mode=view' target=_blank>Загрузить оригинал (752.7 КБ)</a>
Gcodetools plug-in tutorial (2600*1300 px png ~ 700Kb)
Curve to Gcode result (1359525 просмотров) <a class='original' href='./download/file.php?id=103&mode=view' target=_blank>Загрузить оригинал (1023.52 КБ)</a>
Curve to Gcode result
Preview of the generated Gcode in EMC (1359516 просмотров) <a class='original' href='./download/file.php?id=130&mode=view' target=_blank>Загрузить оригинал (154.76 КБ)</a>
Preview of the generated Gcode in EMC
Get latest version (для просмотра содержимого нажмите на ссылку)

Get latest versions

Latest stable version Gcodetools 1.7
gcodetools.tar.gz
Gcodetools 1.7
(75.25 КБ) 103133 скачивания
Older versions(ver 1.5)
gcodetools-1.6.tar.gz
Gcodetools 1.6
(56.6 КБ) 15526 скачиваний
(ver 1.5)
gcodetools.tar.gz
Gcodetools 1.5
(21.32 КБ) 11069 скачиваний
(ver 1.4)
gcodetools.tar.gz
(14.72 КБ) 27862 скачивания
(ver 1.2)
extensions.tar.gz
(9.01 КБ) 10876 скачиваний

Dev-version

You can try the newest development version by getting it from github repository https://github.com/cnc-club/gcodetools via web interface or using git clone git@github.com:cnc-club/gcodetools.git .
You'll need to run python create_inx.py to create inx files. After that install procedure is the same with the stable version.

Translations

Gcodetools is included into Inkscape v 0.49 so it will have native translations as other Inkscape's extensions. Until it is released you can use some self made translation packs:
Credits (для просмотра содержимого нажмите на ссылку)

Credits

Developers:
  • Nick Drobchenko (Nick)
  • Vladimir Kalyaev (Dormouse)
  • Henry Nicolas (Alfcnc)
  • Chris Lusby Taylor (ChrisInNewbury)
Translators:
  • John Brooker (greybeard from cnczone.com)
Develop (для просмотра содержимого нажмите на ссылку)

Develop

At the moment following features are being developed:
  • Plasma cutter extension
  • Turning lathe extension
  • Plotter extension
You can help us improve Gcodetools in several ways
  • Writing a report / bug report
  • Improve help and manuals
  • Publish G-codes / SVGs / other code
  • Publish photos / videos
  • Make a bug report
  • Help develop new features
  • Suggest a new feature
Tested on (для просмотра содержимого нажмите на ссылку)

Tested on

Linux
Ubuntu 9.10 14.04 + inkscape 0.48 (older Gcodetools versions also work with 0.46, 0.47)
Windows
Windows XP, Windows Vista, Windows 7 + inkscape 0.46, inkscape 0.47
MacOS
There are some reports on successful work on MacOs.
otto_pjm
Новичок
Сообщения: 2
Зарегистрирован: 21 дек 2010, 02:27
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение otto_pjm »

Great stuff,

I've been using Vectric's Cut2D and Cut3D with my CNC Router, which I've now moved to a common maker space and have been searching for open and accessible tools that we can put on the resident Ubuntu machines, or that users can run on any OS they happen to have. Your Gcodetools plug-in looks great. I've spent a few days with the tutorials, and have managed to get the area tool to create the paths I expect, but I have a question, well two actually.

1)
Can I specify a step over or overlap parameter somewhere? So for instance if my tool is 10mm wide and I want a 60% step over, then the path's are only 4mm apart.

I'm not sure if this feature exists, and I'm missing it because it's named something else, or if it hasn't been developed, or needs to be manually produced by running the tool again after offsetting the size of the object I wish to cut out by some factor for smooth pocketing.

Let me know if this is unclear and I attach images of what I'm talking about.

2)
In the tutorials you mention that the area width is always in pixels, and the units setting (in or mm) does not matter. My question is, is this the only parameter that is not based on Inkscape's units setting? I use inches and set the tool diameter as such and it seems to work as expected, but wanted to know if there would be other non-inch based parameters.

Thanks again for the great tool.

Pete
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

1. Yes there's such feature, but it's in the development version...
See 5 posts above :^) http://www.cnc-club.ru/forum/viewtopic. ... =120#p1327


2. As long as Orientation points system was implemented you can use any units you want. Just make sure, that orientation points are in place.
So if you create create area curves with Area tab from gcodetools you wont have to do any unit conversations.
By the way check out our new Area fill function which fills the path with straight lines, so there no need to do any difficult path offsets:
http://www.cnc-club.ru/forum/viewtopic. ... =164#p1959
otto_pjm
Новичок
Сообщения: 2
Зарегистрирован: 21 дек 2010, 02:27
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение otto_pjm »

Excellent, not sure how I missed the the offset feature, that is exactly what I was hoping for, the Area fill looks very promising too, I'll pull the development code and check it out, thanks. I'll likely be pulling some documentation together to give a tutorial to the members at my maker space. I'd be happy to contribute it. what's the best format and way to do so.
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

I'll likely be pulling some documentation together to give a tutorial to the members at my maker space. I'd be happy to contribute it. what's the best format and way to do so.
That will be great! You can do in any format that suitable to you. And you can place it wherever you want, either at your own site (and give me a link to link it from the main page) or here at the forum.
bolo
Новичок
Сообщения: 2
Зарегистрирован: 04 янв 2011, 19:37
Репутация: 0
Контактная информация:

Inkscape Gcodetools in windows has no output

Сообщение bolo »

Hi folks! I'm trying to use g-code tools v1.4 in Windows, with Inkscape 0.48.0 r9654, but it seems that nothing happenes, unfortunately! :think: I tried c: with and without backslash, and "C:\Dokumente und Einstellungen\bo\" (my home dir), with activated logfile as you can see in the picture, but no file appeared there. Also on the screen nothing happened, no matter what values i set for tool diameter and area radius. I also tried version Gcodetools 1.6.04, where the 'what to do' section is missing, and it also didn't seem to work.

Has someone the same problem, or any idea?

Those are the tutorials I found:
http://www.cnc-club.ru/forum/viewtopic. ... t=82&p=993 from root
and other one from 10 Dec 2009, 10:28 and also this (http://kalyaev.com/2010/20100402/tut01/tut01.html)

cheers; :stepper:(?) bolo :D

Edit OHUH think i found out, it must be a general problem because none of my extensions work! I was just reading http://wiki.inkscape.org/wiki/index.php ... onsWorking but maybe I'll install all again.

servas! :D
Вложения
gebiet=area in english, this is german english mix :D (6866 просмотров) <a class='original' href='./download/file.php?id=1045&mode=view' target=_blank>Загрузить оригинал (97.82 КБ)</a>
gebiet=area in english, this is german english mix :D
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

You better use v1.6. we've split all the functions to different extensions/tabs (tab is a "page" in the extension's window).

So for example if you want co export path to Gcode you should open Path to Gcode extension from Gcodetools, fill in filename and dir, chose the Path to Gcode tab and press Apply.
Now "what to do" equals to active tab. So if you want area function - select Area tab, if you want Gcode select Path to Gcode tab.

If extensions do not work at all, try looking here http://wiki.inkscape.org/wiki/index.php ... ft_Windows . Gcodetools is a ordinal python script so all you need to make it work is to have an Inkscape and Python. So check if Python have been installed. (It should have been installed when you've installed Inkscape but may be something went wrong ;) )

PS if something goes wrong Gcodetools usually raises an error so you should know what exactly goes wrong.
bolo
Новичок
Сообщения: 2
Зарегистрирован: 04 янв 2011, 19:37
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение bolo »

Ah ok, think I got it now, it's probably easy when it's running. I'll have a look in the future.

Anyway thank you for the reply and for sharing your work! cool!
Salü, Новичок B. :)
Bartelime
Новичок
Сообщения: 3
Зарегистрирован: 26 май 2010, 22:46
Репутация: 0
Откуда: Switzerland
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Bartelime »

Dear all

I'm great fan of cnc-club and milled several projects so far. Yesterday I experienced a problem. The code seemed to be finde on EMC2 (Ubuntu 10.04). But when milling, it follows on a huge radius, when I understand the G-code, see picture and see what I mean. (I tried two fonts, Comics Sans / Tlwg Typist)

I tried several settings, even with Windows and on a Linux Computer with inkscape 0.48 and the stable Gcodeplugin 1.6 as well as the newest dev. revision from 17.01.2011.

I'm sure, I do not understand some parametric settings. But I have no idea where to adjust.

I'm really happy to every answer and hint where I need to fix that.

By the way, it's a fantastic tool! Congratulations to the developers!
Bartelime
Вложения
runaway.png (6873 просмотра) <a class='original' href='./download/file.php?id=1067&mode=view' target=_blank>Загрузить оригинал (11.79 КБ)</a>
tools.png (6873 просмотра) <a class='original' href='./download/file.php?id=1068&mode=view' target=_blank>Загрузить оригинал (35.74 КБ)</a>
getraenke_Mischanlage_Typist.svg
(179.69 КБ) 1204 скачивания
gCode_Reinigung.ngc
Parameters in Engrave: 130 / 30 / 4
(69.75 КБ) 1337 скачиваний
Последний раз редактировалось Bartelime 20 янв 2011, 18:54, всего редактировалось 2 раза.
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Thanks for the report could you attach you svg file?

I'll try to find out what's wrong.

PS I've heard about same situation while using Engraving function... :think:
Bartelime
Новичок
Сообщения: 3
Зарегистрирован: 26 май 2010, 22:46
Репутация: 0
Откуда: Switzerland
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Bartelime »

Wow, ultra fast reply!
Thanks and find the file attached above!
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

I've made a test of the "Reinigung" word and it was fine, probably it's because of different parameters...

Could you attach an ngc file to :).

PS I've posted a question about same bug from another user at the LinuxCNC.org - EMC2 developers site. And now waiting for their answer to ...
http://www.linuxcnc.org/component/optio ... 2/lang,ru/
alfcnc
Кандидат
Сообщения: 98
Зарегистрирован: 02 апр 2010, 19:10
Репутация: 0
Заслуга: Tester
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение alfcnc »

Hi !
Ill try to test new dev release of gcodetools , first the lathe extension but nothing work.
And after just the path to gcode and same problem ??? Inkscape 0.48 on Debian.
The svg is just a spriral , Two orientation point set with gcotools dev 1.6 last rev 173.
And standard tool... and i have nothing done and no errors...if I'll set the option direct viewing and then I have :

Traceback (most recent call last):
File "gcodetools-dev.py", line 5396, in <module>
e.affect()
File "/usr/local/share/inkscape/extensions/inkex.py", line 211, in affect
self.parse()
File "/usr/local/share/inkscape/extensions/inkex.py", line 139, in parse
self.document = etree.parse(stream)
File "lxml.etree.pyx", line 2706, in lxml.etree.parse (src/lxml/lxml.etree.c:49958)
File "parser.pxi", line 1522, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:72015)
File "parser.pxi", line 1552, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:72325)
File "parser.pxi", line 1435, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:71240)
File "parser.pxi", line 997, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:68381)
File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:64257)
File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:65178)
File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64521)
lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1

Thanks !
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Hmmm sounds strange.

I've just checked the Lathe function. And it works fine. May be you have defined wrong lathe width parameter...

And what's the "direct viewing"? Is it a kind of "Preview" check box at the bottom of the dialog window? If yes - it does not work :)! It is needed only for enabling editing the scene while extension's window is opened.

PS here's the screenshot of lathe:
lathe test 0001.png (6794 просмотра) <a class='original' href='./download/file.php?id=1075&mode=view' target=_blank>Загрузить оригинал (39.72 КБ)</a>
By the way in the development version there's a new function: modify path, to prepare the path for cutting with straight rectangular cutter:
Red path is the trajectory, black one is needed cut.
45261traekt.jpg (6794 просмотра) <a class='original' href='./download/file.php?id=1076&mode=view' target=_blank>Загрузить оригинал (24.15 КБ)</a>
And a simple test path made with gcodetools:
lathe gcode path preprocessing.png
lathe gcode path preprocessing.png (8.59 КБ) 6794 просмотра
Гость

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Гость »

Yes very curious !
I have update my inkscape 0.48 to last trunk recompile it but always the same nothing is generate ???
I have also try on inkscape on ubuntu that's the same problem ???? curious curious... i haven't have this problem before ???
I have try to change all the parameter...nothing work ? I've load some previous file that's was working before and try to reprocessing ...this do nothing ???
For lathe with etc...thank's but I know i have done many test for debugging.... :P the lathe function...
I'll try to find.
Wich version of inkscape do you use... ? win ? linux ? dev ? 0.47, 0.48 ?
alfcnc
Кандидат
Сообщения: 98
Зарегистрирован: 02 апр 2010, 19:10
Репутация: 0
Заслуга: Tester
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение alfcnc »

Yes very strange !
I have ever test with changing all the parameters... I'll have done so many test when debugging lathe function...
But with other function it's the same ???
I have test on ubuntu same problem ???
I'll try to find...
Which version of inkscape do you use ? 0.47,0.48 ? dev ? on win or Linux ?
Аватара пользователя
admin
Site Admin
Сообщения: 101
Зарегистрирован: 05 мар 2009, 18:23
Репутация: 54
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение admin »

There should not be any difference what version to use, 0.46-0.48 windows/linux.

Attach your svg, and I'll try to find out what is wrong...
alfcnc
Кандидат
Сообщения: 98
Зарегистрирован: 02 апр 2010, 19:10
Репутация: 0
Заслуга: Tester
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение alfcnc »

Ok ! master ! My svg !
test_spiral.svg
(26.58 КБ) 1055 скачиваний
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Hmm... Works "fine" at my side.
"fine" as fine as could be cutting such spiral on lathe :).
lathe test 0002.png (6789 просмотров) <a class='original' href='./download/file.php?id=1080&mode=view' target=_blank>Загрузить оригинал (25.92 КБ)</a>
But I've tested it at home on dev version at one of the latest revisions but not the last one, I'll try it on the last revision tomorrow at work.

Do other extensions (not Lathe or not Gcodetools) work fine, or not?
alfcnc
Кандидат
Сообщения: 98
Зарегистрирован: 02 апр 2010, 19:10
Репутация: 0
Заслуга: Tester
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение alfcnc »

I'll come to test on Debian same version but Inkscape 0.47 that's ok....
It's my Inkscape 0.48 on this computer who make things out of order...Excuse me !
Thank's a lot for speedy reply.
have a nice day.
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Probably there's a problem with Python or smf...
Ответить

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