Disappeared Geometry

Issue #262 closed
FlatCold created an issue

This might be a bug. Geometry disappeared after "Update Geometry".

To replicate this error: 1. 1) Create a new project and Open a gerber file (e.g. LED.GTL) 1. 2) Select the gerber file (e.g. LED.GTL) in Project Tab, then go to Selected Tab and click on Generate Geometry 1. 3) This will create a iso file (e.g. LED.GTL_iso), select the iso file in Project Tab 1. 4) Edit -> Update Geometry 1. 5) all the geometries in the iso file disappeared

Comments (31)

  1. Željko Mišković

    Dear, I am new to the 3D technology group, and before I get the purchased equipment, I feel the secret of free software tools like the FlatCAM platform for prototype PCB creation. I have installed a few programs, such as CopperCAM, and tested the Gerber conversion methodology into the final Gcod. Attempting to work in FlatCAM stopped immediately at the very beginning. For preparing PCB projects I use the famous Altium Designer platform and Gerber files, so I think FlatCAM should know how to load it. Before installing the latest 8,911 Beta x64 version, I installed the WinPyton application according to the installation procedure for Windows 7. My FlatCAM loads the file, but does not load and does not display the graph, while also successfully loads the CopperCAM program so I wonder if I can do something wrong although I am a proficient user of a large number of specialist programs. If there is an indication that I have missed something globally or I have been pleasantly praying for the help of experienced experts. Best regards from Croatia, Željko Mišković graduated electrical engineer

  2. Marius Stanciu

    Hi @Zmiskovic ,

    Can you please explain what are the steps that you followed to load your Gerber file and what are the results? If there is any error please share it here. Usually the program offer some kind of explanation on why it does not load a file. You should see a message in the status bar, write it here.

    I also use Altium Designer and Altium CircuitStudio so the fact that a Gerber file generated from AD is not loaded in FlatCAM beta makes me wonder what is happening. There is also the possibility that after loading the Gerber file, program crashed. Please confirm or infirm this.

    If possible, please share the Gerber file that created the problem by uploading somewhere like Dropbox, MEGA or https://nofile.io and post the link here so I can investigate the problem.

    Best regards, Marius

  3. Željko Mišković

    Dear Mr. Marius, I am pleasantly surprised or better to be delighted with your loyalty to responding to my inquiry. To better understand the problem I enclosed a few screenshots of the application window in the Word file by opening phases. What I've seen in video clips on the You Tube channel is not happening to my app, which is to not open the entire Plot Area window, but just a narrow box with no content. There is also a CopperCAM display where the same Gerber file I'm uploading is loaded. As a direct insight into the problem, I suggest that you, through Team Viewer, "peek" to my computer and run the application itself, and check out the events firsthand. You are now receiving a warm welcome from Croatia, Željko Mišković graduated electrical engineer

    FlatCam App open file.jpg

  4. Marius Stanciu

    Hi @Zmiskovic ! (I use the user name above because I think you'll get notified of this message by the system)

    Hello Željko,

    The problem that you see can be caused by 2 reasons which come out of the architecture of FlatCAM beta. In the old FlatCAM 8.5, the plotting was done using the Matplotlib python package which works in all kinds of hardware configuration but while is very good for displaying few not very complicated graphs, it's not really suitable for a CAM/CAD software.

    In 2016, one of the contributors of FlatCAM (Dennis Hayrullin) added 3D acceleration to FlatCAM by switching from Matplotlib package to the VisPy package. On this version I based my FlatCAM fork which is now named FlatCAM beta.

    Bottom line is that FlatCAM beta uses this VisPy package. VisPy package has the following requirements:

    1. Availability of a graphics card capable of OpenGL at least 2.0 version which means a dedicated card not older than about 10 years or a more recent integrated graphic controller. It is well known that Intel HD 3000 is not compatible with FlatCAM beta.
    2. VIsPy require the presence of 2 files on your computer. Those are installed by FlatCAM on the installation. I will detail about them bellow but what you see on screen, I've seen in cases where those files are missing or corrupted for some reason.

    You need to check if the following files are present on your PC:

    C:\Users\test\AppData\Local\vispy\data\fonts\opensans-regular.ttf
    

    with size = 212KB and

    C:\Users\test\AppData\Local\vispy\data\freetype\freetype253_x64.dll
    

    with size = 799KB.

    (Replace in the paths above the username 'test' with your own username)

    Size is very important because if the size is smaller it means that the file is corrupted.

    Check them and report back.

    Have a great day, Marius

    PS: If you can't solve it on your own I can do a Teamviewer session but later today because now I'm going to pick up my brother from the airport.

  5. Željko Mišković

    Hello to Mr. Marius, I've reviewed your post, reviewed the installation contents of the two files and found that the first file C: \ Users \ test \ AppData \ Local \ vispy \ data \ fonts \ opensans-regular.ttf with size = 212KB differs very little and amounts to 213 kB, and the other is exactly the same. I have reviewed the performance of the graphics and submitted their presentation in the enclosed Word file. After applying these settings and restarting the computer (Acer Aspire 7560G, Quad Core A8-3500M, 8GB RAM, Dual Graphic AMD Radeon 6650M), no changes were made to the expected state. I enclosed the Word file configuration parameters for the graphics related to the OpenGL version. Nice salute, Željko

  6. Željko Mišković

    Hi, to be more precise I looked at the fonts of the file, so it seems to me that it is identical to the original.

    [image: image.png]

    sub, 30. ožu 2019. u 19:59 Željko Mišković zeljko.miskovic123@gmail.com napisao je:

    [image: Marius Stanciu] Marius Stanciu commented on issue #262: Disappeared Geometry https://bitbucket.org/jpcgt/flatcam/issues/262/disappeared-geometry

    Hi @Željko Mišković https://bitbucket.org/Zmiskovic/ ! (I use the user name above because I think you'll get notified of this message by the system)

    Hello Željko,

    The problem that you see can be caused by 2 reasons which come out of the architecture of FlatCAM beta. In the old FlatCAM 8.5, the plotting was done using the Matplotlib python package which works in all kinds of hardware configuration but while is very good for displaying few not very complicated graphs, it's not really suitable for a CAM/CAD software.

    In 2016, one of the contributors of FlatCAM (Dennis Hayrullin) added 3D acceleration to FlatCAM by switching from Matplotlib package to the VisPy package. On this version I based my FlatCAM fork which is now named FlatCAM beta.

    Bottom line is that FlatCAM beta uses this VisPy package. VisPy package has the following requirements:

    1. Availability of a graphics card capable of OpenGL at least 2.0 version which means a dedicated card not older than about 10 years or a more recent integrated graphic controller. It is well known that Intel HD 3000 is not compatible with FlatCAM beta.
    2. VIsPy require the presence of 2 files on your computer. Those are installed by FlatCAM on the installation. I will detail about them bellow but what you see on screen, I've seen in cases where those files are missing or corrupted for some reason.

    You need to check if the following files are present on your PC: C:\Users\test\AppData\Local\vispy\data\fonts\opensans-regular.ttf

    with size = 212KB and

    C:\Users\test\AppData\Local\vispy\data\freetype\freetype253_x64.dll

    with size = 799KB.

    Size is very important because if the size is smaller it means that the file is corrupted.

    Check them and report back.

    Have a great day, Marius

    PS: If you can't solve it on your own I can do a Teamviewer session bu later today as I'm going to pick by brother from airport. View this issue https://bitbucket.org/jpcgt/flatcam/issues/262/disappeared-geometry or add a comment by replying to this email. Unwatch this issue https://bitbucket.org/api/1.0/repositories/jpcgt/flatcam/issue/262/unwatch/Zmiskovic/e543051bfe23e670c096db9efcd887471de956c3071ea0fdd3bd5f2294e6feee/ to stop receiving email updates. [image: Bitbucket] https://bitbucket.org

  7. Željko Mišković

    Dear Mr. Marius, I had serious personal health problems so I was absent in solving the problems with the application. Meanwhile, I have installed an older version of 8.5 that has a working graphical window, but it will not load any Gerber file, otherwise properly loaded by the CopperCAM program, so I guess the problem is indicative. I also installed the latest release, version 8.917_x64, which also does not open a working graphical window, but unlike version 8.5 lets you load a file, but of course it does not. Bizarre situation. As I mentioned in previous posts on my Acer Aspire 7560G, I use OS Win7 Ultimate and a number of specialized applications that work neatly and without interruption. I would also like to achieve this with your program that makes me comfortable and can not put it into the work. I will be free to help with the information about the problem: "Qt - This application failed to start because it could not find or load the Qt platform plugin" windows "" when the program is not installed in the "Program Files" folder but already installed in the folder in the folder "My Documents". I found this on two duplicate installations and the third time I changed the destination folder and the installation was done neatly. So much for me this time, the best regards from Croatia, Željko Mišković, dipl. ing electro technique

    sub, 30. ožu 2019. u 20:17 Željko Mišković zeljko.miskovic123@gmail.com napisao je:

    Hello to Mr. Marius, I've reviewed your post, reviewed the installation contents of the two files and found that the first file C: \ Users \ test \ AppData \ Local \ vispy \ data \ fonts \ opensans-regular.ttf with size = 212KB differs very little and amounts to 213 kB, and the other is exactly the same. I have reviewed the performance of the graphics and submitted their presentation in the enclosed Word file. After applying these settings and restarting the computer (Acer Aspire 7560G, Quad Core A8-3500M, 8GB RAM, Dual Graphic AMD Radeon 6650M), no changes were made to the expected state. I enclosed the Word file configuration parameters for the graphics related to the OpenGL version. Nice salute, Željko

  8. Marius Stanciu

    Hello Mr. Mišković,

    I suggest you install a FlatCAM beta 8.918 into a VMWare virtual machine. If that works then perhaps there is something wrong with your current operating system and might need a reinstall. But try first in a virtual machine and post the result.

    Best regards,

    Marius

  9. Željko Mišković

    Hello Mr. Marius, thank you for having found time and for my trouble. Since I have a generation older and newest laptop, I've tried these days with both the latest version of x64 FlatCam and have a wonderful wonder on both machine programs to get a graphical interface and load Gerber files. It is no longer a question of whether I can do the processing of the desired prototype but it intrigues me to actually do the running of the program because an unsuccessful lifting of the application appears as follows:

    [image: image.png]

    Besides, I noticed that the default installation folder is not in the usual position in the "Program Files" so thinking that it might help try to direct the path to it, but it was unsuccessful. Best regards from Croatia, Željko Mišković, B.Sc. ing

  10. Marius Stanciu

    Hello Mr. Mišković,

    I don’t know why Bitbucket is not warning me of a new post in this thread although I am watching it. I used to rely on that and this is the reason for the delay in answer.

    The image that you’ve uploaded can not be seen. Please upload it somewhere else, perhaps post a DropBox link or Google Drive or use a site like https://www.filedropper.com/ and post the link here.

    It is better to install FlatCAM in a different directory than Program Files due of the fact that Windows has some security restrictions regarding that folder which doesn’t allow FlatCAM to reboot when applying another language.

    Best regards,

    Marius

  11. Željko Mišković

    Dear Mr. Marius, you've really found me with your reaction speed. According to the recommendation I did the installation of the program on the secondary physical disk, I have two of them in the machine, the installation has passed regularly, but the application continues to be raised without the graphic part of the window. As I said, on two other laptops, I managed to install the application neatly so that I could undisturbed the need to appear, and now I'm going to investigate my OS's WIN 7 Ulimate error. It hurts me when I can not find a reasonable reason for the unusual behavior of OS. Anyway, I'll let you know about the advancement of research and testing on a virtual machine. For the moment, welcome your best regards from Croatia, Željko Mišković, B.Sc. ing.

    http://www.filedropper.com/flatcamappopenfile

  12. Marius Stanciu

    Yes, It does look like a hardware problem. You may need updated video drivers. Unfortunately I can’t do much in this direction as it has nothing to do with FlatCAM but with pieces of software that FlatCAM use.

    If you are still available I could log in on you computer using the TeamViewer but I can’t make any promise on solving this issue. I could do this this evening I think.

    Have a great day,

    Marius

  13. Željko Mišković

    Hello, Mr. Marius, thank you very much for your help and perseverance. My computer is turned on for most days and mostly until midnight. I'll send you the current access code and password, so be sure to look at the computer. The application has an icon on the desktop and is downloaded to the Downloads folder. In the evening when I chill, I have activities around the garden plants to refresh them for tomorrow's merciless plum and heat stroke. Receive the best regards from Dalmatia, Željko Mišković,

    [image: image.png]

  14. Marius Stanciu

    Hello Mr. Mišković,

    The image that you posted again can not be seen. But if that one contained the logon data is not safe to post it publicly like this. Please send me an email with the logon data and a time when you will be around your PC so you can follow everything I do.

    My email address is: marius_adrian at yahoo . com.

    I’ve added some spaces in the above email address so the crawlers don’t get my address. Please remove the spaces, replace at with @ and it will work.

    Have a great evening,

    Marius

  15. Željko Mišković

    Dear Sir, meanwhile, due to health problems, I have solved the solution of the incompatible FlatCam, the latest version of the program. To test the compatibility of the hardware and software of my Acer Aspire 7560G, I did 10 days ago to upgrade the Windows 7 Ultimate OS to Windows 10 and when trying to install and launch the App encountered a lock (..... load the Qt platform plugin "windows ".....). I've managed to fix the installation problem by trying and succeeding installing to another physical disk because I have two in the machine. Hope was short-lived since the standard plotplot interface "Area Plot" did not load again, but only a thick edge as the example that was given to it. Since I have 3 Acer Aspire models, years of production and OS I have tried to install the App on one older, 10 years, with OS Win 7 and managed and also new to Win 10 as well. Now is the question of what this mess is creating, whether it is a hardware or software reason. No matter where I have where to handle the needs, I still have a bucket of doubt and I would definitely like to dig and overcome it. If there is any knowledge and tricks I would be very grateful to help. Best regards from Croatia, Željko Mišković, B.Sc. ing. Electrical Engineering

    [image: image.png]

  16. Marius Stanciu

    @Sergey Sedov,

    the file can be opened.

    @Željko Mišković,

    Unfortunately the translation engine that you used did not work very well and I can’t understand what you written. Perhaps you should use short sentences and post also the complete errors you encountered.

  17. Sergey Sedov

    @Marius Stanciu
    8.914 working very well, but in 8.918 some changed in program, maybe added some depended library or python package?

    I used python 3 for programming, but for 8.914 this nothing any affecting to work correct. Perhaps need to check or clean system from depended libraries?

  18. Marius Stanciu

    Hi Sergey,

    I don’t know if you are using the windows installer or running it from sources but installing it in a Vmware virtual machine with win 7 x64 it run and load the file with no issues.

  19. Marius Stanciu

    @Sergey Sedov

    In this case, if the hardware (and graphic drivers allow) it should work. Regarding the renderer nothing changed since I started my FlatCAM fork.
    You could try to install in a virtual machine (vmware) to exclude possible OS problems.

  20. Marius Stanciu

    Hi @Sergey Sedov,
    The issue you encounter is related to your graphic card.
    You use the following CPU: Intel Core i5-3750 which has an integrated graphic controller Intel® HD Graphics 2500.
    Since Intel HD 3000 was reported as not working with FlatCAM beta 8.9xx it stand to reason that Intel HD 2500 will not work, too.

    Change your graphic card with one that is compatible, I can do nothing about this compatibility which is due of a Python module that is used in FlatCAM beta, module named VisPy.

  21. Marius Stanciu

    I will have to close this issue as the reported bug was already solved.

    What followed was that this issue was hijacked with another problem which as I have explained is not a bug but a limitation.

    Simply put, some graphic cards (especially the Intel integrated graphic controllers) are not compatible with the graphic engine used by FlatCAM. Check your Intel CPU it may have an integrated graphic controller which is not supported (less or equal than HD3000).

  22. Marius Stanciu

    Yet, your CPU has also an integrated Intel controller which is the one preferred one to use. If you have also a discrete video card (like it is in your case) then find a way to use it instead letting the OS choose the lower power Intel integrated controller.

    For the latest Nvidia drivers usually you can right click the FlatCAM executable (or the Desktop shortcut) and choose something like: “Run with graphic processor → High-performance Nvidia processor”. Or in the NVIDIA control panel you can force to use the performance Nvidia processor.

  23. Sergey Sedov

    @Marius Stanciu

    Integrated grafic is disabled on BIOS.

    "Since Intel HD 3000 was reported as not working with FlatCAM beta 8.9xx it stand to reason that Intel HD 2500 will not work, too."

    Okay, then why FlatCAM beta 8.914 works fine on my hardware?

    by the way, 9.82 works fine. These are miracles ...

  24. Marius Stanciu

    I really don't understand your post. There is no version FlatCAM 9.82 but assuming that you made a typo and meant 8.92 version then I'm glad for you.

    Remember that I'm here to try to help but I can't always do it regardless of what I want and that can leave people frustrated.

    So if you have a working version that's nice! Miracle or not. 🙂

  25. Željko Mišković

    Dear Mr. Marius, when you're at work in the night, things go wrong because you don't see it for yourself. Specifically, I follow discussions regarding "missing geometry" problems on some of the computers of other users. As I mentioned to you before, I own two more Acer's, one 9 year old and the other from 2018. Both have successfully installed Flatcam and I can see the difference between a neatly built application and this messy one we're discussing. 3 weeks ago I upgraded from WIN 7 to WIN 10 hoping that something magical might happen, but it didn't. Even though I have a solution to work, I still try to figure out what would be the reason for this deficiency. I reiterate that I am an advanced computer user and a user of many technical applications that are all working properly, so this situation is a challenge that certainly deserves attention in order to find the cause of such a condition. Best regards from Croatia, Željko Mišković

  26. Marius Stanciu

    Hello Mr. Željko,

    You should try the latest version of FlatCAM beta, v. 8.97. Actually in a few days I think that v 8.98 will be ready too but until then use the 8.97.

    Then you go like this:
    Menu -> Edit -> Preferences -> General -> App Preferences -> Graphic Engine and change from OpenGL(3D) to Legacy(2D).

    Application will reboot and hopefully you can now use FlatCAM beta. It will use a lower performance graphic engine but at least it will be compatible with your computers.
    Enjoy!

  27. Log in to comment