AI Assistant
Notifications
Clear all

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

5 Posts
3 Users
0 Reactions
754 Views
rfc
 rfc
(@rfc)
Posts: 1966
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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 6:16 am
john-putnam
(@john-putnam)
Posts: 2431
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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 9:36 am
rfc
 rfc
(@rfc)
Posts: 1966
Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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 9:59 am
john-putnam
(@john-putnam)
Posts: 2431
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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 12:20 pm
squowse
(@squowse)
Posts: 998
Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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 12:46 pm