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 (1317980 просмотров) <a class='original' href='./download/file.php?id=508&sid=9341670e1531d1a45cc2fc6670a0e80c&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 (1320904 просмотра) <a class='original' href='./download/file.php?id=130&sid=9341670e1531d1a45cc2fc6670a0e80c&mode=view' target=_blank>Загрузить оригинал (154.76 КБ)</a>
Preview of the generated Gcode in EMC
Gcodetools area pocketing (1307007 просмотров) <a class='original' href='./download/file.php?id=772&sid=9341670e1531d1a45cc2fc6670a0e80c&mode=view' target=_blank>Загрузить оригинал (147.75 КБ)</a>
Gcodetools area pocketing
Gcodetools lathe (1313328 просмотров) <a class='original' href='./download/file.php?id=642&sid=9341670e1531d1a45cc2fc6670a0e80c&mode=view' target=_blank>Загрузить оригинал (21.98 КБ)</a>
Gcodetools lathe
Gcodetools engraving by Rene (1313493 просмотра) <a class='original' href='./download/file.php?id=631&sid=9341670e1531d1a45cc2fc6670a0e80c&mode=view' target=_blank>Загрузить оригинал (233.84 КБ)</a>
Gcodetools engraving by Rene
Bears by Durachko (1248951 просмотр) <a class='original' href='./download/file.php?id=5429&sid=9341670e1531d1a45cc2fc6670a0e80c&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) (1320907 просмотров) <a class='original' href='./download/file.php?id=127&sid=9341670e1531d1a45cc2fc6670a0e80c&mode=view' target=_blank>Загрузить оригинал (752.7 КБ)</a>
Gcodetools plug-in tutorial (2600*1300 px png ~ 700Kb)
Curve to Gcode result (1320913 просмотров) <a class='original' href='./download/file.php?id=103&sid=9341670e1531d1a45cc2fc6670a0e80c&mode=view' target=_blank>Загрузить оригинал (1023.52 КБ)</a>
Curve to Gcode result
Preview of the generated Gcode in EMC (1320904 просмотра) <a class='original' href='./download/file.php?id=130&sid=9341670e1531d1a45cc2fc6670a0e80c&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 КБ) 102159 скачиваний
Older versions(ver 1.5)
gcodetools-1.6.tar.gz
Gcodetools 1.6
(56.6 КБ) 14977 скачиваний
(ver 1.5)
gcodetools.tar.gz
Gcodetools 1.5
(21.32 КБ) 10559 скачиваний
(ver 1.4)
gcodetools.tar.gz
(14.72 КБ) 27110 скачиваний
(ver 1.2)
extensions.tar.gz
(9.01 КБ) 10339 скачиваний

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.
F3rr31r4
Новичок
Сообщения: 3
Зарегистрирован: 07 авг 2014, 18:51
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение F3rr31r4 »

Good afternoon.
I do not know how to write in English, but anyone have any tips on how to do the circle with just two arcs.
Thank you
Ferreira
narvf
Кандидат
Сообщения: 60
Зарегистрирован: 22 июл 2014, 11:39
Репутация: 4
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение narvf »

Maybe just draw a cricle and cut it with another shape and then you will have two arcs?
I am not sure if i understand you correctly.
Вложения
cirlce-arc.svg
(140.57 КБ) 836 скачиваний
F3rr31r4
Новичок
Сообщения: 3
Зарегистрирован: 07 авг 2014, 18:51
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение F3rr31r4 »

No, my doubts eWhen generates the gcode it generates this:

N1 M15
N2 X46.2864 Y24.6188

N1 M20 CL1
G1F30.000000
G02 X46.3191 Y23.9059 I-23.3889 J-1.4312
G02 X46.3302 Y23.1827 I-23.5829 J-0.7232
N1 X46.3302 Y23.1827
N1 X46.3302 Y23.1827
G02 X39.5505 Y6.815 I-23.1475 J-0.
G02 X23.1827 Y0.0353 I-16.3677 J16.3677
G02 X6.815 Y6.815 I0. J23.1475
G02 X0.0352 Y23.1827 I16.3677 J16.3677
G02 X0.0463 Y23.906 I23.5944 J0.
G02 X0.0791 Y24.619 I23.4243 J-0.7184
N1 M15

I want to generate this:

N67 M15 XX47.6900000 YY23.8450000
N90 M20 CL1
N115 #32
N120 G3X0.00000001Y23.8450000I23.8450000J23.8450000
N130 X47.6900000Y23.8450000I23.8450000J23.8450000
N170 M15

Grat, Leandro
narvf
Кандидат
Сообщения: 60
Зарегистрирован: 22 июл 2014, 11:39
Репутация: 4
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение narvf »

Sorry, with gcodes actually I can't help :(
narvf
Кандидат
Сообщения: 60
Зарегистрирован: 22 июл 2014, 11:39
Репутация: 4
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение narvf »

Is it possible to generate gcode for cutting, and not to go up and down between each cut in depth? This would decrease milling time :)
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

mm... there was a hack how to avoid up and down movements... but we have done it yet.
narvf
Кандидат
Сообщения: 60
Зарегистрирован: 22 июл 2014, 11:39
Репутация: 4
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение narvf »

Ok, thanks.
I was just curios, because few days ago i was playing with dxf2gcode and there it is by default.
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

This is all because of really complicated function that actually generates Gcode... So all Gcode is generated for every layer separately... I think we should include this in future releases...
translateslately
Новичок
Сообщения: 1
Зарегистрирован: 17 окт 2014, 03:46
Репутация: 0
Настоящее имя: bill cosby
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение translateslately »

hello, it was really difficult to register on a russian forum with all the copy/paste to google translate.
and now my question:

how can I prevent gcodetools from adding comments in the code?
path id end and starts pause the pronterface and editing a gcode of 10000 lines manually everytime is really tiring.

this is what I want to eliminate from the output:

Код: Выделить всё

(End cutting path id: path3221)
(Start cutting path id: path3223)
(Change tool to Cylindrical cutter)
thanks in advance as I'm not sure about being able to log back in
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

translateslately писал(а):hello, it was really difficult to register on a russian forum with all the copy/paste
Hi!

I thought - that registration form should autodetect your language and if it's not Russian give English form. Anyway there are google-translate links at the top right corner - that lead to Google-translated-pages. Or you can just copy/paste url to google translate to translate entire page and do all the manipulations there.
translateslately писал(а):how can I prevent gcodetools from adding comments in the code?
there was a post-processor to remove all comments, or you can add aditional post processor, something like
regex(r"\(.*\)","");

see here: Re: mpf file #16
john1c
Новичок
Сообщения: 2
Зарегистрирован: 21 окт 2014, 12:31
Репутация: 1
Настоящее имя: John C.
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение john1c »

Hello Everyone.
So where is the download page for the gcode plugin?
I have looked in many places and do not find Links directing to it.
Thanks
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

1. At the top of the topic click on the Get latest version - there's a zip file with latest version, or if you want latest dev version you can get it at github
https://github.com/cnc-club/gcodetools (find Download ZIP button at the right of the page.)
john1c
Новичок
Сообщения: 2
Зарегистрирован: 21 окт 2014, 12:31
Репутация: 1
Настоящее имя: John C.
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение john1c »

Axaxa!! Spasibo Nick!! :-D

Hey Nick, I want to share this w you. In case you don't know:
DRO project for CNC. Wireless via bluetooth to Android
http://www.yuriystoys.com/p/android-dro.html
Udachy!!

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

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

I've seen that DRO - yep it's quite interesting! :)
Аватара пользователя
NightV
Почётный участник
Почётный участник
Сообщения: 6599
Зарегистрирован: 30 дек 2011, 09:14
Репутация: 2279
Настоящее имя: Владимир Айрапетян
Откуда: Israel
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение NightV »

I know about this project, but no one asked :hehehe:
it works on the Samsung Galaxy S II :)
Всё просто! если знаешь КАК!
Аватара пользователя
dormouse
Мастер
Сообщения: 334
Зарегистрирован: 27 фев 2010, 09:55
Репутация: 15
Заслуга: Developer
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение dormouse »

В 0.91 включили косячную версию - точно проблемы с dxf-points и ещё чем-то, вроде. Как будем действовать?
rubyred
Новичок
Сообщения: 7
Зарегистрирован: 10 ноя 2014, 17:35
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение rubyred »

Hi Nick and all the other cnc friends

I have a few questions. First of all i want to point that all i need is a 2D gcode. When I convert a 30cm x 10cm rectangle it gives me these codes ( i dont add the other unneccesary codes above and below)

Код: Выделить всё

G00 Z 0.0000
G00 X 0.0176 Y 2.8046

G01 Z 0.0000 F 100.0000(Penetrate)
G01 X 8.4492 Y 2.8046 Z 0.0000 F 400.0000
G01 X 8.4492 Y 0.0176 Z 0.0000
G01 X 0.0176 Y 0.0176 Z 0.0000
G01 X 0.0176 Y 2.8046 Z 0.0000
G00 Z 0.0000
as you can see the X gcode isn't exatcly 10cm it's 8.4492, same problem on Y codes I tried circles and other vectorel drawings i had all of them is crippled after conversion. how can i solve this problem.

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

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Can you attach your svg as well?
narvf
Кандидат
Сообщения: 60
Зарегистрирован: 22 июл 2014, 11:39
Репутация: 4
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение narvf »

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

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

If so - then Go to File - Inkscape preferenses - Tool - and set Geometric bbox.
Ответить

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