586,032 active members*
3,000 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2004
    Posts
    1

    Gerber RS724X to Gcode Converter???

    HELP!!!

    I need the algorithm or ready for use C/C++ code for Gerber RS724X to Gcode Converters, especially I need the algorithm for tracing the isolation of the board.

    Please help!!!

  2. #2
    Join Date
    Jan 2009
    Posts
    2
    Me too, if some of you can tell/show us how to convert the vector file from Gerber to G-Code in VB or other language, it is great.

  3. #3
    Join Date
    Jun 2007
    Posts
    3757

    Sample code please.

    Please post some sample code that need converting.
    Normally the code is the tracks,but you want the gaps.
    I just make a layer with 0.35mm tracks in the gaps and plot that.
    Don't forget, it is nice to make the holes in the same setup.
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.

  4. #4
    Join Date
    Jan 2009
    Posts
    2
    Quote Originally Posted by nickzl View Post
    HELP!!!

    I need the algorithm or ready for use C/C++ code for Gerber RS724X to Gcode Converters, especially I need the algorithm for tracing the isolation of the board.

    Please help!!!
    I just find the way to do that. Now I am working on it.
    Now, just for information, I will tell you the way.

    1. From Gerber file, read information for tools, cercles and line's coordinates
    2. Draw rectangulars from line coordinates and tool (only border, not fill the rectangular).
    3. Draw a cercle at ever end of lines where its diameter is the linewidth.
    4. Draw cercles (not filled)
    5. Delete every segment in the rectangular shape and cercles. At this moment, what we get is the clear edge of the circuit. You may think to use edge detection method or contour detection or other image processing, however, as I am now in this step, I can say that this methode is faster and easier buy can work only with Gerber file.
    6. Last step and most important is to search for the edge, this time you may use some image processing technique by scanning pixel per pixel untill it find the edge (any edge), than follow the edge (follow the color), and after passing through each pixel, change the color of that pixel so that you can skip this contour for next scan.

    Hope this algorithm can help you. For me, I am using VB6, so I cannot give you the code in C or C++ (no time and not skillfull with this language).

    Any comment will be welcome back.

    May God, the Father of our Saver, bless all of us.

    Take care with love.

  5. #5
    Join Date
    Oct 2009
    Posts
    2
    Hello to everyone!
    I read this post and I've got the same problem...
    Has anyone find a solution? (C++ using)

    Thank you very much!!


    Edoardo
    (Italy)

  6. #6
    Join Date
    Jan 2012
    Posts
    0
    Gerber RS274X to Gcode Converter???
    HELP!!!

    I need the sample code,algorithm or ready for use C/C++ code for Gerber RS724X to Gcode Converters.please anyone have code then rply this quotes.

    Please help!!!

Similar Threads

  1. Autocad to gcode
    By JamesMI in forum Autodesk
    Replies: 17
    Last Post: 12-02-2011, 09:54 AM
  2. Gerber RS724X to Gcode Converter???
    By creative_mind in forum Uncategorised CAM Discussion
    Replies: 3
    Last Post: 10-26-2009, 05:44 PM
  3. 3phase servo retrofit
    By whiteriver in forum Servo Motors / Drives
    Replies: 35
    Last Post: 02-07-2005, 04:27 AM
  4. gcode to gcode converter
    By july_favre in forum Uncategorised CAM Discussion
    Replies: 4
    Last Post: 05-25-2004, 12:51 AM
  5. Gcode verify autocad plugin
    By balsaman in forum Uncategorised CAM Discussion
    Replies: 1
    Last Post: 10-31-2003, 06:22 PM

Posting Permissions

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