Search found 13 matches

by pfeuh
Tue Sep 10, 2019 4:09 pm
Forum: General Discussions
Topic: Scripting Inkscape
Replies: 10
Views: 4855

Re: Scripting Inkscape

Hello, As I could't get enough help on this "confidential" python library, I've done one. No need to have inkscape or exotic python library, it generates svg files. It's really brutal, but it works fine. It's here, on github site: https://github.com/pfeuh/yass/tree/master/doc/frontPannel/s...
by pfeuh
Sun Jul 07, 2019 5:30 pm
Forum: Help with using Inkscape
Topic: svg to dxf
Replies: 12
Views: 1706

Re: svg to dxf

Hello,

The .svg file generated in python is here:

test.svg
(10.73 KiB) Downloaded 86 times


The .dxf generated from this .svg file is here:

test.zip
(36.41 KiB) Downloaded 82 times


Thanks for informatrion about engraving text on laser cutter.
by pfeuh
Sun Jul 07, 2019 5:18 pm
Forum: Help with using Inkscape
Topic: svg to dxf
Replies: 12
Views: 1706

Re: svg to dxf

Bas post. I haven't find how to delete it. :?
by pfeuh
Sat Jul 06, 2019 8:13 pm
Forum: Help with using Inkscape
Topic: svg to dxf
Replies: 12
Views: 1706

Re: svg to dxf

Hello, thank you very much for your answers, much appreciated! I'm not at home at the moment. Back in a while! ;)
by pfeuh
Fri Jul 05, 2019 9:58 pm
Forum: Help with using Inkscape
Topic: svg to dxf
Replies: 12
Views: 1706

Re: svg to dxf

I don't know wath template you are talking about. I script with svgwrite, it makes me a svg file, then I open it with inkscape to generate a dfx file.
by pfeuh
Fri Jul 05, 2019 4:03 pm
Forum: Help with using Inkscape
Topic: svg to dxf
Replies: 12
Views: 1706

Re: svg to dxf

Shame on me! I didn't noticed this in the FAQ! Anyway, my problem seems to be the same, but this tip doesn't fix the issue.
by pfeuh
Fri Jul 05, 2019 3:52 am
Forum: Help with using Inkscape
Topic: svg to dxf
Replies: 12
Views: 1706

Re: svg to dxf

Thank you for this answer. It helps a lot. I have done these jobs: install the last inscape 9.2 load the file test.svg change all objects to path Change current unit to mm save the file as test.dxf Open file selector with new file select file test.dxf selected "Scaling -> read from file load th...
by pfeuh
Fri Jul 05, 2019 12:55 am
Forum: Help with using Inkscape
Topic: svg to dxf
Replies: 12
Views: 1706

svg to dxf

Hello, As continuation of this topic , I can now laser cut with scripted python files, but there is another problem. The chinese laser cut machine we use understand only dxf files. So I did one, with Inkscape option Files/Save and then changing filetype to AutoCAD DXF R14, it is the only dxf format ...
by pfeuh
Fri Jun 28, 2019 1:28 am
Forum: General Discussions
Topic: Scripting Inkscape
Replies: 10
Views: 4855

Re: Scripting Inkscape

I've done close to what I wanted to to. My coordinates system goes from left to right for x and from bottom to top for y. When I assign x y to a shape, it"s from the center of the shape. I give the unit I want to use once, after I use only floats, as the unit is already defined. That gives a mo...
by pfeuh
Thu Jun 27, 2019 4:23 pm
Forum: General Discussions
Topic: Scripting Inkscape
Replies: 10
Views: 4855

Re: Scripting Inkscape

Is it included in the Windows package? No, it is not. But often python developpers use their own python distribution(s). For instance I use a python 2.7 and a python 3.x. As the embedded Inkscape python library is pure python (only scripts, no dll), it's easy to copy it from Inkscape to my own dist...
by pfeuh
Thu Jun 27, 2019 12:14 am
Forum: General Discussions
Topic: Scripting Inkscape
Replies: 10
Views: 4855

Re: Scripting Inkscape

Some news. I've found the svgwrite module in the inkscape binary directory , I copied it to my usual python site-packages directory and I've started to python script. It works pretty well. Some things are not clear for me, perhaps you can help me or drive me to a beginner tutorial? For instance: - c...
by pfeuh
Fri Jun 21, 2019 10:06 pm
Forum: General Discussions
Topic: Scripting Inkscape
Replies: 10
Views: 4855

Re: Scripting Inkscape

Hello Moini, Thanks for this information. Unfortunately, there is not yet a good knowledge in the fablab concerning the laser cut machine. I think it's feeded with gcode. A lot of people here create gcode with a lot of softwares. Whem the picture is done, they modify the gcode to make it understanda...
by pfeuh
Fri Jun 21, 2019 4:09 pm
Forum: General Discussions
Topic: Scripting Inkscape
Replies: 10
Views: 4855

Scripting Inkscape

Hello, I'm totally newbee, not native speaker and in retirement... That's done. :D In a fablab in my neighbourhood, they have now a laser cutting machine which can be driven by an inkscape file. I would like to use this machine to cut and engrave front pannels made in a kind of wood designed for thi...

Go to advanced search