Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Re: importing AutoCAD DXF or DWG

$
0
0
i need to convert only lines and points ...... it will be great if we share this code ??

"Carlos Lopez" <clv2clv@removeThisadinet.com.uy> wrote in message <eeecc71.7@webx.raydaftYaTP>...
> I have not sent the code to matlab central because it is not good
> enough according to my standards. It deals only with isolated points,
> LINE, POLYLINE and ARC (using the DXF notation). We did not attempt
> to parse ELLIPSE, SPLINE, etc. but I guess it could be done. If you
> read in the web about DXF you will soon find that many people blame
> AutoDESK for the poor design and implementation of DXF. So, making
> reliable code to read it into matlab is pervaded by the same virus:
> you might read without problems DXF for ACAD R12, but not DXF for
> ACAD R14 neither ACAD 2000.
> I will be happy to share the present code with anyone which wants to
> have it.
> It will be a good idea to consider the new DWF format; unlike DWG and
> DXF, AutoDESK provides source code in C to read and write it, so
> (hopefully) anyone more or less proficient with C could serve the
> matlab community creating a mex file once for all.
> Regards
> Carlos
> PD: Hope that my e-mail will not be too difficult to decipher!
> >> Have you actually managed to parse the AutoCad DWG or DFX
> format
> >> and
> >> import it into Matlab?
> >> Well, that's most impressive! I would be very interested in it
> >> also..
> >> do you parse lines,curves etc. or just points?
> >> it you actually import all entities then many many kudos to
> you!!
> >> why don't you just post a snippet here or put it in file
> exchange
> >> so
> >> we can all enjoy?
> >> thanks
> >> Miltiades

Viewing all articles
Browse latest Browse all 19628

Latest Images

Trending Articles



Latest Images