3Garrett3
2013-05-23 13:39:09
1) I realize this may be the wrong subforum, but I didn't see other obvious fits.
I'm trying to help my father with stuff for his work, but I'm at a loss and the obvious place to ask for help with something like this is these forums. What he's trying to do is have a 2D drawing in AutoCAD be saved as a DXF file and imported into a different program which reads the shape and turns it into useful code for moving CNC machines. Apparently they have an old program where shapes are hard coded as certain dimensions in a binary DXF file, and it can't read AutoCAD binary DXF files. I looked through the code AutoCAD generates and I'm not surprised, it's a complete mess.
Included below are two ways to get the Binary DXF of a 20x20 inch square. If anyone can find the secret to parsing the shape out of the binary file, it would be greatly appreciated.
Note: DXF files cannot be uploaded to the forums, so the following link can be used to download the file: https://www.dropbox.com/s/kc1457zd9w05ndw/SquareInches.dxf
Here is a pastebin of what is shown in notepad (the .txt is too large for the forum): http://pastebin.com/dFvyubR8
I'm trying to help my father with stuff for his work, but I'm at a loss and the obvious place to ask for help with something like this is these forums. What he's trying to do is have a 2D drawing in AutoCAD be saved as a DXF file and imported into a different program which reads the shape and turns it into useful code for moving CNC machines. Apparently they have an old program where shapes are hard coded as certain dimensions in a binary DXF file, and it can't read AutoCAD binary DXF files. I looked through the code AutoCAD generates and I'm not surprised, it's a complete mess.
Included below are two ways to get the Binary DXF of a 20x20 inch square. If anyone can find the secret to parsing the shape out of the binary file, it would be greatly appreciated.
Note: DXF files cannot be uploaded to the forums, so the following link can be used to download the file: https://www.dropbox.com/s/kc1457zd9w05ndw/SquareInches.dxf
Here is a pastebin of what is shown in notepad (the .txt is too large for the forum): http://pastebin.com/dFvyubR8
