Inkscape R12 Dxf — DXF R12 — Free Cnc Dxf Files

Free Cnc Dxf Files

Inkscape R12 Dxf

Labels:
Click to Enlarge


Inkscape is a great open program, that allows you to create & edit many types of vector files. What I found was that Inkscape had an issue with saving dxf files that will open in many, If not all cad programs. Being the type of person that can't leave well enough alone, & knowing that dxf files are really just simple text files that can be edited in any text editor, I set out to search the net with my trusty sidekick Google.

Now my goal is to get Inkscape to save a dxf file as a version 12 format. After looking thru the modified Inkscape files over at bobcookdev.com , I had a good idea what needed to be done to get Inkscape exporting in R12 dxf format.

With the help of cnczone members, two sample files were tested to see If either dxf file had any issues, as of this blog post, no problems.

I have only tested this with Inkscape 0.46 on Windows XP.

Installation:
Download the zip file Inkscape_R12_Dxf.zip (4.51kb). It contains:


*******************************************************************

simpletransform.py (this replaces an existing file)

mydxf_templates.py

mydxf_outlines.inx

mydxf_outlines.py


*******************************************************************

Extract the four files and install them into ( C:\Program Files\Inkscape\share\extensions ) this should be the default path that Inkscape saves to when first installing Inkscape, then restart Inkscape to activate.

When you are ready to save a file in Inkscape, the new extension is DXF R12 (*.DXF) , listed in the "Save As..." window.



(Download Zip file)

16 comments:

Works perfect. Output files open in Cut2D and Autocad 2004 no problem.


Glad everything is working for you. :)

And thanks for posting what programs you tested your files with.


Hi Switcher
Items traced in Inkscape open perfectly in CorelDraw X3 and cut perfectly when imported into AlphaCam. Thanks
Keelhauled


Keelhauled,

Thanks for the info. on CorelDraw X3 & AlphaCam. :)


Hi,

Would anyone have any idea how to do this with Inkscape 0.46 for os x? I'm not much of a programmer unfortunately... but as an architect this function would come in super handy. Thanks!


Nick,

I don't run OS X,

I'll look into what's needed for OS X, I can't promise anything. as I only run Win XP.


Hi Switcher,

Much appreciated, thank you.


Hello,
Switcher, Thank you for the plugin, it works wonderfully on my Windows system. I understand that you run Windows, do you know of anyone who is using it on Linux?

I'm running into some trouble getting it working on Inkscape v0.46 under Ubuntu v8.04 LTS. I first tried installing in my user Inkscape extensions dir and received the following errors:
--------------------------------------------------------
Traceback (most recent call last):
File "/home/{UserName}/.inkscape/extensions mydxf_outlines.py", line 24, in (module)
import inkex, simplepath, simpletransform, cubicsuperpath, cspsubdiv, mydxf_templates, re
ImportError: No module named inkex
--------------------------------------------------------
*** NOTE that "(module)" was surrounded by "<" ">" chars but needed to be changed in order to post on the forum.
I worked around the error by moving the plugin files from "/home/{UserName}/.inkscape/extensions" into the main Inkscpae extensions dir "/usr/share/inkscape/extensions" Now I do not get any errors but the DXF file that gets saved is 0 byte.

Anyone using the plugin know of a fix for this?

Thanks in advance for any help!


iam looking for a converter i scan in drawing and images that i make on my drawing board or i take a picture and trace it then i want to put in cad software and work on it ,can u help me
thanks mike c


mike c,

Have a look at this video on my other blog, Inkscape + my dxfR12 plugin makes it really easy (after you convert a few images to dxf).

http://inkscapedxf.blogspot.com/2008/11/inkscape-convert-bitmap-to-dxf.html

.


Great work, Switcher. Thanks for sharing. I've tried in on Acad2000 and it seems to be working fine.

Mike


Mike,

Glad it's working for you.

Thanks for the info on Acad2000.

Switcher


Hey Switcher,

Thanks for the convertor file for Inkscape. I guess I should try and learn the program now. You make it look so easy.

ericandmollie (cnczone)


ericandmollie,

Actually, once you learn a few basic things in Inkscape it's really easy to work with.

Inkscape has a few quirks, but hey it's free. :)

Thanks for stopping by.

Switcher


Hello,
is it possible to activate your extension from the command line?
Thanks.
Mattia.


I received the following error while trying to convert an SVG to DXF usinf R12 DXF:

File "C:\...\share\extensions\mydxf_outlines.py", line 81, in effect
h = inkex.unittouu(self.document.getroot().xpath('@height',inkex.NSS)[0])
AttributeError: 'NoneType' object has no attribute 'getroot'


Post a Comment

All cnc DXF files shown on this website are Free.

The Archive below, includes a list of over DXF files.

By visiting this site you agree to not distribute or publish any material from this site.

Enjoy the Free files.

Enter your email address:

Subscribe to the myDXF RSS feed today!
Contact Me

Followers

inkscape.org openclipart.org

Labels