Old Cad file convert or open

Old Cad file convert or open

comeollas
Explorer Explorer
1,913 Views
9 Replies
Message 1 of 10

Old Cad file convert or open

comeollas
Explorer
Explorer

Hi, and first thanks for your time and help.

 

I need to open a cnc file with schematics from a manufacturer. I can't open the file in dwg viewer, fusion... in all software i tried.

 

Today i tryed to copy the heather of the file (opening the file in notepad) and i pasted to chatgpt, and chat gpt say this file is from autocad 2004 and in ANSI (chinese).

 

I tried various converters online, open in autocad online... anyone can help me to convert this file to a actual format?

 

Thanks to all!

0 Likes
1,914 Views
9 Replies
Replies (9)
Message 2 of 10

pendean
Community Legend
Community Legend
Your DXF file is damaged: that's why nothing out there can open it based on your experiments, and quick testing here in Bentley software, eDrawings viewer and AutoCAD.

You'll have to do some manual edits to try and fix it: you can use Windows NotePad and online guides like
https://help.autodesk.com/view/ACD/2022/ENU/?guid=GUID-D939EA11-0CEC-4636-91A8-756640A031D3
https://ezdxf.readthedocs.io/en/stable/dxfinternals/filestructure.html
https://damassets.autodesk.net/content/dam/autodesk/www/developer-network/platform-technologies/auto...
Message 3 of 10

TheCADnoob
Mentor
Mentor

This is an incomplete file. You cannot convert it. It's not all there/it's broken. Have them send you a complete file. 

 

It looks like your file ends abruptly in the the blocks section. It is missing an ENTITIES section as well as the EOF (End of file) designation. 

 

You could try adding those sections to the file and see if it works, but my guess is that it will be much easier to get a completed file from manufacture. It would likely take a lot of effort to try and rebuild it from the text side of things and would not likely work anyway. 

 

For more information on the file structure check out:

https://images.autodesk.com/adsk/files/autocad_2012_pdf_dxf-reference_enu.pdf

https://ezdxf.readthedocs.io/en/stable/dxfinternals/filestructure.html

CADnoob

EESignature

Message 4 of 10

comeollas
Explorer
Explorer

Thanks for your time.

 

I don't understand all how it works, and i don't know what part of the file are gone...

 

The manufacturer it's impossible to acquire another file, i think the better solution is take a picture (bird view) from the board and scketch the board in f360.

 

I need only the screw positions and exterior dimensions for a make a case with the cnc.

 

I appreciate your time 🙂

0 Likes
Message 5 of 10

autoid374ceb4990
Collaborator
Collaborator

I don't know if this will help, but the attached DXF file contains all of the LWPOLYLINE entities that I could extract from your 96.DXF file.  The last entity in your DXF file was an incomplete LWPOLYLINE entity.

Message 6 of 10

ChicagoLooper
Mentor
Mentor

Hi @autoid374ceb4990 

Your line weights are too thick. They're too fat.

 

The lines have varying global widths, for example 0.10, 0.20, 0.24, 0.48. You'll need to reduce the line width.

101.png

 

Or manage the line weight using the Layer Properties Manager.

102.png

 

If you decide to manage the line weight on a ByLayer basis through the Layer Props Mgr (to improve visibility), then make the Global Width=0.

 

You may use more than one layer to host your lines. If you wish, you may give each layer a different line weight, color, and line type.

Chicagolooper

EESignature

0 Likes
Message 7 of 10

autoid374ceb4990
Collaborator
Collaborator

You are correct.  The line weights were assigned in the original DXF file.  Assuming that the OP has AutoCAD he should be able to reconstruct the drawing and get the coordinates he needs.   I tried it in the attached picture.

0 Likes
Message 8 of 10

comeollas
Explorer
Explorer

Hi, thank for your time.

 

This file content in theory have a lot of drawing, it's a pcb of a full computer keyboard.

 

I think it's to much work to recreate the file, i attach a image of the pcb and if the file only contains this little chip it's unnecessary to try to regenerate it and waste time.

 

 

0 Likes
Message 9 of 10

autoid374ceb4990
Collaborator
Collaborator

Not that it matters, but how does your original DXF file fit into the PCB board?

0 Likes
Message 10 of 10

comeollas
Explorer
Explorer

Maybe i doesn't explain correctly (i not english native).

I don't understand "how does ... fit into the pcb", in theory this file is the file with all schematic and drawing of the pcb, included the drawing of the pcb with holes, dimensions... (not only the electronic schematic, i don't know the correct word for the drawing of the physical pcb).

0 Likes