README revision 6b15695578f07a3f72c4c9475c1a261a3021472a
4509N/A26 Aug 05
4509N/A
4509N/ATo use:
4509N/AI have only gotten this to work with Inkscape under linux (debian sarge). But the converter works from the commandline if you want to test it otherwise.
4509N/A
4509N/A1. Run make and copy dxf2svg to somewhere that is looked at by the PATH variable. Or add the current directory to your path
4509N/A2. Copy the dxf_import.inx to ../Inkscape/share/extensions
4509N/A3. Run Inkscape
4509N/A4. Click on open or import and the dxf option should be there
4509N/A
4509N/AI have compiled and then succesfully converted dxf files to svg files with the following setups
4509N/A
4509N/AWinXP Pro, Cygwin, g++ 3.3.3
4509N/ADebian Sarge, AMD x86_64, g++ 4.0.2
4509N/ARedHat(?), x86(?), g++ 3.2.3
4509N/A
4509N/AI have weakly tried and failed to compile using
4509N/ABorland's free compiler bcc32
4509N/AMinGW
4509N/A
4509N/AWhat is supported:
4509N/Apolylines, lines, arc, circles, blocks, text, and a little linetypes
4509N/A
4509N/Acurrently not supported but I hope will be in the near future (probably after Sept 05)
4509N/Alayers, colors, trace, splines, dimentions
4509N/A
4509N/AIf you don't have dxf files of your own, but would like to easily test some I would suggest a few places...
4509N/A
4509N/Awww.newfocus.com -- look under optomechanics. There are a variety of mounts and such that are posted in dxf and pdf
4509N/Awww.thorlabs.com -- dido what I said about newfocus
4509N/A
4509N/AFree CAD programs:
4509N/AWindows -- A free and not too bad CAD program for windows is CadStd Lite. It exports to dxf and has a variety of samples.
4509N/AWindows/Linux -- QCad is ok. It has a lot of nice features but when I used it a year ago it would import dxf files but then you couldn't edit what was imported. It is free but with a time limit. My experience is that it can be a little annoying. Because of that and others comments I didn't use their libraries for dxf reading.
4509N/A
4509N/A
4509N/AMatt Squires
4509N/Asquiresm@colorado.edu
4509N/A
4509N/A27 Aug 05, Fixed a fair number of bugs, and broken conversions. LWPOLYLINE works now, text rotation is ok but needs multiple transfomations to get it right, can read broken dxf files (w/o dxf EOF information)
4509N/A
4509N/A