flatcam

Open full view…

PCB WIZARD GERBER FILE PROBLEM

jcastillo91
Sun, 12 Nov 2017 07:45:29 GMT

I generate the Gerber file with PCB wizard, and when I import it to flat cam its looks too diferent, but when I import the same file in a Gerber online viewer its work fine

franko979
Sat, 30 Mar 2019 00:59:37 GMT

Saludos ya lo resolviste?

Marius Stanciu
Thu, 04 Apr 2019 18:44:40 GMT

Hi, Another user (@eodor) requested to add support for manufacturing files (Gerber, Excellon files) generated by PCB Wizard ECAD software. I have added support for loading Gerber files and for Excellon files but there is an issue with the Excellon that require the user to do an extra step. The issue is that PCB Wizard use an archaic (really prehistoric) way to generate Excellon files, basically it creates 2 files with the Excellon data. First file, usually with extension .DRL, contain all the drill location points and the toolchange events. Second file, which is a general file and contains many other information's, has the extension .inf. At the end of this file you'll find the tools diameter table. Something like this: --- Drill hole layer T-Code Size T01 .020 T02 .020 T03 .039 ---- Now. FlatCAM can load the first file, the one with the drill locations and even if it does not have the diameter data, it will assign some bogus diameters (starting with 1mm/0.039"). Because the Excellon header data is missing completely from both files, there is no way to know if the files were exported with coordinates in INCH or MM, or if the LZ or TZ zeros suppression is used (or even no zero suppression) or what kind of Excellon format is used (x integer digits, y decimal digits). To make it sure that the drill holes match the pads in Gerber file, you'll need to load the Gerber file first and then load the Excellon file. If they don't match, delete the Excellon file, modify the Excellon Format data in Edit -> Preferences FlatCAM menu, hit save and then reload the Excellon. Do that until the Gerber pads match with Excellon drill holes. Now, you will need to edit the drill diameters to match those in the .INF file. To do that, select Excellon object in FlatCAM, go to menu Edit -> Edit Object and edit the tools in the Tools Table according to the .INF file. Here is a GIF file that show the process: https://gifyu.com/image/3rNG This is available now only in the development branch of beta 8.913 and it will be included in the next build of FlatCAM beta, the one with version 8.913.

eodor
Sun, 07 Apr 2019 21:03:38 GMT

hello, i wrote a small piece of software who will fix pcbwizard fgerber and drill files. so enjoy it nofile.io/…/PCBWizardCAMFix.zip

eodor
Sun, 07 Apr 2019 21:07:04 GMT

hello, i wrote a small piece of software who will fix TCI4 fgerber and drill files. so enjoy it https://nofile.io/f/3Mx4qnHy6Pb/TCIi4.4.zip

eodor
Wed, 10 Apr 2019 19:16:49 GMT

hello, i wrote a small piece of software who will fix pcbwizard fgerber and drill files. so enjoy it https://nofile.io/f/ggVUBRcN5zy/PCBWizardCAMFix.zip

Marius Stanciu
Sun, 14 Apr 2019 19:51:57 GMT

I have published the 8.913 version of FlatCAM beta that added support for manufacturing files (Gerber and Excellon) generated by PCB Wizard and TCL4. The way to use it is explained in my previous post in this topic and also there is a GIF showing in a graphic way the procedure.

eodor
Sun, 14 Apr 2019 21:41:40 GMT

ok thank you...you are the man...

Marius Stanciu
Mon, 15 Apr 2019 14:03:12 GMT

With welcome, I just implemented in 8.914 a new feature that makes possible importing both files required for loading an Excellon file generated by PCB WIzard (the .DRL one and the .INF one). FlatCAM is now setting correctly the file units, Excellon format and tool diameters by looking inside the .INF file. It will automate the Excellon loading, FlatCAM can still do it manually like it is currently possible in FlatCAM beta 8.913.

eodor
Mon, 15 Apr 2019 16:28:16 GMT

ok i noticed...i buy a cnc3018 pro machinery and i want to test her via pcbwizard+flatcam+cnc3018. Tomorow i will start to try...hope doing well. once again thank you