cad2text is a simple Linux command-line utility that automatically reads AutoCAD files (both dwg and dxf) and extract text strings and their drawing co-ordinates. This utility works and has been tested on Linux. It should work on most x86 Linux distribution without change, and it would certainly not take too much to adapt it to Windows. CapabilitiesSince this is a command-line utility, it is perfect for batch jobs. Capabilities:
LimitationsBefore you decide if this utility is right for you, note the following limitiations:
Please bear in mind that this utility may not be suitable for jobs that require highly accurate information. Do not depend on its output to be accurate enough to replace the original drawing in a decision process! ExampleBelow is a sample output from the utility: # ./cad2text drawing.dwg LCS\POPB\PCPB 91.5377 279.3607 0.0000 \PBOS 170.8706 422.7293 0.0000 \PBOS 170.8706 275.9461 0.0000 Notice the Why?This utility is part of a larger drawing management system that collects information from CAD files from our file servers and stores them in a database for easy search. Being able to make arbitrary searches on drawing content is very useful. InstallationThe download package contains both a pre-compiled binary for Linux RedHat (that should work on any x86 Linux) and the source code. It is important to note that this utility relies on the OpenDesign Alliance OpenDWG Toolkit and Viewkit libraries. It is free to become a basic Associate Member, but you need to sign an agreement and you cannot redistribute the library or use them in commercial products. This is why there is a pre-compiled version of cad2svg included: you can use this free software, but to compile it yourself, you'll need to obtain the library from the OpenDesign Alliance. The pre-compiled package is a static binary, so there is no pre-requisite requirements to use it. CompileDo this only if you need to. Pre-requisites:
I know it's bad, but there is no makefile for this. Once you have the necessary librairies from the OpenDWG kits, untar the provided cad2svg source and copy the following OpenDWG Linux files in your cad2svg directory:
We first need to transform the objcopy -I binary -O elf32-i386 -B i386 adinit.dat adinit.a Then just compile it all together: gcc -Wall -o cad2text cad2text.c ad2.a ad3.a adinit.a -lm --static LicenseThe source code provided is free to use and modify. If you modify the source code and others could benefit from your change, then I require that you send me back your modifications so I can integrate them in the next version. The compiled application includes copyrighted software libraries from Open Design Alliance ("Aliance"). These libraries are subject to a membership agreement with the Alliance and are only licensed for use in Applications from members of the Alliance. www.opendesign.com. You cannot redistribute the provided compiled version of the application, either as a standalone software or as part of a package, unless you have an adequate membership from the Open Design Alliance. Please note that the source code is inspired in part on the mtext2text example given in the Open Design Alliance Toolkit. Download
See alsoComments AlexFriday 21 June 2013, at 17:01 GMT+8 [X] NO! Linux is an operating setsym. Anything cloud is a loose term for providing remote services for client computers. This can include remote access to programs or storage. Hosting on Linux means the machine runs the Linux operating setsym, which is 80 % of the Internet. Cloud services are run over some hosts as an extra.References : RonaldoSaturday 22 June 2013, at 03:28 GMT+8 [X] Sp II Guzzi siger:Don't know about the for a band spec, but check out64 Studio andan Ubuntu clone that is for audio / video it may be called mbetaduniu or studiobuntu or something similar do a google search on it |