Agroshield
Member
- Messages
- 4,762
Where can you learn about dxfs?
What do you want to do and how do you want to do it?
Start here: https://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf
dxf or drawing exchange format is a kind of lowest-common-denominator of vector drawing formats. 99% of programs will read it, just like 99% of word-processors will open plain text files, or 99% of spreadsheets will open CSV.
Historically, dxf is itself an ASCII file so you can open, edit or write one from scratch in notepad or any text editor.
Hand writing one though is somewhat tedious, just like hand-written G-code.
If you are good with macros, you can write one in Excel or even Word(!).
If you program, there are two very good Python libraries, dxfread and dxfwrite*.
But if you want visual feedback on your tampering, just open the dxf file in your CAD or vector graphics program, use the program's manipulation commands and then resave as dxf (in AutoCAD, it helps if you purge the file before saving, to remove superfluous stuff).
* even if you do use Python, the user manuals for the libraries give some good insight into the inner workings of dxf.