586,317 active members*
3,237 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2010
    Posts
    4

    Image to G-Code for drilling

    I'm looking for a program that would be able to take an image file (black and white) and convert it to g-code for drilling only. I've seen programs that will do the whole image but I just need to drill holes in a PCB. I want to set up a PCB mill so that when the PCB is clamped to the table a camera takes a picture of the orientation and aligns a black and white digital image of the hole layout to the board on the table. I already have someone making the image program for me, now I just need to convert the image into g-code to drill the holes. Does anyone know if a program like that exists?

  2. #2
    Join Date
    Oct 2013
    Posts
    109

    Re: Image to G-Code for drilling

    I haven't heard if this before.

    It is easy enough to convert raster to vector (picture to geometry), this is included in some CAM software and you can also get free raster to vector software.

    The problem you will probably have is that the resulting geometries are not true circles ie not made up of one circular geometry element. They will probably be splines roughly follow the bitmap image. Therefore you will probably not be able to select them for drilling in your cam software.

    If your CAM or CAD software is able to convert splines to lines and arcs then you might be in luck. Set the tolerance quite low ie 0.5 mm and with a bit of luck you will then get a one element true circle that can be selected for drilling.

    Hope it helps.

Similar Threads

  1. Help Converting Image to g-code
    By buddym in forum Uncategorised CAM Discussion
    Replies: 3
    Last Post: 09-24-2013, 08:56 AM
  2. g code error with image to g-code
    By cruzin in forum LinuxCNC (formerly EMC2)
    Replies: 1
    Last Post: 09-05-2012, 11:34 PM
  3. Image to g-code
    By eurodubber in forum G-Code Programing
    Replies: 2
    Last Post: 04-26-2011, 04:38 AM
  4. image to g-code
    By Mr Bits in forum LinuxCNC (formerly EMC2)
    Replies: 6
    Last Post: 07-28-2008, 09:32 PM
  5. image to g code
    By NickLatech in forum Mach Software (ArtSoft software)
    Replies: 1
    Last Post: 03-18-2005, 08:43 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •