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 (1335643 просмотра) <a class='original' href='./download/file.php?id=508&sid=301d3b0d9f1c667c91fa07f64f898bb3&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 (1338567 просмотров) <a class='original' href='./download/file.php?id=130&sid=301d3b0d9f1c667c91fa07f64f898bb3&mode=view' target=_blank>Загрузить оригинал (154.76 КБ)</a>
Preview of the generated Gcode in EMC
Gcodetools area pocketing (1324670 просмотров) <a class='original' href='./download/file.php?id=772&sid=301d3b0d9f1c667c91fa07f64f898bb3&mode=view' target=_blank>Загрузить оригинал (147.75 КБ)</a>
Gcodetools area pocketing
Gcodetools lathe (1330991 просмотр) <a class='original' href='./download/file.php?id=642&sid=301d3b0d9f1c667c91fa07f64f898bb3&mode=view' target=_blank>Загрузить оригинал (21.98 КБ)</a>
Gcodetools lathe
Gcodetools engraving by Rene (1331156 просмотров) <a class='original' href='./download/file.php?id=631&sid=301d3b0d9f1c667c91fa07f64f898bb3&mode=view' target=_blank>Загрузить оригинал (233.84 КБ)</a>
Gcodetools engraving by Rene
Bears by Durachko (1266614 просмотров) <a class='original' href='./download/file.php?id=5429&sid=301d3b0d9f1c667c91fa07f64f898bb3&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) (1338570 просмотров) <a class='original' href='./download/file.php?id=127&sid=301d3b0d9f1c667c91fa07f64f898bb3&mode=view' target=_blank>Загрузить оригинал (752.7 КБ)</a>
Gcodetools plug-in tutorial (2600*1300 px png ~ 700Kb)
Curve to Gcode result (1338576 просмотров) <a class='original' href='./download/file.php?id=103&sid=301d3b0d9f1c667c91fa07f64f898bb3&mode=view' target=_blank>Загрузить оригинал (1023.52 КБ)</a>
Curve to Gcode result
Preview of the generated Gcode in EMC (1338567 просмотров) <a class='original' href='./download/file.php?id=130&sid=301d3b0d9f1c667c91fa07f64f898bb3&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 КБ) 102662 скачивания
Older versions(ver 1.5)
gcodetools-1.6.tar.gz
Gcodetools 1.6
(56.6 КБ) 15194 скачивания
(ver 1.5)
gcodetools.tar.gz
Gcodetools 1.5
(21.32 КБ) 10783 скачивания
(ver 1.4)
gcodetools.tar.gz
(14.72 КБ) 27416 скачиваний
(ver 1.2)
extensions.tar.gz
(9.01 КБ) 10553 скачивания

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 Gcode tools plug-in English support forum

Сообщение Nick »

Manual
Gcode tools ver 1.0.0

Interface
interface.png (824914 просмотров) <a class='original' href='./download/file.php?id=124&sid=301d3b0d9f1c667c91fa07f64f898bb3&mode=view' target=_blank>Загрузить оригинал (85.2 КБ)</a>
1.,2. Output Filename and directory. If output directory contains 'header' and/or 'footer' file they will be used as header and footer for resulting Gcode.
Attention! you must specify directory in which you have rights to write! (For example my home directory '/home/nick/')


3. Z coordinate definitions.
  • Z safe - Z value of the safe distance used by G00 code to travel between different contours.
  • Z surface - Z value of the material surface
  • Z depth - depth of cutting
  • Z step for each cycle - Z step for multi-pass cutting
4. Unit selection. Inkscape's internal unit is px, all contours will be converted using px. This selection just put in Gcode G20 or G21 code. So if path has width equal 10 px and mm selected as unit result will be has width 10 mm, if in selected then result will be 10".

5. Tool diameter is used for area cutting.

6. Maximum area cutting curves is used to prevent infinite loop while computing area cutting.
Area "inkscape:radius" is used for computing area cutting curves using Incscape offset.

7. Function selection
  • Curve to Gcode - converts paths to Gcode
  • Area to Gcode - It's a quite slow method of computing Area cutting curves. Complexity of the algorithm is O(n^2) where n is the number of points. I would not recommend to use it with complex contours with more than 50 points.
  • Prepare Area using Inkscape - Creates a number of inkscape offset's which covers Path's area. This function can be applyed only to Inkscape Dynamic Offsets (Select path then Path -> Dynamyc Offset).
8. Minimum arc radius Important!. Defines minimal value or G02 and G03 arc radius. If the radius is realy small (less than 0.1 mm) EMC can raise "Zerro arc radius!" exception.
Attention! Default value = '0.05'. In some locales fraction delimiter differs to '.', if so Inkscape will consider '0.05' as '0'!

9. Scaling and offset values for X Y Z axis.
Be careful with that: if you define different values to X and Y scale G02 and G03 codes will be wrong and EMC will definitely raise an exception.

Usage Example
This picture shows main features of this plug-in:
Gcode tools plug-in tutorial (2600*1300 px png ~ 700Kb) (824914 просмотров) <a class='original' href='./download/file.php?id=125&sid=301d3b0d9f1c667c91fa07f64f898bb3&mode=view' target=_blank>Загрузить оригинал (752.7 КБ)</a>
Gcode tools plug-in tutorial (2600*1300 px png ~ 700Kb)
Gcode from the example:
gnu.ngc
(27.14 КБ) 23869 скачиваний
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Nick »

Bug with styles type mismatch fixed.

Inkscape ver 0.46, Ubuntu Linux Intrepid, Gnome causes exception:

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

Traceback (most recent call last):
File "/usr/share/inkscape/extensions/gcode_tools.py", line 36, in <module>
'biarc0': simplestyle.formatStyle({ 'stroke': '#88f', 'fill': 'none', 'stroke-width':1 }),
File "/usr/share/inkscape/extensions/simplestyle.py", line 178, in formatStyle
return ";".join([":".join(i) for i in a.iteritems()])
TypeError: sequence item 1: expected string, int found
Bug with my English fixed:
"cicles" now "cycles" :).

Latest version is in the header.

Thanks Culturedropout for the feedback!
Culturedropout
Новичок
Сообщения: 5
Зарегистрирован: 04 фев 2010, 19:08
Репутация: 0
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Culturedropout »

Hi. Thanks for checking on that. I looked at the code and sort of guessed that it needed single quotes around the numbers you're passing to simplestyle, and went ahead and tried changing that. Now I get the message that "Gcode tools working - please wait..." briefly but still no output file. I noticed in the code that you appear to have the destination folder hard-coded to someone's (your?) home directory:

if os.path.isfile("/home/nick/output.txt") :os.remove("/home/nick/output.txt")
def print_(s=''):
f = open("/home/nick/output.txt","a")
f.write(str(s))
f.write("\n")
f.close()

So I went ahead and modified that to save the file in the current user's home directory in the "Desktop" folder, but it's still not producing any output. I tried creating a test file with the same name in the target location to see if it at least gets deleted, but that doesn't even seem to happen. Any suggestions?
Culturedropout
Новичок
Сообщения: 5
Зарегистрирован: 04 фев 2010, 19:08
Репутация: 0
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Culturedropout »

Oops - scratch that. I didn't have anything selected. :oops: I can't tell if it's using the hard-coded name or the one from the configuration settings yet. It's "working" and my machine is at 100%, so _something_ is happening. :o I'll get back to you.
Culturedropout
Новичок
Сообщения: 5
Зарегистрирован: 04 фев 2010, 19:08
Репутация: 0
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Culturedropout »

Well, I don't seem to be getting anything to work. When I set things up as follows and click "Apply" sometimes I get the "working" message for a few seconds, and sometimes I get no action at all. It rarely creates a file, and when it does, I get something like:

%
(Generated by gcode_tools from inkscape.)
M3
G20 (All units in inches)
#4 = 9.000000 (Feed)
#5 = 1.000000 (Scale x)
#6 = 1.000000 (Scale y)
#7 = 1.000000 (Scale z)
#8 = 0.000000 (Offset x)
#9 = 0.000000 (Offset y)
#10 = 0.000000 (Offset z)
#11 = 0.200000 (Safe distanse)
M5
G00 X0.0000 Y0.0000
M2
(end)
%
Screenshot.png (824781 просмотр) <a class='original' href='./download/file.php?id=136&sid=301d3b0d9f1c667c91fa07f64f898bb3&mode=view' target=_blank>Загрузить оригинал (153.1 КБ)</a>
Am I doing something wrong, or is there a problem with the extension? Any help would be appreciated. Thanks.
Culturedropout
Новичок
Сообщения: 5
Зарегистрирован: 04 фев 2010, 19:08
Репутация: 0
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Culturedropout »

A bit more information: Using "strace -f -eopen inkscape" from a command line to start inkscape, we see a bunch of "No such file or directory" errors when it appears to be looking for cmath and cmathmodule. Is there some package I need to install to provide these files?

[pid 28782] open("/usr/share/inkscape/extensions/cmath.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/share/inkscape/extensions/cmathmodule.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/share/inkscape/extensions/cmath.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/share/inkscape/extensions/cmath.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/lib/python2.5/cmath.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/lib/python2.5/cmathmodule.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/lib/python2.5/cmath.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/lib/python2.5/cmath.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/lib/python2.5/plat-linux2/cmath.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/lib/python2.5/plat-linux2/cmathmodule.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/lib/python2.5/plat-linux2/cmath.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/lib/python2.5/plat-linux2/cmath.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/lib/python2.5/lib-tk/cmath.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/lib/python2.5/lib-tk/cmathmodule.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/lib/python2.5/lib-tk/cmath.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/lib/python2.5/lib-tk/cmath.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
[pid 28782] open("/usr/lib/python2.5/lib-dynload/cmath.so", O_RDONLY|O_LARGEFILE) = 4
[pid 28782] open("/usr/lib/python2.5/lib-dynload/cmath.so", O_RDONLY) = 5
[pid 28782] open("/tmp/ink_ext_XXXXXX.svg6SOI7U", O_RDONLY|O_LARGEFILE) = 3
Process 28782 detached
open("/tmp/ink_ext_XXXXXX.svg5PIR7U", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 9
open("/usr/lib/gnome-vfs-2.0/modules/libfile.so", O_RDONLY) = 9
open("/etc/ld.so.cache", O_RDONLY) = 9
open("/lib/libacl.so.1", O_RDONLY) = 9
open("/usr/lib/libfam.so.0", O_RDONLY) = 9
open("/lib/libattr.so.1", O_RDONLY) = 9
open("/etc/mtab", O_RDONLY) = 9
open("/tmp/ink_ext_XXXXXX.svg5PIR7U", O_RDONLY) = 9

** (inkscape:28753): CRITICAL **: void Inkscape::GC::Anchored::release() const: assertion `_anchor' failed
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Nick »

Culturedropout писал(а):
Screenshot.png
Am I doing something wrong, or is there a problem with the extension? Any help would be appreciated. Thanks.
May be you are :). What object type has that star? Is it a "Star" or "Path"? I can see that you've selected 2 objects, one of them "path" and another not! (It's written at the bottom of the window.)

About next post...
From the python manual:
10.3. cmath — Mathematical functions for complex numbers
This module is always available. It provides access to mathematical functions for complex numbers. The functions in this module accept integers, floating-point numbers or complex numbers as arguments. They will also accept any Python object that has either a __complex__() or a __float__() method: these methods are used to convert the object to a complex or floating-point number, respectively, and the function is then applied to the result of the conversion.
It seems that your python standard library might been damaged. Try to reinstall python.
When do you get this errors? At start of Inkscape or when you try to execute extension? My extension does not use complex numbers, so it should work with out cmath...

About the directory... Yes it is my home dir. But this function was made for debugging purposes. So it's never used in yours version.
One more thing unfortunately "~/" does not work, you should choose /home/<your home dir> instead of it. That could cause your problems. I've made a fix that raises exception instead of doing nothing if file can not been created.


Ok, I think I've done that, corrected version is in the header.
Culturedropout
Новичок
Сообщения: 5
Зарегистрирован: 04 фев 2010, 19:08
Репутация: 0
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Culturedropout »

I tried reinstalling all of the basic Python libraries, but I'm still seeing those error messages about cmath in the trace. They appear to start showing up right after simplestyle, simplestylemodule, and/or simplepath are called. Could one or more of those be looking for the math functions? I'm not sure why it said "2 objects" in the screencap; I thought I'd done all the steps correctly to convert the object, but maybe I missed one. At any rate, I also fixed the path setting to say "/home/bill/Desktop" and tried it again, making sure that it said "Path (10 nodes)" when I selected the star, and it produced what appears to be correct G-Code output. :D I _did_ notice that when I click "Apply" in your plugin, a light-red "ghost" image of the star appears in Inkscape a little to the left of the original (see attached screencap). Is this supposed to happen? Maybe it did this before and I selected both without noticing the new object? I don't know. I'm probably not going to have a lot of time to work on this today, but I wanted to let you know that despite my best efforts, it's starting to do what it's supposed to. :lol: Thanks for your help. I'll try it shortly on some more complex shapes and see what happens. (I'm trying to generate g-code to engrave the symbols for a custom-made Mah Jong tile set from a modified version of a Mah Jong TrueType font I downloaded.) Hope you're having a good day. :)
Вложения
Screenshot-1.png (824773 просмотра) <a class='original' href='./download/file.php?id=139&sid=301d3b0d9f1c667c91fa07f64f898bb3&mode=view' target=_blank>Загрузить оригинал (109.92 КБ)</a>
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Nick »

I _did_ notice that when I click "Apply" in your plugin, a light-red "ghost" image of the star appears in Inkscape a little to the left of the original (see attached screencap). Is this supposed to happen?
The 'ghost' image is a kind of preview of generated Gcode. If you try to convert curves with not straight you'll see plug-ins major function - biarc interpolation. In that preview straight elements (G01) are drawn in red - that's what you've got, and two arcs from biarc (G02 or G03) are drawn in green and blue. If something goes wrong or mistake of the interpolation is to big you can see it in preview.

The only strange thin is that it appears a little to the left, instead of same place of the source path. But still I'm happy "it's starting to do what it's supposed to." :lol:
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Nick »

A new option has been implemented. See check box at Params tab.

Generation of not parametric Gcode (not using predefined parameters in Gcode, but calculate all offsets and scaling inside plug-in). This option is needed if machine controlling software does not support defining parameters inside Gcode file.
Look at the header for the latest version!
extensions.tar.gz
(11.25 КБ) 12997 скачиваний
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Nick »

A bug with non parametric Gcode fixed.
Raise exception when due to calculation tolerances arc has different radius at the beginning and at the end.
Line 701 change "r*self.options.Xscale" to "(r*self.options.Xscale)".
Header contains corrected version.
rene
Новичок
Сообщения: 4
Зарегистрирован: 12 фев 2010, 18:25
Репутация: 0
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение rene »

I just upgraded to the latest version, and very nice it the generator outputs circles.But Is it possible to output straight line segments as the older version?.I want to generate code for a hot wire cutter and as far as i know in emc2 g2 g3 is not supported when using a x1z1 x2z2 set-up.

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

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Nick »

Just convert all knots of your path to straight lines: select path press F2 to edit knots, than press Ctrl+a, to select all knots, then press button "Make selected segments lines".
This plug-in converts straight lines and curves that are really close to straight lines to G01 code.
Аватара пользователя
admin
Site Admin
Сообщения: 101
Зарегистрирован: 05 мар 2009, 18:23
Репутация: 54
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение admin »

Here is ordinary zip archived files for windows users who has problems with unpacking tar.gz.
Just unzip this and copy this files to: \Program Files\Inkscape\share\extensions\.
Вложения
extensions.zip
(11.19 КБ) 14719 скачиваний
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Nick »

Due to my bad English I do not know how to call function that now is called Pattern engraving.
The meaning of this function is to convert curves which have differential stroke width to Gcode with depth that depends on stroke width and tool shape.

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

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Nick »

First screen shot of new feature Loft:

How it's done in two words:
Plug-in takes a number of paths, distances between them along (y axis) and some additional parameters. Then it generates interpolation from one curve to another in given order.
There are some hidden features:
For example the step between two interpolated paths is calculated depending on interpolation function and position of control points, so this step distance is not static. It prevents big stairs on ending model.

What is needed to be done to release this function:
Add interpolation functions.
Do the bug fix. :)
loft.png (824489 просмотров) <a class='original' href='./download/file.php?id=153&sid=301d3b0d9f1c667c91fa07f64f898bb3&mode=view' target=_blank>Загрузить оригинал (324.76 КБ)</a>
This version probably has a lot of bugs, I wont recommend you using it right now.
extensions.tar.gz
(13.61 КБ) 9198 скачиваний
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Nick »

A bug with non parametric code have been fixed.
Due to this bug some G00 and G01 codes could be in one string which is an error and G00 code was used instead of G01.

Corrected version is in the first post of the thread.

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

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Nick »

New version of Gcode tools is almost ready!
I think it will be released at this weekend.
What's new:
  • Curve to Gcode is Path to Gcode now according to Inkscape's naming
    • Automatic Path subdivision added.
    • Biarc interpolation tolerance added. It defines maximum distance between path and it approximation.
      If distance between path's segment and it's approximation is greater than biarc interpolation tolerance the segment will be split into two segments.
    • Maximum splitting depth added. It defines how many times path's segment can be split to reach interpolation tolerance.
  • Area to Gcode removed.
    • This function was buggy, it worked to slow and it's results are not editable.
  • Area inkscape is Calculate area curves now. I think this name represents the function better.
    • It becomes much more easier to work with this function: no need to convert path to dynamic offset or do additional things. Just fill in tool diameter and offset width and press apply.
Also Loft and Engraving functions are being developed.
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcode tools plug-in English support forum

Сообщение Nick »

New version of Gcode tools is ready!
extensions.tar.gz
(8.96 КБ) 19205 скачиваний
What's new:
  • Curve to Gcode is Path to Gcode now according to Inkscape's naming
    • Automatic Path subdivision added.
    • Biarc interpolation tolerance added. It defines maximum distance between path and it approximation.
      If distance between path's segment and it's approximation is greater than biarc interpolation tolerance the segment will be split into two segments.
    • Maximum splitting depth added. It defines how many times path's segment can be split to reach interpolation tolerance.
    • A small optimization of traverse added.
  • Area to Gcode removed.
    • This function was buggy, it worked to slow and it's results are not editable.
  • Area inkscape is Calculate area curves now. I think this name represents the function better.
    • It becomes much more easier to work with this function: no need to convert path to dynamic offset or do additional things. Just fill in tool diameter and offset width and press apply.
Also Loft and Engraving functions are being developed.
Ответить

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