Giter Club home page Giter Club logo

dxf2svg's Introduction

This is a fork of dxf2svg from http://sourceforge.net/projects/dxf-svg-convert/

The original project has gone untouched for about 7 years and needed some
serious overhauls, so I have started that process.

Still not really fit for consumption, but crashes less than it used to.

------ Original dxf2svg README -------

26 Aug 05

To use:
I 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.

1.  Run make and copy dxf2svg to somewhere that is looked at by the PATH variable.  Or add the current directory to your path
2.  Copy the dxf_import.inx to ../Inkscape/share/extensions
3.  Run Inkscape
4.  Click on open or import and the dxf option should be there

I have compiled and then succesfully converted dxf files to svg files with the following setups

WinXP Pro, Cygwin, g++ 3.3.3
Debian Sarge, AMD x86_64, g++ 4.0.2
RedHat(?), x86(?), g++ 3.2.3

I have weakly tried and failed to compile using 
Borland's free compiler bcc32
MinGW

What is supported:
polylines, lines, arc, circles, blocks, text, and a little linetypes

currently not supported but I hope will be in the near future (probably after Sept 05)
layers, colors, trace, splines, dimentions

If you don't have dxf files of your own, but would like to easily test some I would suggest a few places...

www.newfocus.com -- look under optomechanics.  There are a variety of mounts and such that are posted in dxf and pdf
www.thorlabs.com -- dido what I said about newfocus

Free CAD programs:
Windows -- A free and not too bad CAD program for windows is CadStd Lite.  It exports to dxf and has a variety of samples.
Windows/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.


Matt Squires
[email protected]

27 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)

dxf2svg's People

Contributors

mduggan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.