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 (1357602 просмотра) <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 (1360526 просмотров) <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 (1346629 просмотров) <a class='original' href='./download/file.php?id=772&mode=view' target=_blank>Загрузить оригинал (147.75 КБ)</a>
Gcodetools area pocketing
Gcodetools lathe (1352950 просмотров) <a class='original' href='./download/file.php?id=642&mode=view' target=_blank>Загрузить оригинал (21.98 КБ)</a>
Gcodetools lathe
Gcodetools engraving by Rene (1353115 просмотров) <a class='original' href='./download/file.php?id=631&mode=view' target=_blank>Загрузить оригинал (233.84 КБ)</a>
Gcodetools engraving by Rene
Bears by Durachko (1288573 просмотра) <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) (1360529 просмотров) <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 (1360535 просмотров) <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 (1360526 просмотров) <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 КБ) 103135 скачиваний
Older versions(ver 1.5)
gcodetools-1.6.tar.gz
Gcodetools 1.6
(56.6 КБ) 15529 скачиваний
(ver 1.5)
gcodetools.tar.gz
Gcodetools 1.5
(21.32 КБ) 11069 скачиваний
(ver 1.4)
gcodetools.tar.gz
(14.72 КБ) 27864 скачивания
(ver 1.2)
extensions.tar.gz
(9.01 КБ) 10877 скачиваний

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

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Dimitrios писал(а):The bug fix is on the developer version or you modified the stable version? I never downloaded a dev version, so I am a bit scared to do it now , not being a Linux guy, but trying to be...
Do not be shy. Everybody has to start some time :).
Dimitrios писал(а):Only that it generates the A axis in radians, and LinuxCNC works in degrees.
Just adjust 4th axis scale in the tool's definition. You need to define it equal 180/pi.

Getting dev version is easy. I used to be scary of .tar.gz files to, but it's easier than it mentioned.
So all you have to do is to get the files from bazaar repository. You can do it either by downloading them from here: http://bazaar.launchpad.net/~gcodetools ... lope/files
Or using bazaar ( sudo apt-get bzr )
bzr branch lp:gcodetools

Then generate all inx files by executing "python create_inx.py" and copy all the files the same way with the stable version.
Easy :).
Аватара пользователя
Dimitrios
Новичок
Сообщения: 17
Зарегистрирован: 21 сен 2011, 20:20
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Dimitrios »

Thanks Nick,

The 4th axis scale worked very well. I am busy this weekend adjusting the 4th axis and trying many cuts in various materials, since during weekdays I have to work in other things.

Broke one blade, already :hehehe:

You have interest in pictures of my equipment and the cuts we did?

I will try to download the dev versions and to practice using Linux.

Thanks again, and my offer to test codes is standing, is the least I can do for now.

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

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Dimitrios писал(а):You have interest in pictures of my equipment and the cuts we did?
Sure we have :) we are about of 16000 downloads now but as you can see there are not so many photos.
So we will be pleased if you post the photos :D!!!

Also, I'm interested in why have you choose gcodetools, instead of other CAM software. This can help us improve gcodetools.

PS Feedback is always welcome :D!
Аватара пользователя
Dimitrios
Новичок
Сообщения: 17
Зарегистрирован: 21 сен 2011, 20:20
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Dimitrios »

Nick,

With a friend, last year we built a big gantry machine for signage and decoration cutting. I have a eletric engineer friend, who represents Yaskawa in my state, he sold me some equipment. in very good terms and we built a servo system in our machine. The 4th axis is made with a 400 W servodrive and servomotor, overkill, I know, but that is what we had laying around here.

My dream is using Linux for all our tasks, in business and home. I discarded all comercial solutions to CNC controlling in favor of LinuxCNC, it is a awesome project.The quality of software is extraordinary, and the support is friendly and excellent.

My friend has a licence of ArtCAM, which is expensive, and only with the basic 3 axis cutting. We learned fast that soft materials are not well cut with rotating tools, and recently, we got some clients asking to cut textiles and leather. Soon I was trying to figure how to make the tool follow the cutting direction, there are some topics on the LinuxCNC developer talk (I follow with some difficulty) and a post of Andy Pugh on the LinuxCNC forum that makes a modification on the source code, which still is beyond my comprehension of programming. I tryed Gcodetools before, and when it showed supporting tangential knife I jumped in.

Commercial solutions are very expensive and Gcodetools, after you explainig some of it to me, is working very well.

If you allow me to make another request, here is a issue that showed up yesterday, when cutting varous materials with the circular blade: when making a tight turn or a corner, there is a limit on the turning radius inside the material. Turning a circular blade inside the material leaves a "scar" . I will post a picture to explain. What I sugest is to have a way to make the blade get up before the sharp conner, turn in the air and plunge again to cut. A pseudo code could be:

If the diference between next and current A axis value is bigger then XXX,
get to safe Z
turn to next A axis value
plunge and continue
else
continue

The XXX value could be set in the preference, allowing to choose it regarding the material and blade used.

I will prepare some pictures to post here today.

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

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Dimitrios писал(а):If you allow me to make another request, here is a issue that showed up yesterday, when cutting varous materials with the circular blade: when making a tight turn or a corner, there is a limit on the turning radius inside the material. Turning a circular blade inside the material leaves a "scar" . I will post a picture to explain. What I sugest is to have a way to make the blade get up before the sharp conner, turn in the air and plunge again to cut. A pseudo code could be:
It's already done in dev-version ;).
Use "lift knife at corner" parameter to define Zoffset at the corner.

PS are we going to see some photos :D?
Аватара пользователя
Dimitrios
Новичок
Сообщения: 17
Зарегистрирован: 21 сен 2011, 20:20
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Dimitrios »

Nick,

You are awesome! :D Now I have to try my luck dowloading the dev version an testing it :thinking: .

I misplaced the camera mini usb cable, and can't download the pictures now. Will try at work, tomorrow. Promise!
Аватара пользователя
Dimitrios
Новичок
Сообщения: 17
Зарегистрирован: 21 сен 2011, 20:20
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Dimitrios »

Cable found! Now how i upload a picture?
Аватара пользователя
Dimitrios
Новичок
Сообщения: 17
Зарегистрирован: 21 сен 2011, 20:20
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Dimitrios »

4th axis support is a hack! :-) (7002 просмотра) <a class='original' href='./download/file.php?id=5128&mode=view' target=_blank>Загрузить оригинал (452.63 КБ)</a>
4th axis support is a hack! :-)
Machine partial view (7002 просмотра) <a class='original' href='./download/file.php?id=5127&mode=view' target=_blank>Загрузить оригинал (421.92 КБ)</a>
Machine partial view
Аватара пользователя
Dimitrios
Новичок
Сообщения: 17
Зарегистрирован: 21 сен 2011, 20:20
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Dimitrios »

alignment not done yet, but already works. (7002 просмотра) <a class='original' href='./download/file.php?id=5129&mode=view' target=_blank>Загрузить оригинал (413.13 КБ)</a>
alignment not done yet, but already works.
Knife and Knife support detail. (7002 просмотра) <a class='original' href='./download/file.php?id=5130&mode=view' target=_blank>Загрузить оригинал (181.25 КБ)</a>
Knife and Knife support detail.
Аватара пользователя
Dimitrios
Новичок
Сообщения: 17
Зарегистрирован: 21 сен 2011, 20:20
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Dimitrios »

Test cut on EVA (7002 просмотра) <a class='original' href='./download/file.php?id=5131&mode=view' target=_blank>Загрузить оригинал (215.36 КБ)</a>
Test cut on EVA
Вложения
Same cut, disassembled. (7002 просмотра) <a class='original' href='./download/file.php?id=5132&mode=view' target=_blank>Загрузить оригинал (399.77 КБ)</a>
Same cut, disassembled.
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Dimitrios писал(а):4th axis support is a hack! :-)
Yeah, you just fixed knife in the spindle, don't you? :)
Аватара пользователя
Dimitrios
Новичок
Сообщения: 17
Зарегистрирован: 21 сен 2011, 20:20
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Dimitrios »

Yes! We had several pieces of equipment laying around, so we recycled them. :hehehe:

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

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Great will be waiting for the movie! :)
Аватара пользователя
Dimitrios
Новичок
Сообщения: 17
Зарегистрирован: 21 сен 2011, 20:20
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Dimitrios »

I succeded in downloading and bulding the dev version. I inspected some small codes I made for trying it and tomorrow i will cut some large sheets of EVA and fabric. I will make the movie from those cuts.

Thanks for you all developers, and specially you Nick.

Regards
Аватара пользователя
Dimitrios
Новичок
Сообщения: 17
Зарегистрирован: 21 сен 2011, 20:20
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Dimitrios »

I made a small movie but, the ligth in the machine room is not good enough, the movie was very bad. tomorrow i will try again.
Аватара пользователя
Dimitrios
Новичок
Сообщения: 17
Зарегистрирован: 21 сен 2011, 20:20
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Dimitrios »

Hi,

I started to use regularly the codes generated by GcodeTools, and now I have a new "problem" to solve: my tool is sligthly off center, and I want to know how to compensate for it. The cutting edge is 0,5 mm of the center line. Mosto cuts can live with this eror, but I'd like to know how to correct this. In the interface I tryed the 4th axis offset, but it changes the angle, not the distance.
Regards,

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

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Offset of a Bezier path is a kind of difficult functions! And most of software does not calculate it correct for complex paths. As I remember even Rhino (very powerful commercial cad had problems with complex paths offsets).

So there are some ways to solve your problem:
1. use Inkscape's offset, there are two different offsets in Inkscape:
a. Dynamic offset (Ctrl+J) - path becomes dynamic offset object and you can change offset's radius either moving control point, or defining it in XML-editior (Ctrl+Shift+X - r parameter (in px!))
b. use fixed ratio offset (ctrl+")" or Ctrl+"(" ) and define offset step in options-steps...
2. use Gcode to compensate cutter radius. So it will be G41 or G42 http://linuxcnc.org/docs/html/gcode/gco ... _g41_g42_a
3. use Path offset from gcodetools, it has a lot of bug and still is under develop :freak:.
Durachko
Новичок
Сообщения: 13
Зарегистрирован: 30 авг 2010, 17:52
Репутация: 0
Контактная информация:

Re: Gcodetools - plug-in Inkscape для экспорта в Gcode

Сообщение Durachko »

Hello from USA. I am using Gcodetools for some new signs I'm making and hopefully will post pictures of my results within the next few weeks. I think it was Nick who showed me this utility back when Lumenlab was still an active forum.
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Gcodetools - plug-in Inkscape для экспорта в Gcode

Сообщение Nick »

Hi there :)!

Yes that probably was me!
What had happened to Lumenlab???

PS Will be glad to see any photos or videos :D!
Durachko
Новичок
Сообщения: 13
Зарегистрирован: 30 авг 2010, 17:52
Репутация: 0
Контактная информация:

Re: Gcodetools - plug-in Inkscape для экспорта в Gcode

Сообщение Durachko »

Nick писал(а):
What had happened to Lumenlab???
The main person from Lumenlab became very ill and had to cease his activities for health reasons. He is supposedly recuperating but I do not know if Lumenlab will ever come back.

I'm working on my new stuff right now and maybe I'll drop by a little later today and post some pictures of my test results.
Ответить

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