Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

save dialog on exit #133

Open
tolot27 opened this issue Dec 16, 2018 · 3 comments
Open

save dialog on exit #133

tolot27 opened this issue Dec 16, 2018 · 3 comments

Comments

@tolot27
Copy link

tolot27 commented Dec 16, 2018

Currently, FreeCad (v18 build 15417) does not show a warning on exit if a CadQuery (v1.2) script is changed and unsafed. Instead, it closes FreeCad immediately or asks at least, if the generated 3D model should be saved.

Goal: Show a warning on exit with option to save the script.

The CadQuery FreeCad module was installed yesterday. I could not find a version information of it.

@jmwright
Copy link
Owner

Thanks for reporting this. This workbench still isn't fully compatible with FreeCAD 0.18, and especially not with the Python 3/Qt 5 builds. I'm hoping to have some time over the US holidays to work through the compatibility issues like this one.

@easyw
Copy link
Contributor

easyw commented Dec 17, 2018

@jmwright
thanks for having a look at CQ compatibility with FC 0.18 ..
Please consider that FC 0.18 is going to be released as the new official version on this winter...
Release of FC 0.18
Please have also a look at Py3/Qt5 compatibility, which will be the next FC target 😄
PS I tested some of our CQ 3D package scripting in FC0.18 and they works just fine 😉 (but we use a subset of the great CQ WB).

@jmwright
Copy link
Owner

@tolot27 If you close the script using CadQuery->Close Script you will get the warning, but not if you click the X on the document in the MDI area. I have not found a way to make FreeCAD aware that there are changes to the document in that context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants