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!!!
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!!!
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.
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.
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.
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)
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!!!