cadquery-freecad-module icon indicating copy to clipboard operation
cadquery-freecad-module copied to clipboard

save dialog on exit

Open tolot27 opened this issue 6 years ago • 3 comments

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.

tolot27 avatar Dec 16 '18 22:12 tolot27

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.

jmwright avatar Dec 17 '18 01:12 jmwright

@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 :smile: 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).

easyw avatar Dec 17 '18 14:12 easyw

@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.

jmwright avatar Dec 29 '18 11:12 jmwright