![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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!!! |
|
#3
| ||||
| ||||
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. Two possible way to fix things: The right way or the other way. |
|
#4
| |||
| |||
| 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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Autocad to gcode | JamesMI | Autodesk Software (Autocad, Inventor etc) | 17 | 12-02-2011 03:54 AM |
| Gerber RS724X to Gcode Converter??? | creative_mind | General CAM Discussion | 3 | 10-26-2009 12:44 PM |
| 3phase servo retrofit | whiteriver | Servo Motors and Drives | 35 | 02-06-2005 10:27 PM |
| gcode to gcode converter | july_favre | General CAM Discussion | 4 | 05-24-2004 07:51 PM |
| Gcode verify autocad plugin | balsaman | General CAM Discussion | 1 | 10-31-2003 12:22 PM |