VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Making a CNC program based on a DXF drawing

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
1280 Views, 3 Replies

Making a CNC program based on a DXF drawing

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

3 REPLIES 3
Message 2 of 4
parikhnidi
in reply to: Anonymous

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

Message 3 of 4
grobnik
in reply to: Anonymous

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

Message 4 of 4
Anonymous
in reply to: grobnik

Dear,

Sadly your responce comes to late:)
This topic was for a customer of mine. We fixed this and it works.
So the anwer is yes, it can be done.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost