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 (1314994 просмотра) <a class='original' href='./download/file.php?id=508&sid=2954fddf53c2ebf1f5a160d7434f3680&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 (1317918 просмотров) <a class='original' href='./download/file.php?id=130&sid=2954fddf53c2ebf1f5a160d7434f3680&mode=view' target=_blank>Загрузить оригинал (154.76 КБ)</a>
Preview of the generated Gcode in EMC
Gcodetools area pocketing (1304021 просмотр) <a class='original' href='./download/file.php?id=772&sid=2954fddf53c2ebf1f5a160d7434f3680&mode=view' target=_blank>Загрузить оригинал (147.75 КБ)</a>
Gcodetools area pocketing
Gcodetools lathe (1310342 просмотра) <a class='original' href='./download/file.php?id=642&sid=2954fddf53c2ebf1f5a160d7434f3680&mode=view' target=_blank>Загрузить оригинал (21.98 КБ)</a>
Gcodetools lathe
Gcodetools engraving by Rene (1310507 просмотров) <a class='original' href='./download/file.php?id=631&sid=2954fddf53c2ebf1f5a160d7434f3680&mode=view' target=_blank>Загрузить оригинал (233.84 КБ)</a>
Gcodetools engraving by Rene
Bears by Durachko (1245965 просмотров) <a class='original' href='./download/file.php?id=5429&sid=2954fddf53c2ebf1f5a160d7434f3680&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) (1317921 просмотр) <a class='original' href='./download/file.php?id=127&sid=2954fddf53c2ebf1f5a160d7434f3680&mode=view' target=_blank>Загрузить оригинал (752.7 КБ)</a>
Gcodetools plug-in tutorial (2600*1300 px png ~ 700Kb)
Curve to Gcode result (1317927 просмотров) <a class='original' href='./download/file.php?id=103&sid=2954fddf53c2ebf1f5a160d7434f3680&mode=view' target=_blank>Загрузить оригинал (1023.52 КБ)</a>
Curve to Gcode result
Preview of the generated Gcode in EMC (1317918 просмотров) <a class='original' href='./download/file.php?id=130&sid=2954fddf53c2ebf1f5a160d7434f3680&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 КБ) 102095 скачиваний
Older versions(ver 1.5)
gcodetools-1.6.tar.gz
Gcodetools 1.6
(56.6 КБ) 14953 скачивания
(ver 1.5)
gcodetools.tar.gz
Gcodetools 1.5
(21.32 КБ) 10535 скачиваний
(ver 1.4)
gcodetools.tar.gz
(14.72 КБ) 27080 скачиваний
(ver 1.2)
extensions.tar.gz
(9.01 КБ) 10315 скачиваний

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.
TosZira
Новичок
Сообщения: 2
Зарегистрирован: 19 окт 2015, 14:28
Репутация: 0
Настоящее имя: Wichate Areraj
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение TosZira »

THX. :D
TosZira
Новичок
Сообщения: 2
Зарегистрирован: 19 окт 2015, 14:28
Репутация: 0
Настоящее имя: Wichate Areraj
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение TosZira »

:hehehe:
riahc3
Новичок
Сообщения: 6
Зарегистрирован: 09 ноя 2015, 12:59
Репутация: 0
Настоящее имя: James
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение riahc3 »

Great plugin. Lets hope it just gets better.
Metale
Новичок
Сообщения: 1
Зарегистрирован: 23 ноя 2015, 17:54
Репутация: 0
Настоящее имя: Andrzej
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Metale »

Great job. You are amazing. :)
Аватара пользователя
bricofoy
Новичок
Сообщения: 14
Зарегистрирован: 08 сен 2011, 14:00
Репутация: 1
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение bricofoy »

Hi Nick and others

I've a little problem understanding witch internal units are used by gcodetools. I thought they where pixels (px) as pixels seems to be native inkscape internal units, according to units.xml I found in /usr/share/incskape witch states px factor is 1.00000

Also I have read somewhere in this thread the best practice to use gcode tools is to draw things using px unit and assuming 1mm=1px.

Anyway, when I set inkscape to use px as display unit, and create a new document (A4 sheet), and I then run "orientation points", this is what I get :
unit_px.png (17276 просмотров) <a class='original' href='./download/file.php?id=67748&sid=2954fddf53c2ebf1f5a160d7434f3680&mode=view' target=_blank>Загрузить оригинал (57.29 КБ)</a>
The red square at the bottom is 100x100px. As you can see, the orientation points are quite... BIG, a lot bigger than the document itself. And the point along X axis where the point (100.0,0.0) is does not look to be placed according to some logical value. X=1333px exactly.

Now I change the display value to "pt". Now this is what it looks like :
unit_pt.png (17276 просмотров) <a class='original' href='./download/file.php?id=67749&sid=2954fddf53c2ebf1f5a160d7434f3680&mode=view' target=_blank>Загрузить оригинал (58.4 КБ)</a>
Now you can see the point (100.0,0.0) is corresponding exactly to 1000pt. Looking at the units.xml I see scale factor for pt is 1.33333333 so now the previous X px value for the point makes sense.

But what does not makes sens to me is : Why the plugins seems to use pt (*10) as internal units instead of px ? and why is the output such big that is does not fit in the document size ? The same thing happens with "tool library" the created tool description is bigger than the document.

I used gcodetools in the past and I had not such problems.

I use inkscape 0.91 and gcodetools 1.7 (provided with inkscape)

best regards
bricofoy
-Hey, know what ? If you read the back of the Windows CD you'll ear a satanic song !
-Ho, there's even worse : read it normally, it will install !
Stb
Новичок
Сообщения: 1
Зарегистрирован: 06 янв 2016, 17:41
Репутация: 0
Настоящее имя: Stephan
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Stb »

Hello super program I've been using it for a while and wonder why the milling direction only runs counterclockwise and where and how you can adjust the different that it runs in a clockwise direction I have the Inkscape 0.9.1 where that is gcodetools already contained many ok Greetings from Stephan .....
riahc3
Новичок
Сообщения: 6
Зарегистрирован: 09 ноя 2015, 12:59
Репутация: 0
Настоящее имя: James
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение riahc3 »

How do I force the plugin to (for example) automatically create 2 large trajectories if possible instead of 4 small trajectories?
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

bricofoy писал(а):Also I have read somewhere in this thread the best practice to use gcode tools is to draw things using px unit and assuming 1mm=1px.
IMHO the best practice is to draw everything 1:1, i.e. in mm or inches.

If you want to draw in px you have to modify orientation points - move right arrow to 100px or define it's coordinates using text tool.
riahc3 писал(а):How do I force the plugin to (for example) automatically create 2 large trajectories if possible instead of 4 small trajectories?
Can you attach your svg?
Stb писал(а): wonder why the milling direction only runs counterclockwise and where and how you can adjust the different that it runs in a clockwise direction I have the Inkscape 0.9.1
You can check path's direction by adding Arrow marker to Stroke (the same arrows that are added to the preview after Path-to-Gcode).
To change path's direction use Path-Reverse path.
Аватара пользователя
bricofoy
Новичок
Сообщения: 14
Зарегистрирован: 08 сен 2011, 14:00
Репутация: 1
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение bricofoy »

Nick писал(а):
bricofoy писал(а):Also I have read somewhere in this thread the best practice to use gcode tools is to draw things using px unit and assuming 1mm=1px.
IMHO the best practice is to draw everything 1:1, i.e. in mm or inches.

If you want to draw in px you have to modify orientation points - move right arrow to 100px or define it's coordinates using text tool.
Hi Nick, thanks for your answer

I also tried to do anything in mm, but I encounter the same problem with orientation point or anything else generated by gcodetools like tool library being larger then the document itself. And more problematic, orientation points placed without anything corresponding to the unit being used, like i illustrated with my two screenshots.
Of course i can move the right arrow or change the coordinate, but I think it should be placed by default at the corresponding X=100 in the selected unit, right ?

I noticed if I open (on my computer) an SVG file created in another computer with different inkscape version, I have not the problem, and gcodetools work as expected, tool library in a correct size, and right orientation point placed at X=100.

So I wonder what in my configuration can cause this. Tried almost all units, same result.
-Hey, know what ? If you read the back of the Windows CD you'll ear a satanic song !
-Ho, there's even worse : read it normally, it will install !
riahc3
Новичок
Сообщения: 6
Зарегистрирован: 09 ноя 2015, 12:59
Репутация: 0
Настоящее имя: James
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение riahc3 »

Nick писал(а): Can you attach your svg?
Here you go.
s.svg
(3.35 КБ) 1295 скачиваний
riahc3
Новичок
Сообщения: 6
Зарегистрирован: 09 ноя 2015, 12:59
Репутация: 0
Настоящее имя: James
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение riahc3 »

Please free to ask any doubts or questions.
riahc3
Новичок
Сообщения: 6
Зарегистрирован: 09 ноя 2015, 12:59
Репутация: 0
Настоящее имя: James
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение riahc3 »

When running "Engraving" I get this:


Traceback (most recent call last):

File "gcodetools.py", line 6753, in <module>

gcodetools.affect()

File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 268, in affect

self.effect()

File "gcodetools.py", line 6687, in effect

self.engraving()

File "gcodetools.py", line 5800, in engraving

self.header+="(Depth, as a function of radius w, must be "+ self.tools[layer][0]['shape']+ ")\n"

KeyError: <Element {http://www.w3.org/2000/svg}g at 251c450>
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Something wrong with the svg - can you attach it.
Or probably you have edited (or ungrouped) tool's definition of that layer...
Tobiasripper
Новичок
Сообщения: 1
Зарегистрирован: 04 мар 2016, 03:57
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Tobiasripper »

Hey, This is a great tool. I use it quite a bit for engraving but now I need to use area cutting and I noticed that the tutorials are really outdated here. The Area cutting tutorial uses features and functions the aren't in the gcode tools anymore. I see references to tabs and data inputs that are nowhere to be found. I've been trying to figure the area cutting from what was there but it's not going well.

Would you mind updating the tutorials to explain the process with the latest version of the tool?
electrophile
Новичок
Сообщения: 1
Зарегистрирован: 29 мар 2016, 15:18
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение electrophile »

Hi, first of all thank you for developing such an awesome extension :) I installed the latest version today and while inserting the 'orientation points' I get the following error. After that sometimes the orientation points appear but they appear on the top left corner of the document and they are really tiny. Sometimes they just do not get inserted. Any help on this would be highly appreciated.

Traceback (most recent call last):
File "gcodetools.py", line 6749, in <module>
gcodetools.affect()
File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 268, in affect
self.effect()
File "gcodetools.py", line 6685, in effect
self.orientation()
File "gcodetools.py", line 5851, in orientation
doc_height = inkex.unittouu(self.document.getroot().get('height'))
AttributeError: 'module' object has no attribute 'unittouu'
sebastien
Новичок
Сообщения: 1
Зарегистрирован: 03 апр 2016, 13:48
Репутация: 0
Настоящее имя: Sebastien
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение sebastien »

Hi Nick,
Congrats, your crazy extension is working very well even in FRANCE! you created something which has a worldwide impact and which help a lot of people like me, congrats !!!
My question is probably stupid, but i've no clue on how to deal with. I use your extension for plasma, tu cut small rectangles. But i don't how to remove a very long path from 0X0Y to the 1st rectangle to cut...i've tried to modify all the options but nothing to do...the 1st rectangle (and the last ) to be cut is always very far from the starting point 0X0Y.

Many thanks in advance for your help.

Best regards
Sébastien
Вложения
Capture.PNG (15854 просмотра) <a class='original' href='./download/file.php?id=76705&sid=2954fddf53c2ebf1f5a160d7434f3680&mode=view' target=_blank>Загрузить оригинал (17.12 КБ)</a>
output3_0050.ngc
(86.92 КБ) 1481 скачивание
allen752
Новичок
Сообщения: 2
Зарегистрирован: 25 апр 2016, 07:34
Репутация: 0
Настоящее имя: Allen Xiang
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение allen752 »

Hi,
The Gcodetools is quite magic!i am learning with it,my version is ver. 1.7,its interface is different from the forum tutorial,i do not know how to generate area milling and tools parameter edit,could you help me? :hehehe: :hehehe:
allen752
Новичок
Сообщения: 2
Зарегистрирован: 25 апр 2016, 07:34
Репутация: 0
Настоящее имя: Allen Xiang
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение allen752 »

Hi,
I can not find the explanation of the "Area fill angle","Area fill shift","Area fill shift" in "Area" item."Area fill shit" is the tool offset parameter? TKS...
PuG
Новичок
Сообщения: 1
Зарегистрирован: 31 май 2016, 11:03
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение PuG »

Hi! firstly very new to all of this, made a small CNC plotter from a few DVD roms, Arduino, EasyStepper and Grbl Controller. All seems to be working fine, tested with some example gcode plots.

What I'm finding its any gcode / ngc from Inkscape using this plugin goes outside of the defined area. As you can see by the attached picture, and the red dot in the top right. It starts fine then doesn't stop until it reaches close to 100mm in one direction or another, but ins't following a path in the process? or at least starts and then forgets to the turn the corner before its off over the horizon.

Followed tutorials, guides etc, and a fair few attempts and nothing has made a difference.

Any suggestions! Thanks
Вложения
error.jpg (14943 просмотра) <a class='original' href='./download/file.php?id=81516&sid=2954fddf53c2ebf1f5a160d7434f3680&mode=view' target=_blank>Загрузить оригинал (249.47 КБ)</a>
Ответить

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