Looking for a good (¿free? ¿opensource?) library to deal with DXF format
-
Hi everyone! I'm looking for a library that allows me to load, save and edit .dxf documents. Preferably, it has to be free. I need to allow the user to define "zones" over the "graphic" through a visual interface. Thank you in advance! :)
I am pretty sure the AutoCAD SDK is free and will more than meet your needs. http://usa.autodesk.com/adsk/servlet/index?id=1911627&siteID=123112[^] I have not personally used it as when I was working with the files we had very simple files and made our own reader. They are just text files if I recall. Here is a CP article on it as well. A DXF Reader Solution and a Simple DXF Viewer[^]
Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.
-
I am pretty sure the AutoCAD SDK is free and will more than meet your needs. http://usa.autodesk.com/adsk/servlet/index?id=1911627&siteID=123112[^] I have not personally used it as when I was working with the files we had very simple files and made our own reader. They are just text files if I recall. Here is a CP article on it as well. A DXF Reader Solution and a Simple DXF Viewer[^]
Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.
-
I am pretty sure the AutoCAD SDK is free and will more than meet your needs. http://usa.autodesk.com/adsk/servlet/index?id=1911627&siteID=123112[^] I have not personally used it as when I was working with the files we had very simple files and made our own reader. They are just text files if I recall. Here is a CP article on it as well. A DXF Reader Solution and a Simple DXF Viewer[^]
Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.
-
The autodesk API is not what I need. I understand that it is more about developing autocad plugins or using autocad functions remotely, but always having the main program installed. I will take a look to your second proposal...
As I said I had not used it. I guess that would make sence but I figured it has some simple reader/writers. When I was doing work with it we saw that CP project and learned from it. We then worked with our CAD group to understand what type of files they were generating etc. and built our own reader from that. We did not have to do any writting. As I said, DXF are just text files. They can however get very complex depending on the layers. If your users need a lot of layers with different rules you likely will need to purchase something. If not I would just play with it and make a small library that you can keep extending upon. Good luck :)
Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.