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 (1355981 просмотр) <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 (1358905 просмотров) <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 (1345008 просмотров) <a class='original' href='./download/file.php?id=772&mode=view' target=_blank>Загрузить оригинал (147.75 КБ)</a>
Gcodetools area pocketing
Gcodetools lathe (1351329 просмотров) <a class='original' href='./download/file.php?id=642&mode=view' target=_blank>Загрузить оригинал (21.98 КБ)</a>
Gcodetools lathe
Gcodetools engraving by Rene (1351494 просмотра) <a class='original' href='./download/file.php?id=631&mode=view' target=_blank>Загрузить оригинал (233.84 КБ)</a>
Gcodetools engraving by Rene
Bears by Durachko (1286952 просмотра) <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) (1358908 просмотров) <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 (1358914 просмотров) <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 (1358905 просмотров) <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 КБ) 103133 скачивания
Older versions(ver 1.5)
gcodetools-1.6.tar.gz
Gcodetools 1.6
(56.6 КБ) 15526 скачиваний
(ver 1.5)
gcodetools.tar.gz
Gcodetools 1.5
(21.32 КБ) 11068 скачиваний
(ver 1.4)
gcodetools.tar.gz
(14.72 КБ) 27861 скачивание
(ver 1.2)
extensions.tar.gz
(9.01 КБ) 10875 скачиваний

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 »

Fresh fixes Gcodetools 1.6.03

Some fixes for Windows users.
There were problems with different slashes in the directory.

Fixed version is in the header of this thread.
lapenduledargent
Новичок
Сообщения: 3
Зарегистрирован: 18 сен 2010, 22:51
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение lapenduledargent »

Hello,

I found your extension Gcode Tools.
I have to make PCBs.
The problem is that the machining is done on the runway.
My tracks are "eaten" by the bit instead of milling outside and inside tracks
How please?
I enclose my files.

Good Sunday

Pierre
Вложения
lapenduledargent.tar.gz
(39.2 КБ) 1697 скачиваний
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

I'm sorry I do not get what you want.
Do you want to cut everything except the drawing (tracks?)?
If yes you can try to convert stroke to path and cut those paths.

Here's a simple step by step instruction:

First of all I'll explain how to cut the "outline" of the drawing

1. I think it would be better to define different line width from that is on the drawing because the cutter's radius is not 0.
So select all the straight lines having current width. You can do it manually or automatically using "find".
to use find we have to know the stroke width. Select one of the straight lines and press Ctrl+Shift+X and search for the stroke-width in the style.
Screenshot--home-nick-Design-cnc-club.ru-gcodetools-tests-lapenduledargent_result.svg - Inkscape.png (11349 просмотров) <a class='original' href='./download/file.php?id=701&mode=view' target=_blank>Загрузить оригинал (286.11 КБ)</a>
then remember stroke-width and press Ctrl+F to open find dialog and find all similar lines:
Screenshot-Find (Ctrl+F).png
Screenshot-Find (Ctrl+F).png (18.53 КБ) 11349 просмотров
Screenshot-lapenduledargent.svg - Inkscape-1.png (11349 просмотров) <a class='original' href='./download/file.php?id=703&mode=view' target=_blank>Загрузить оригинал (217.52 КБ)</a>
Then we need to convert outline to path and we want to make it thicker. I've set stroke width equal to 3. And converted outline to path (Path -> Stroke to path Ctrl+Alt+C). Then add paths together by pressing Ctrl+"+" and set stroke to Grey and fill to none to check if everything is correct.
Screenshot-lapenduledargent.svg - Inkscape-2.png (11349 просмотров) <a class='original' href='./download/file.php?id=704&mode=view' target=_blank>Загрузить оригинал (219.84 КБ)</a>
Then proceed with the small plates. Some of them not actually outline paths but paths with thick stroke.
So doing almost the same as before get stroke-width, find, convert outline to path and add to previous result.
Screenshot-lapenduledargent.svg - Inkscape-2.png (11349 просмотров) <a class='original' href='./download/file.php?id=705&mode=view' target=_blank>Загрузить оригинал (219.84 КБ)</a>
Then convert other paths:
Screenshot-lapenduledargent.svg - Inkscape-3.png (11349 просмотров) <a class='original' href='./download/file.php?id=706&mode=view' target=_blank>Загрузить оригинал (202.87 КБ)</a>
And finally find all the paths that are filled with #000 and add (Ctrl+"+") them to the result:
Screenshot-lapenduledargent.svg - Inkscape-4.png (11349 просмотров) <a class='original' href='./download/file.php?id=707&mode=view' target=_blank>Загрузить оригинал (226.07 КБ)</a>
Finally you should get something like this:
gcadetools PCB cutting Gcode.png (11347 просмотров) <a class='original' href='./download/file.php?id=710&mode=view' target=_blank>Загрузить оригинал (127.97 КБ)</a>
For the first time it toke me 10-15 minutes to prepare the paths but I think it would take about 5 minutes next time.

Now you can apply Path to Gcode from Gcode tools to cut this thing out :). (Convert to Gcode only gray paths.)
Here's ready svg file from this tutorial:
lapenduledargent_result.svg
(330.21 КБ) 1516 скачиваний
If you want cat the rest of the area you should use area cutting function. But probably it wont be needed.

PS hope to see photos of your plate being cut ;).
lapenduledargent
Новичок
Сообщения: 3
Зарегистрирован: 18 сен 2010, 22:51
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение lapenduledargent »

Thank you for your prompt response.

What I seek is the engraving with a milling machine:

Изображение

Изображение


Thank you for your tests, I will try this afternoon.

Best Reagards

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

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

I think that you will get exactly what you want :).
lapenduledargent
Новичок
Сообщения: 3
Зарегистрирован: 18 сен 2010, 22:51
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение lapenduledargent »

It's me again ...

I reproduced your tutorial but can you detail this function because I can not win :( :
Then "we need to convert to outline path and we want to make it thicker. I've set stroke width to 3 EQUAL.
Thank you

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

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

You need firstly to adjust path's stroke's width: Press Ctrl+Shift+F then select stroke style and adjust width, or choose one of the predefined values by MouseRghtClick at the number near
"Stroke" at the bottom left.
And then convert the outline to path Path->Stroke to path (Ctrl+Alt+C).
That's it.
jmacwill
Новичок
Сообщения: 7
Зарегистрирован: 01 окт 2010, 04:25
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение jmacwill »

Hi there, I have a fresh install of Ubuntu 10.04 and Inkscape.

I have downloaded the latest version of gcodetools (1.6.03). I followed the directions and it shows up as a section in the extension menu.

Unfortunately - I cannot get any futher - I click on the arrow to get the extensions themselves and there is nothing there - just a single pixel line with nothing populated in it. I must be missing some dependency that is not listed in the forums anywhere. Does anybody have any ideas what may be wrong?

Thanks

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

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Hi!

Try starting inkscape from terminal. It could give more info about what is wrong. (post here any error messages, they should appear just before the window shows up, or when you are activating Gcodetools menu)
There should not be any extra dependences. And if the Gcodetools menu shows up, there should be something in it.

Normally you should get something like this:
Вложения
Inkscape gcodetools screenshot.png (11297 просмотров) <a class='original' href='./download/file.php?id=733&mode=view' target=_blank>Загрузить оригинал (135.69 КБ)</a>
jmacwill
Новичок
Сообщения: 7
Зарегистрирован: 01 окт 2010, 04:25
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение jmacwill »

I wish I could actually capture the screen to show you the single line that appears instead of the sub-menu you show on your screen - but the screen capture does not work unless I close the menu. How did you get that screen capture?

As far as running inkscape from the terminal - i get no errors at all, inkscape just runs.

On an aside - I installed it on my netbook and it seems to run just fine - but I have used it as my test platform and it has several other inkscape extensions installed. I cannot understand why it will not run on the desktop with a clean install.

Isnt there a file that is required to tell inkscape what to populate the dropdown menu with? Which file is that and where should it live?

Thanks

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

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

There's a hack how to make a screenshot of the menu ;) . Launch Accessories -> Take a screenshot and set up delay. Then go to inkscape open the menu and wait for the delay. Usually 4 seconds is enough.

Each menu item is described in the .inx files. At the end of the file there's section:

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

    <effect>
		<effects-menu>
			<submenu _name="Gcodetools"/>
		</effects-menu>
		<object-type>path</object-type>
    </effect>
So removing submenu element should put it into the extensions root menu.

By the way there should be a common Gcodetools element which contains all the functions.
jmacwill
Новичок
Сообщения: 7
Зарегистрирован: 01 окт 2010, 04:25
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение jmacwill »

Thanks for that

The screenshot is attached, also with the terminal window demonstrating the clear lack of errors.

Just for your own intrest, I included a listing of the files in my extensions directory:
addnodes.inx
inkscape_help_keys.inx
addnodes.py
inkscape_help_manual.inx
ai_input.inx
inkscape_help_relnotes.inx
aisvg.inx
inkscape_help_reportabug.inx
aisvg.xslt
inkscape_help_svgspec.inx
alphabet_soup
Inkscape.pm
Barcode
inkwebeffect.py
bezmisc.py
inkweb.js
ccx_input.inx
interp_att_g.inx
cdr_input.inx
interp_att_g.py
cdt_input.inx
interp.inx
cgm_input.inx
interp.py
chardataeffect.py
launch_webbrowser.py
cmx_input.inx
lindenmayer.inx
color_brighter.inx
lindenmayer.py
color_brighter.py
lorem_ipsum.inx
color_custom.inx
lorem_ipsum.py
color_custom.py
markers_strokepaint.inx
color_darker.inx
markers_strokepaint.py
color_darker.py
measure.inx
color_desaturate.inx
measure.py
color_desaturate.py
motion.inx
coloreffect.py
motion.py
color_grayscale.inx
outline2svg.inx
color_grayscale.py
outline2svg.pl
color_lesshue.inx
param_curves.inx
color_lesshue.py
param_curves.py
color_lesslight.inx
pathalongpath.inx
color_lesslight.py
pathalongpath.py
color_lesssaturation.inx
pathmodifier.py
color_lesssaturation.py
pathscatter.inx
color_morehue.inx
pathscatter.py
color_morehue.py
perfectboundcover.inx
color_morelight.inx
perfectboundcover.py
color_morelight.py
perspective.inx
color_moresaturation.inx
perspective.py
color_moresaturation.py
plt_input.inx
color_negative.inx
plt_output.inx
color_negative.py
plt_output.py
color_randomize.inx
Poly3DObjects
color_randomize.py
polyhedron_3d.inx
color_removeblue.inx
polyhedron_3d.py
color_removeblue.py
printing-marks.inx
color_removegreen.inx
printing-marks.py
color_removegreen.py
ps2dxf.sh
color_removered.inx
ps2pdf-ext.py
color_removered.py
ps_input.inx
color_replace.inx
pturtle.py
color_replace.py
radiusrand.inx
color_rgbbarrel.inx
radiusrand.py
color_rgbbarrel.py
render_alphabetsoup_config.py
colors.xml
render_alphabetsoup.inx
convert2dashes.inx
render_alphabetsoup.py
convert2dashes.py
render_barcode.inx
cspsubdiv.py
render_barcode.py
cubicsuperpath.py
restack.inx
dia2svg.sh
restack.py
dia.inx
rtree.inx
dimension.inx
rtree.py
dimension.py
rubberstretch.inx
dots.inx
rubberstretch.py
dots.py
run_command.py
draw_from_triangle.inx
scour.inkscape.py
draw_from_triangle.py
scour.inx
dxf_input.inx
scour.py
dxf_input.py
simplepath.py
dxf_outlines.inx
simplepath.rb
dxf_outlines.py
simplestyle.py
dxf_output.inx
simpletransform.py
dxf_templates.py
sk1_input.inx
edge3d.inx
sk1_output.inx
edge3d.py
sk1_output.py
embedimage.inx
sk2svg.sh
embedimage.py
sk_input.inx
embed_raster_in_svg.pl
spirograph.inx
eps_input.inx
spirograph.py
eqtexsvg.inx
SpSVG.pm
eqtexsvg.py
straightseg.inx
export_gimp_palette.inx
straightseg.py
export_gimp_palette.py
summersnight.inx
extractimage.inx
summersnight.py
extractimage.py
svg2xaml.inx
extrude.inx
svg2xaml.xsl
extrude.py
svg_and_media_zip_output.inx
ffgeom.py
svg_and_media_zip_output.py
fig2dev-ext.py
svgcalendar.inx
fig_input.inx
svgcalendar.py
flatten.inx
svg_regex.py
flatten.py
text_braille.inx
foldablebox.inx
text_braille.py
foldablebox.py
text_flipcase.inx
fractalize.inx
text_flipcase.py
fractalize.py
text_lowercase.inx
funcplot.inx
text_lowercase.py
funcplot.py
text_randomcase.inx
gcodetools_all_in_one.inx
text_randomcase.py
gcodetools_area.inx
text_replace.inx
gcodetools_check_for_updates.inx
text_replace.py
gcodetools_dxf_points.inx
text_sentencecase.inx
gcodetools_engraving.inx
text_sentencecase.py
gcodetools_lathe.inx
text_titlecase.inx
gcodetools_orientation_points.inx
text_titlecase.py
gcodetools_path_to_gcode.inx
text_uppercase.inx
gcodetools.py
text_uppercase.py
gcodetools_tools_library.inx
triangle.inx
gears.inx
triangle.py
gears.py
txt2svg.inx
gimp_xcf.inx
txt2svg.pl
gimp_xcf.py
uniconv-ext.py
grid_cartesian.inx
uniconv_output.py
grid_cartesian.py
web-set-att.inx
grid_polar.inx
web-set-att.py
grid_polar.py
web-transmit-att.inx
guides_creator.inx
web-transmit-att.py
guides_creator.py
whirl.inx
handles.inx
whirl.py
handles.py
wmf_input.inx
hpgl_output.inx
wmf_output.inx
hpgl_output.py
wmf_output.py
ill2svg.pl
xaml2svg
inkex.py
xaml2svg.inx
inkscape_help_askaquestion.inx
xaml2svg.xsl
inkscape_help_commandline.inx
yocto_css.py
inkscape_help_faq.inx
Not sure if it helps, but you may see something obvious.

I will dig into the code for the extensions later today - hopefully I can get them working on this machine (though that doesn't make sense to me why it would be different)

Thanks again

Jonathan
Вложения
Screenshot-1.png (11291 просмотр) <a class='original' href='./download/file.php?id=734&mode=view' target=_blank>Загрузить оригинал (198.35 КБ)</a>
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

And what about other extensions? For example "Arrange" or "Color" groups do they open fine?
jmacwill
Новичок
Сообщения: 7
Зарегистрирован: 01 окт 2010, 04:25
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение jmacwill »

The rest of the menus work fine

See below
Вложения
Screenshot-2.png (11286 просмотров) <a class='original' href='./download/file.php?id=735&mode=view' target=_blank>Загрузить оригинал (275.8 КБ)</a>
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

hmmm that looks strange, can you remove all gcodetools*.inx and copy to extensions ony one inx. May be there's a problem with one of them which interferes others.

What happens if you remove <submeu> tag?
jmacwill
Новичок
Сообщения: 7
Зарегистрирован: 01 окт 2010, 04:25
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение jmacwill »

I figured it out.

The files call "gcodetools-dev.py" as a dependancy. This file is not included in the download - only "gcodetools.py" is included in the download. I switched the all in file to look for gcodetools.py instead of gcodetools-dev.py and it appeared in the menu.

Now, my question is:

Do I modify each .inx file to call gcodetools.py?

Do I rename gcodetools.py to gcodetools-dev.py?

OR

Do I ask you to supply me a copy of gcodetools-dev.py because it is a completely different file than gcodetools.py?

Thanks for your help!

Jonathan
Вложения
Screenshot-3.png (11277 просмотров) <a class='original' href='./download/file.php?id=736&mode=view' target=_blank>Загрузить оригинал (182.59 КБ)</a>
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

Ups... that's my fault.
gcodetools-dev is a development version. Probably I've forgot to change the dependences when we've made a release. Most of us have not noticed it because we have both dev and stable versions. I'll check it recently.

Thanks for the report!

I think that every choice that write should fix the problem.

Now develop focused mostly on graffiti extension. You can read about using google translate. http://translate.google.com/translate?j ... 3%26t%3D91

By the way you can read all the Russian pages on this site pressing the flags at the top right of the page.
jmacwill
Новичок
Сообщения: 7
Зарегистрирован: 01 окт 2010, 04:25
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение jmacwill »

It fired up!

I modified the inx files to call gcodetools.py

looks great, but I am getting a new error :(

what do you think?

Jonathan
Вложения
Desk 1_002.png (11273 просмотра) <a class='original' href='./download/file.php?id=739&mode=view' target=_blank>Загрузить оригинал (193.14 КБ)</a>
Аватара пользователя
Nick
Мастер
Сообщения: 22776
Зарегистрирован: 23 ноя 2009, 16:45
Репутация: 1735
Заслуга: Developer
Откуда: Gatchina, Saint-Petersburg distr., Russia
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение Nick »

This means that you have one parameter with empty name.

The whole picture with extensions looks as follows:
1. extension is a separate python script.
2. when you run extension from the inkscape it executes something like this:
"python egcodetools.py --param_name=value ... --svg='plain svg'" and get's the resultin plain svg from the standard output.
"Unknown option --" means that there's a parameter without name.

May be it'll be easier to you to try dev version. To get it you'll need bazaar.
sudo apt-get bzr
#then get the gcodetools dev version to current dir:
bazaar branch lp:gcodetools
#go inside gcodetools
cd gcodetools
#then generate all inx files:
python create_inx.py
#and copy all the files into extensions dir:
sudo cp gcodetools* /usr/share/inkscape/extensions/

By the way where from have you got your version. I've just checked those one that in the header there's no such dependences in the inx files. I remember that I have fixed dependences problem about a month ago. May be you have old version...
jmacwill
Новичок
Сообщения: 7
Зарегистрирован: 01 окт 2010, 04:25
Репутация: 0
Контактная информация:

Re: Inkscape Gcodetools plug-in English support forum

Сообщение jmacwill »

I will try that out - but I want to let you know that I got the file from your Sept 1st posting at 2:46 - it is on this page near the top. It is Version 1.6.03 - you said you made some fixes for windows users.

Which version should I have?

Jonathan
Ответить

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