|
|
| There's more than one way to do things | |
| PerlMonks |
Re: Parsing DXF files for dimensional informationby wjw (Priest) |
| on Nov 17, 2017 at 19:59 UTC ( [id://1203706]=note: print w/replies, xml ) | Need Help?? |
|
I dealt with AutoCad and DXF files a lot many years ago. I also searched CPAN and did not find anything that seemed very useful for what you want to do. Further searching landed me here which might be useful as a starting point. I am a bit surprised that there are not more modules to deal with the DXF format, but it is what it is. The link is to a blog post (I think) which talks about using Python to do something similar to the first requirement you have( not including longitude/latitude), but it might be a place to start... My experience with text files like DXF is that one can usually check out the spec and then write a short script to grab that which one wants only. I have done similar with RS274D and RS274X files and some others. Hope there is something useful somewhere here... Best of luck. ...the majority is always wrong, and always the last to know about it... A solution is nothing more than a clearly stated problem...
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||