Results 1 to 6 of 6

Thread: vb cam

  1. #1
    dim
    dim is offline
    Registered
    Join Date
    Mar 2005
    Location
    greece
    Posts
    3
    Downloads
    0
    Uploads
    0

    vb cam

    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


  2. #2
    Moderator Switcher's Avatar
    Join Date
    Apr 2005
    Location
    mydxf.blogspot.com
    Posts
    3,665
    Downloads
    0
    Uploads
    0
    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/



    .


  3. #3
    Registered pminmo's Avatar
    Join Date
    Jun 2003
    Location
    St. Peters, Mo USA
    Posts
    3,325
    Downloads
    0
    Uploads
    0
    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


  4. #4
    dim
    dim is offline
    Registered
    Join Date
    Mar 2005
    Location
    greece
    Posts
    3
    Downloads
    0
    Uploads
    0
    I would like to bypass the Gcode,what I need is an algorithm to translate the drawings-graphics to direct step/dir sequence pulses.


  • #5
    Registered pminmo's Avatar
    Join Date
    Jun 2003
    Location
    St. Peters, Mo USA
    Posts
    3,325
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by dim View Post
    I would like to bypass the Gcode,what I need is an algorithm to translate the drawings-graphics to direct step/dir sequence pulses.
    why? At least with the g-code you have a standard language meant to do positional control that is editable and easy to modify.
    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com


  • #6
    dim
    dim is offline
    Registered
    Join Date
    Mar 2005
    Location
    greece
    Posts
    3
    Downloads
    0
    Uploads
    0
    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?


  • Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.