can't save project + transparent screen - OSX - BETA 8.99

Issue #352 resolved
Rudy D created an issue

hi there,

I felt very happy I finally managed to install on OSX (10.12.6).

now I have two issues:

  • can’t save the project. console says (line 10):

Indexing geometry before generating G-Code...
Starting G-Code...
Starting G-Code for tool with diameter: 0.8MM.
Finished G-Code generation... 14  paths traced.
[success] G-Code parsing in progress...
Parsing GCode file. Number of lines: 677
Creating Geometry from the parsed GCode file. ...
[success] G-Code parsing finished...
[success] Finished G-Code processing...
[success] CNCjob created: drills.xln_mill_cnc
[success] Loaded Machine Code into Code Editor...
[ERROR_NOTCL] The object is used by another application.

  • some areas of the plot are transparent (maybe it’s not an issue, but I can’t find how to change this in the prefs).

any help about saving the project would be very nice (I can live with the transparency issue).

thanks!

Comments (20)

  1. Marius Stanciu

    Hi Rudy,

    The project saving issue in 8.99 is a known issue that I solved in the latest commits. You can download the latest sources for the Beta from here:
    https://bitbucket.org/jpcgt/flatcam/get/Beta.zip

    It has a number of issues fixed.

    Regarding the transparency issue, that is the first time I am seeing this but unfortunately it’s not under my control. I have no experience at all with OSX and I don’t know what could be the solution.

  2. Robert

    I am having the transparent OpenGL canvas on OSX, too. At the moment, a workaround is to put the app into fullscreen mode.

  3. Rudy D reporter

    @Marius Stanciu

    thanks. I’m very sorry I haven’t been able to find that issue was solved myself.

    @Robert

    thanks. for some reasons, it doesn’t work for me. it makes even a kind of second transparent layer with the canvas itself at its previous state before zooming.

    interesting!

  4. Marius Stanciu

    What is the PyQt5 version that you are using?
    In any case, you can still use the Legacy(2D) graphic engine (Edit → Preferences → APP Preferences → Graphic Engine radio button).

  5. Roman

    Hello. I downloaded a new version of "FlatCam 8.99 BETA" and met such shortcomings.

    1. When in the menu "Tools Database" I press the button "Add Tool to Tools DB" that the program is closed.
    2. when saving the project writes " The object is used by another application " and the project is not saved.
      And no other program is open.
    3. When in " Geometry Object " in table " Tools Table " in " Tool Type " any of these tools is selected ( С1, С2, С3, С4, B )
      in parameter " Cut Z " I can't write a sign " - ", and when the tool is selected " V " parameter " Cut Z " not available for change at all.

  6. Rudy D reporter

    @ Roman.

    problem 2: yes, like me!

    problem 3: I had the same “issue”. actually, by chance I just tried different parameters, and I discovered that the V tool is supposed to have no diameter. so you should set it to zero, and the flatcam will calculate the depth according to your V angle. it looks you cannot modify it.

    btw, I think it would be better that when one select the V-tip, the dia automatically sets to 0.

  7. Marius Stanciu

    @Roman,

    Can you please tell me what is the error that appear in the Terminal (Command prompt) when trying to add a tool in Tool Database?

    The problem with the ‘-' sign is solved in the latest commit. Just as the saving problem.
    When V-shape tool is selected you can’t change the Cut Z by design because in that case the Cut Z is depending on the cut width, angle at the tip and diameter on the tool tip.

  8. Marius Stanciu

    BTW, you can try the latest commit I made to Beta branch (link above should have the updated sources).
    I’ve made a mod such that when the user change the tool type to V-shape the current value of Cut_z is saved and when the user go back to anything else than V-shape, the saved value will be restored.

  9. Roman

    I don't quite understand how to use the " V " tool. How do I get " Cut Z " 0.03мм
    when I have a cutter cone 15 * diameter 0.1 mm ?
    When I try to add a new tool to the database, the program immediately closes
    even in the terminal does not have time to write anything.

  10. Marius Stanciu

    @Roman,

    1. To solve the Tool DB adding tool issue: first try to delete the old defaults values. Go to: Edit → Preferences → Open Pref Folder and delete the files there. Restart app and try to add again a new tool
    2. Thanks for letting me know about this issue: the label “Isolation Type:” should be hidden in the Basic Mode. Anyway, you need to switch the Application mode from Basic to Advanced in order to be able to select the V-shape tool: Edit → Preferences → General → App Preferences → App.Level radio button and select Advanced. Save preferences. Load the Gerber file again and you’ll be able to see new options including the V-shape tool selection.

    The Scope options are not related to your problem. If All is selected all traces will be isolated. If Selection is selected you will need to select traces on canvas (clicking or by dragging a selection window) and isolate the selection by finishing the selection with right mouse button click.

  11. Roman

    I tried, as you recommended, to remove all defaults. After that, I only manage to add one tool. If I try to add a second tool, the program will close immediately. And also, when I created the first (only one) tool and immediately saved it and closed the tool database, then when I just try to open the tool database, the program will close.

  12. Marius Stanciu

    @Roman,

    You should create your own issue and we should leave this one for what it is. This issue is about the fact that the project can’t be saved (issue solved in the latest commits) and about OpenGL(3D) graphic engine having glitches.
    I should have told you so from the first question you posted because this is not a forum.

    Write in a new issue all the details like: what kind of OS you are using (I see in the picture Win 7 but that is not to say you see the errors in it), the steps to reproduce the error. The mode in which you are using FlatCAM: Basic or Advanced ( in the picture you are in Basic yet you could switch among them). And so on. I need to know how you add a new tool in Tools Database, how you started the Tools Database etc.

  13. Marius Stanciu

    Rudy, Robert, back to the transparency issue. If you set in Preferences → General → GUI Preferences, the Alpha sliders to full (full opacity), then save and reboot, is the glitch still there?

  14. Rudy D reporter

    @Marius Stanciu yep, glitch still there. actually that was the first thing I did before posting about this issue here. but it looks like it has no effect (I see no effect related to any alpha level changes).

    Qt version: 5.13.2
    SIP version: 5.0.0
    PyQt version: 5.13.2

  15. Marius Stanciu

    I am working with PyQt 5.12. Anything above and I see issues (at least in Windows where I develop). Can you uninstall 5.13.2 and install 5.12?

    pip install pyqt==5.12

  16. Marius Stanciu

    Actually on PyQt > 5.12.0 I see some issues when right clicking on canvas. Each right click should pop up the context menu but in 5.12.2 after first right click you need an extra right click to bring the context menu up. It’s up to you if you want to keep it. An VisPy internal variable is not updated (is_dragging, either because of VisPy or because of PyQt5 > 5.12.0).

    On the other hand I understand that MacOS dark theme is working better starting with PyQt 5.12.2.

  17. Log in to comment