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 Кб) Скачиваний: 65698

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

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

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

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

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
Репутация: 1326
Заслуга: Developer
Медальки:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение markjacks » 25 фев 2015, 23:29

I was wondering if anyone knows a way to move the Inkscape canvas to -Y. I do all of my milling in +X and -Y because it moves the gantry out of the way when it is at home-zero. If I could have Inkscape default to there it would eliminate a step. Now X0, Y0 is in the bottom left. I would love it if it could be in the upper left. Then when I process it in Gcode_Tools it would be in the right place. -Thanks
markjacks
Новичок
 
Сообщения: 1
Зарегистрирован: 25 фев 2015, 23:17
Репутация: 0
Настоящее имя: mark jackson

Re: Inkscape Gcodetools plug-in English support forum

Сообщение narvf » 26 фев 2015, 00:24

Try to move grouped orientation points above the page, will this be ok?
Вложения
kolo.svg
(17.73 Кб) Скачиваний: 298
narvf
Кандидат
 
Сообщения: 60
Зарегистрирован: 22 июл 2014, 11:39
Репутация: 4

Re: Inkscape Gcodetools plug-in English support forum

Сообщение ThierryM » 11 мар 2015, 23:56

Hi,
I'm trying to run Gcodetools for Inkscape 0.91 under Ubuntu 14.04 but I have an error with orientation points :
Traceback (most recent call last):
File "gcodetools.py", line 6749, in <module>
gcodetools.affect()
File "/usr/share/inkscape/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'

Regards,

Thierry
ThierryM
Новичок
 
Сообщения: 3
Зарегистрирован: 11 мар 2015, 23:09
Репутация: 0

Re: Inkscape Gcodetools plug-in English support forum

Сообщение mRziq » 12 мар 2015, 00:51

Thanks
mRziq
Новичок
 
Сообщения: 2
Зарегистрирован: 12 мар 2015, 00:46
Репутация: 0
Настоящее имя: Mohammed Ahmed Rizq

Re: Inkscape Gcodetools plug-in English support forum

Сообщение mRziq » 12 мар 2015, 00:54

How can I Download GcodeTools??
mRziq
Новичок
 
Сообщения: 2
Зарегистрирован: 12 мар 2015, 00:46
Репутация: 0
Настоящее имя: Mohammed Ahmed Rizq

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick » 12 мар 2015, 10:15

ThierryM писал(а):Hi,
I'm trying to run Gcodetools for Inkscape 0.91 under Ubuntu 14.04 but I have an error with orientation points :
Traceback (most recent call last):
File "gcodetools.py", line 6749, in <module>
gcodetools.affect()
File "/usr/share/inkscape/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'

Regards,

Thierry


Are you using the latest version of inkscape? We have a report of the same error which had appeared in some dev versions..


mRziq писал(а):How can I Download GcodeTools??

You can get it with inkscape (latest version), or you can get dev version at github: https://github.com/cnc-club/gcodetools
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1326
Заслуга: Developer
Медальки:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение ThierryM » 12 мар 2015, 12:50

Nick писал(а):
ThierryM писал(а):Hi,
I'm trying to run Gcodetools for Inkscape 0.91 under Ubuntu 14.04 but I have an error with orientation points :
Traceback (most recent call last):
File "gcodetools.py", line 6749, in <module>
gcodetools.affect()
File "/usr/share/inkscape/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'

Regards,

Thierry


Are you using the latest version of inkscape? We have a report of the same error which had appeared in some dev versions..

Thanks for your reply, it was un unstable version. Now with the 0.91.0+47~ubuntu14.04.1 (stable release), no error message.
Regards,

Thierry
ThierryM
Новичок
 
Сообщения: 3
Зарегистрирован: 11 мар 2015, 23:09
Репутация: 0

Re: Inkscape Gcodetools plug-in English support forum

Сообщение rorrr » 14 мар 2015, 19:49

I'd like to get better at greyscale to depth. I want to be able to mill areas at different depths and it would be even better if I could set a gradient from white to black on an area and mill that sloped. (that sounds way to hard to code to me though).

I see you can change the depth function to c*d but it looks like the area function won't pick up the color of the underlying shape so i have to select the milling paths and change their stroke color lighter or darker to get it to mill them at different depths. Am I thinking correctly? If so, can we have that feature ie the milling paths get their color from the underlying shape (or I guess you couldn't see them then so maybe a complimentary color of the same intensity)?
Thanks,
Robert
rorrr
Новичок
 
Сообщения: 1
Зарегистрирован: 14 мар 2015, 19:30
Репутация: 0
Настоящее имя: robert orr

How to create drill holes?

Сообщение GeorgeA » 20 апр 2015, 20:09

Hello,
Is there a way to create drill holes using Inkscape .91pre4 with GCodetools? I drew circles for 5/16" holes with solid FILL and no Stroke. Using a 1/4" diameter tool in GCodetools. I ran the generated gcodes with a Pen tool to see what happen. Looks like its cutting/drawing outside the circle. The cut would have created a much larger hole than 5/16". Should I set my circles to 1/16" diameter and still cut with 1/4" bit? Does GCodetools support drilling operations?

Thanks for your help!
GeorgeA
Новичок
 
Сообщения: 3
Зарегистрирован: 17 апр 2015, 22:09
Репутация: 0

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick » 23 апр 2015, 18:13

GeorgeA писал(а):Does GCodetools support drilling operations?

Yep, use DFX-points for that, you will got a drill in each point.
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1326
Заслуга: Developer
Медальки:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение tony_4 » 24 апр 2015, 22:07

guys please i would be very gratefull if someone could make the G-code for me and send it to me here. It is a simple 24 teeth gear, 15.0 mm tooth size, 10.0 degrees pressure angle and a 30.0 mm diameter of a center hole. I know this is very easy for you but i really can dot it by myself. Thank you very much i hope to receive an answear from you soon.
tony_4
Новичок
 
Сообщения: 1
Зарегистрирован: 24 апр 2015, 21:47
Репутация: 0
Настоящее имя: anthony

How to use Default tool's "Passing Feed"

Сообщение GeorgeA » 25 апр 2015, 00:54

Hello Guys!

I have a Default tool defined setting the "passing feed" to 999. But my gcode file does not contain 999 as a feed rate anywhere.

Below is just the first several lines of the file. Z safe height = .25" so I thought between each path after "G00 Z 0.2500" would be the passing feed rate of 999. How and where does passing feed get used?

Thanks for your help!

%
(Header)
(Generated by gcodetools from Inkscape.)
(Using default header. To add your own header create file "header" in the output dir.)
M3
(Header end.)
G20 (All units in inches)

(Start cutting path id: path4156-60-89)
(Change tool to Default tool)

G00 Z 0.2500
G00 X 13.7838 Y 2.7512

G01 Z -0.1250 F 20.0000(Penetrate)
G01 X 13.7742 Y 2.7283 Z -0.1250 F 40.0000
G01 X 13.7513 Y 2.7187 Z -0.1250
G01 X 13.7283 Y 2.7283 Z -0.1250
G01 X 13.7188 Y 2.7512 Z -0.1250
G01 X 13.7283 Y 2.7742 Z -0.1250
G01 X 13.7513 Y 2.7837 Z -0.1250
G01 X 13.7742 Y 2.7742 Z -0.1250
G01 X 13.7838 Y 2.7512 Z -0.1250
G01 X 13.7838 Y 2.7512 Z -0.1250
G00 Z 0.2500

(End cutting path id: path4156-60-89)

(Start cutting path id: path4156-60-89)
(Change tool to Default tool)

G00 Z 0.2500
G00 X 13.7838 Y 2.7512

G01 Z -0.2500 F 20.0000(Penetrate)
GeorgeA
Новичок
 
Сообщения: 3
Зарегистрирован: 17 апр 2015, 22:09
Репутация: 0

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick » 27 апр 2015, 18:21

tony_4 писал(а):guys please i would be very gratefull if someone could make the G-code for me and send it to me here. It is a simple 24 teeth gear, 15.0 mm tooth size, 10.0 degrees pressure angle and a 30.0 mm diameter

Just try to use Inkscape's Gear extension it's fairly simple.

GeorgeA писал(а):Below is just the first several lines of the file. Z safe height = .25" so I thought between each path after "G00 Z 0.2500" would be the passing feed rate of 999. How and where does passing feed get used?

To be true, I do not know how does Passing feed works, but I know that all moves at G0 are made on the Rappid speed that is defined by your machine controlling software (Mach, LinuxCNC, etc.) And "F" do not influence at them.
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1326
Заслуга: Developer
Медальки:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение GeorgeA » 06 май 2015, 18:24

Hello Nick,

Is there a way to get all the Tool parameters added as comments to the gcode output? I know "(Change tool to Default tool)" is generated. Plus there is "tool change gcode" for entering custom function name. But it would be nice to have all the parameters used when generating gcode available as comments maybe inserted before the header.

For debugging and documentation purposes a "verbose comments mode" that dumps all parameters into comments would be great.
Not only tool information (like diameter, feed, shape,passing feed,depth step, etc) but also the original document name (.svg) too.

GCodetools is good stuff! Thanks for all your help!
GeorgeA
Новичок
 
Сообщения: 3
Зарегистрирован: 17 апр 2015, 22:09
Репутация: 0

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick » 12 май 2015, 18:49

Hmmmm im not sure about that... there's an option to generate additional log file, that will contain more information.
See last parameter in Preferences tab.
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1326
Заслуга: Developer
Медальки:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение adamguy » 31 май 2015, 18:50

Hi,

I have started using the gcode extension for inkshare, its great, thanks for sharing it!

I had a question, its really simple I am sure. I am finding it hard to see where to adjust the depth of the z axis in the extension options.

Currently it always exports with z cutting at 0, I need it to cut at -45.

Any help appreciated,

Adam
adamguy
Новичок
 
Сообщения: 2
Зарегистрирован: 31 май 2015, 15:20
Репутация: 0
Настоящее имя: Adam Blencowe

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick » 01 июн 2015, 12:52

adamguy писал(а): I am finding it hard to see where to adjust the depth of the z axis in the extension options.

it should be in the orientation points... But either you should add them every time manually (using Orientation points), or change it in the orientation points using text tool.
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1326
Заслуга: Developer
Медальки:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение adamguy » 03 июн 2015, 08:41

Thanks Nick,

Found it. This is a great tool and perfect for what I am doing.

Adam
adamguy
Новичок
 
Сообщения: 2
Зарегистрирован: 31 май 2015, 15:20
Репутация: 0
Настоящее имя: Adam Blencowe

Re: Inkscape Gcodetools plug-in English support forum

Сообщение nguyenab » 13 июн 2015, 15:22

Hi

I am trying to create G-Code where it will fill in the text for me as well, and not just the outline.

I followed this youtube clip: https://www.youtube.com/watch?v=AxUF9T53zSA

However, after I click Apply to the 'Area' screen, I don't get the same as in the video. Instead I get this (see attached image).

What am I doing wrong???
Вложения
Inkscape Gcodetools plug-in English support forum CNC AREA error.PNG
Area Fill Error.svg
Here is the SVG file if you need to test
(96.62 Кб) Скачиваний: 216
nguyenab
Новичок
 
Сообщения: 2
Зарегистрирован: 13 июн 2015, 15:15
Репутация: 0

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick » 18 июн 2015, 13:45

Gcodetools uses Inkscape's internal offset, which sometimes sux...
You can try to limit offset ammount, and reduse offset step... And correct manually any bugs later.
Use the Console, Luke.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22330
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1326
Заслуга: Developer
Медальки:

Пред.След.

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

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

Зарегистрированные пользователи: a.sosh, arkhnchul, Bing [Bot], Brynet83, Dmitriy_N, frezeryga, Google [Bot], madwar, MGG, Nixon, paganel, putnik, Гагарин, Romanych, sergey1007, Shkryab, spryt, tooshka, toxakorzh, UAVpilot, Uda4LIVEc, us000, ХОЧУВСЁЗНАТЬ, xvovanx, Yahoo [Bot], Yandex [bot], zman88, Дмитрий м

Поделиться

Reputation System ©'