The first thing you need to do, is convert the GDI/DXF to g-code.
Here is a link I posted a while back:
DIY CNC G-Code Plotter (VB.NET 2005)
All the source code is VB.Net (2005):
http://msdn.microsoft.com/vstudio/express/vb/
.
I'm building cad/cam application in vb,it will import dxf drawings and also draw lines-circles-freehand,etc.What maths and algorithms are involved to translate the drawings to motion, step and direction signals?
thanks
The first thing you need to do, is convert the GDI/DXF to g-code.
Here is a link I posted a while back:
DIY CNC G-Code Plotter (VB.NET 2005)
All the source code is VB.Net (2005):
http://msdn.microsoft.com/vstudio/express/vb/
.
Algorithms to translate dxf to g-code are available in ace.
http://www.dakeng.com/ace.html
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
I would like to bypass the Gcode,what I need is an algorithm to translate the drawings-graphics to direct step/dir sequence pulses.
well,even if i use G-code,I will still have to interpret the g-code commands to steps/dir,so i was thinking of doing that directly from dxf.how a circle is translated to steps/dir?