Inkscape Gcodetools plug-in English support forum

cnc-club.ru for English speaking users

What function should we develope next?

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

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

Inkscape Gcodetools plug-in English support forum

Сообщение Nick » 10 дек 2009, 10:28

Inkscape Gcodetools plug-in English support forum EMC screenshot.png
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

Inkscape Gcodetools plug-in English support forum Screqnshot.png
Preview of the generated Gcode in EMC

Inkscape Gcodetools plug-in English support forum lumen lab gcodetools cnc pocketing 1280.jpg
Gcodetools area pocketing

Inkscape Gcodetools plug-in English support forum 0089 gcode tools lathe emc screenshot.png
Gcodetools lathe

Inkscape Gcodetools plug-in English support forum 0082 gcode tools engraving.jpg
Gcodetools engraving by Rene

Inkscape Gcodetools plug-in English support forum bears.jpg
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.

License (для просмотра содержимого нажмите на ссылку)

License

Inkscape and Gcodetools are licensed under GNU GPL.

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

Inkscape Gcodetools plug-in English support forum g83147_002.png
Gcodetools plug-in tutorial (2600*1300 px png ~ 700Kb)


Inkscape Gcodetools plug-in English support forum g64542.png
Curve to Gcode result
Inkscape Gcodetools plug-in English support forum Screqnshot.png
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 Кб) Скачиваний: 64513

Older versions(ver 1.5)
gcodetools-1.6.tar.gz
Gcodetools 1.6
(57.1 Кб) Скачиваний: 7261

(ver 1.5)
gcodetools.tar.gz
Gcodetools 1.5
(21.17 Кб) Скачиваний: 3877

(ver 1.4)
gcodetools.tar.gz
(14.72 Кб) Скачиваний: 13054

(ver 1.2)
extensions.tar.gz
(11.25 Кб) Скачиваний: 3737

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.
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1324
Заслуга: Developer
Медальки:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение RedEvil1991! » 26 сен 2015, 16:11

tnx
RedEvil1991!
Новичок
 
Сообщения: 1
Зарегистрирован: 26 сен 2015, 16:10
Репутация: 0

Re: Inkscape Gcodetools plug-in English support forum

Сообщение TosZira » 19 окт 2015, 14:31

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

Re: Inkscape Gcodetools plug-in English support forum

Сообщение TosZira » 19 окт 2015, 14:32

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

Re: Inkscape Gcodetools plug-in English support forum

Сообщение riahc3 » 17 ноя 2015, 18:29

Great plugin. Lets hope it just gets better.
riahc3
Новичок
 
Сообщения: 6
Зарегистрирован: 09 ноя 2015, 12:59
Репутация: 0
Настоящее имя: James

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Metale » 23 ноя 2015, 18:00

Great job. You are amazing. :)
Metale
Новичок
 
Сообщения: 1
Зарегистрирован: 23 ноя 2015, 17:54
Репутация: 0
Настоящее имя: Andrzej

Re: Inkscape Gcodetools plug-in English support forum

Сообщение bricofoy » 02 янв 2016, 01:11

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 :
Inkscape Gcodetools plug-in English support forum unit_px.png

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 :
Inkscape Gcodetools plug-in English support forum unit_pt.png


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 !
Аватара пользователя
bricofoy
Новичок
 
Сообщения: 14
Зарегистрирован: 08 сен 2011, 14:00
Репутация: 1

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Stb » 06 янв 2016, 17:44

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 .....
Stb
Новичок
 
Сообщения: 1
Зарегистрирован: 06 янв 2016, 17:41
Репутация: 0
Настоящее имя: Stephan

Re: Inkscape Gcodetools plug-in English support forum

Сообщение riahc3 » 11 янв 2016, 12:55

How do I force the plugin to (for example) automatically create 2 large trajectories if possible instead of 4 small trajectories?
riahc3
Новичок
 
Сообщения: 6
Зарегистрирован: 09 ноя 2015, 12:59
Репутация: 0
Настоящее имя: James

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick » 11 янв 2016, 13:10

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.
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1324
Заслуга: Developer
Медальки:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение bricofoy » 11 янв 2016, 13:26

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 !
Аватара пользователя
bricofoy
Новичок
 
Сообщения: 14
Зарегистрирован: 08 сен 2011, 14:00
Репутация: 1

Re: Inkscape Gcodetools plug-in English support forum

Сообщение riahc3 » 12 янв 2016, 11:17

Nick писал(а):Can you attach your svg?

Here you go.

s.svg
(3.35 Кб) Скачиваний: 316
riahc3
Новичок
 
Сообщения: 6
Зарегистрирован: 09 ноя 2015, 12:59
Репутация: 0
Настоящее имя: James

Re: Inkscape Gcodetools plug-in English support forum

Сообщение riahc3 » 13 янв 2016, 11:14

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 » 14 янв 2016, 12:11

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>
riahc3
Новичок
 
Сообщения: 6
Зарегистрирован: 09 ноя 2015, 12:59
Репутация: 0
Настоящее имя: James

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick » 28 янв 2016, 15:10

Something wrong with the svg - can you attach it.
Or probably you have edited (or ungrouped) tool's definition of that layer...
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1324
Заслуга: Developer
Медальки:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Tobiasripper » 04 мар 2016, 04:02

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?
Tobiasripper
Новичок
 
Сообщения: 1
Зарегистрирован: 04 мар 2016, 03:57
Репутация: 0

Re: Inkscape Gcodetools plug-in English support forum

Сообщение electrophile » 29 мар 2016, 15:24

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'
electrophile
Новичок
 
Сообщения: 1
Зарегистрирован: 29 мар 2016, 15:18
Репутация: 0

Re: Inkscape Gcodetools plug-in English support forum

Сообщение sebastien » 03 апр 2016, 14:22

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
Вложения
Inkscape Gcodetools plug-in English support forum Capture.PNG
output3_0050.ngc
(86.92 Кб) Скачиваний: 161
sebastien
Новичок
 
Сообщения: 1
Зарегистрирован: 03 апр 2016, 13:48
Репутация: 0
Настоящее имя: Sebastien

Re: Inkscape Gcodetools plug-in English support forum

Сообщение allen752 » 25 апр 2016, 07:49

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 » 25 апр 2016, 11:41

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...
allen752
Новичок
 
Сообщения: 2
Зарегистрирован: 25 апр 2016, 07:34
Репутация: 0
Настоящее имя: Allen Xiang

Re: Inkscape Gcodetools plug-in English support forum

Сообщение PuG » 31 май 2016, 11:10

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
Вложения
Inkscape Gcodetools plug-in English support forum error.jpg
PuG
Новичок
 
Сообщения: 1
Зарегистрирован: 31 май 2016, 11:03
Репутация: 0

Пред.След.

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

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

Зарегистрированные пользователи: Bing [Bot], Evilmax, Filingo, Google [Bot], Majestic-12 [Bot], netraider, TheDreamer, Udjin, Yahoo [Bot], Yandex [bot], Тенгель

Поделиться

Reputation System ©'