Notifications
Clear all

Need a .csv coordinate file from a 2D .DXF file

5 Posts
3 Users
0 Reactions
1 Views
 rfc
(@rfc)
Posts: 1901
Registered
Topic starter
 

This is somewhat akin to a "miniature surveying" problem, related to a project I'm working on. I have a .dxf file (attached here, with a .txt extension added).
I need a .csv file of coordinates of the profile, every .01', that I can bring into Excel. I've tried using Artcam (that outputs G-code) for a router, with no success.

All I need is a series of coordinates:
xx.xxx, yy.yyy,
xx.xxx, yy.yyy, etc.

Is it possible using Autocad (or one of the Carlson or other derivatives), to create such a file?

Attached files

Figure Eight.DXF.txt (22.2 KB) 

 
Posted : July 11, 2017 4:16 am
(@john-putnam)
Posts: 2150
Customer
 

Here you go. Pretty quick for Civil3d. I did not include the line you had going north from the origin but if you need that it should be simple enough for you to add by hand.

Attached files

RFC DATA.csv (25.6 KB) 

 
Posted : July 11, 2017 7:36 am
 rfc
(@rfc)
Posts: 1901
Registered
Topic starter
 

John Putnam, post: 436426, member: 1188 wrote: Here you go. Pretty quick for Civil3d. I did not include the line you had going north from the origin but if you need that it should be simple enough for you to add by hand.

Thank you, Sir! That looks perfect. No, I didn't need the "mirror" line.
Is that something that could be done in any version of Autocad? I've used Draftsight, and tried to find a way, to no avail. Thank you again for the help.

 
Posted : July 11, 2017 7:59 am
(@john-putnam)
Posts: 2150
Customer
 

Not sure about doing it in vanilla CAD. The divide command may get the points you are looking for but I'm not sure about turning those into a csv file.

 
Posted : July 11, 2017 10:20 am
(@squowse)
Posts: 1004
Registered
 

rfc, post: 436436, member: 8882 wrote: Thank you, Sir! That looks perfect. No, I didn't need the "mirror" line.
Is that something that could be done in any version of Autocad? I've used Draftsight, and tried to find a way, to no avail. Thank you again for the help.

No you would need an add on in CAD for that. Closest command would be LIST, then copy and paste the command window to excel

DXF is just a text file with the coords amongst lots of other stuff so they could be extracted using excel, notepad++ or a small program. With a bit of messing around.

 
Posted : July 11, 2017 10:46 am