Click here to Skip to main content
15,881,588 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Where can i find sample of code to make a software who changes .dwg or .dxf (from autocad) to g-code for CNC milling machine.
Posted
Comments
[no name] 12-Aug-13 9:10am    
Have you tried google or bing?

1 solution

There is no "conversion" in principle. First file is the output of AutoCAD or other CAD, a CAD file. The second one is the CAM file, describing technological process. Do I even have to explain why one cannot be just "converted" into the second, because of the lack of information?

AutoCAD file is, essentially, just the technical drawing. In a way, it isn't even a "real" CAD file, it's just the file showing where the lines of the technical drawing are. The CAM file essentially shows how the instrument moves, in what sequence, which what speed on every step of the manufacturing process. This is a lot of additional information.

Of course, there is a good amount of software assisting creation of g-code and possibly importing AutoCAD files. You can perform the search and find out what do you need.

—SA
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900