Good evening ,
I do for my job CNC milling , 2d and 3d drawing and some automation in Visual Basic 2010 Express.
Now I got the following requestn from my boss:
Make in Visual Basic a program to make a CNC program from simple 2d contours to control a simple 3 -axis milling machine.
This should be so simple that anyone can start working with it within 1 hour to creat a flawless CNC code . So a kind of intergrated CAD + CAM application !
Just for the record, I have basic Autocad 2d skils.
I have some questions for processing the DXF drawings .
1 : Is there an "engine" available that extracts all data from a DXF ?
2 : The entities " LINE " , " ARC " , " cirle " ed is no problem. But what with a polyline !
3 : How is a polyline defined and how can you mathematically mimic the coordinates for the CNC machine to extract therefrom .
4 : Can the polyline automaticly be converted into LOTS small line segments ?
Thank you for all the great responses.
Tom
You've aroused my thirty year old dream. Can you send a sample drawing and relevant CNC code? Better, if you send more component drawings their CNC codes. I think I can be of some help.
Straight from the drawing file.
Nimish
Hi @Anonymous
I'm not so expert with CNC, but have a look at this article could solve your doubts.
https://filecnc.com/home/11596-Polylines-dxf-File.html
I guess you should try to export a drawing as dxf (simply dxfout), which contain polyline, and look at result.
Bye