Hi, The Gerber code snippet that you posted above is loading without a hitch when using the development version of FlatCAM. FlatCAM 8.5 is a bit old now and a 8.6 version is long overdue. Read the manual and install the development edition and you will see that beside solving your problem, there are other "goodies" there :) See the picture attached. [Test_gerber](//muut.com/u/flatcam/s3/:flatcam:zOwM:test_gerber.jpg.jpg)
Hi Marius, really thanks for your time and advice. Actually I don't understand what you mean with "development edition". I tried to follow the download link (for windows) and copy the "repository" directory. In this folder there are a lot of pyton codes but i don't know how to implement them in my 8.5 versione. I really hope you can help me with your expertise. Thanks Matteo
Hi Matteo, The development version is just that: a bunch of files written in Python. In order to make it work you'll have to run FlatCAM from command line (Command Prompt window). But before that you will have to install the toolchain, and I mean Python itself and some other packages that are required. Instructions on how you will do that are here, section 2.1.1: http://flatcam.org/manual/installation.html#windows If there are other packages that needs to be installed you'll see the error in the Command prompt window and you will have to install them with command: pip install package_name I say that because the instructions may be outdated. I'm afraid that you need to have some knowledge about those sort of things, as there is no installer released, yet. If you read the older topics here, I think there is one post where I helped somebody else through this process. Good luck, Marius
Thanks Marius, you're very kind. I'll try soon (hopefully). Matteo
Hi Marius and anyother that will partecipate to this discussion, I've got serious problems with the repository version. I mean, even the 'pip' command is not recognized and the most common solutions I've found are useless in my case (python is out of my experties), I didn't see other issues importing gerber file in the discussion section, so I'm starting to think that probably there's something wrong in my design. I'm using Eagle 8.7.0 and the default CAM engine. There's somethin specific I've to do before generate gbr file? Really thanks!
Hi Matteo, FlatCAM development version can load the Gerber and Excellon files generated by Eagle but the only thing I see is that in at least version 8.7.0 the developers of Eagle created an issue with the Excellon file. They've added an '%' symbol at the end of a comment line, which FlatCAM interpret as the end of the header, therefore all the other info found in header is now ignored. Because of that FlatCAM will always interpret the measure units from the Excellon file generated by Eagle as being in INCH (the default measuring unit of FlatCAM), even when the measuring units is MM. Regarding your 'pip' problem. If in trouble, delete the WinPython folder. Then install the WinPython again. Make sure you download the 32bit version, with Python 2.7. Make sure that you don't download the Zero versions (latest versions since some time, they are all Zero versions so you have to choose an older version). In the end make sure you add the python folder and the python scripts folder to the PATH environment system variable (for Windows OS) . Then install rtree, svg.path, shapely modules.
Hi Marius, thanks for your time. Probably I've found a solution. I'd like to share it with you and the community. First of all: the gerber file must have a path without spaces. I mean: C:\My Folder\circuit.gbr will not be accepted. In stead C:\My_Folder\circuit.gbr is fine. Secondly: If the problem persists open a gerber test file from the installation folder, after that open your gerber. I really hope this could help community and developers.