diff --git a/README.md b/README.md index 76f17a20..65929798 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ The repo will have models starting from a FreeCAD project modeled in mm with a s # REQUIREMENTS - [x] FreeCAD 0.17 -- [x] CadQuery 1.0.0 +- [x] CadQuery 1.2.0 If you would like to share your models, I'll be happy to add these to the 3D repo!!! :) diff --git a/cadquery/cq-ex2.FCMacro b/cadquery/cq-ex2.FCMacro index bf768a5b..63e5b980 100644 --- a/cadquery/cq-ex2.FCMacro +++ b/cadquery/cq-ex2.FCMacro @@ -10,7 +10,7 @@ import FreeCAD, Draft, FreeCADGui import Idf import ImportGui -from Gui.Command import * +from CQGui.Command import * #Gui.SendMsgToActiveView("Run") Gui.activateWorkbench("CadQueryWorkbench") @@ -19,12 +19,6 @@ import FreeCADGui as Gui import cadquery from Helpers import show -#close the example -App.setActiveDocument("Ex000_Introduction") -App.ActiveDocument=App.getDocument("Ex000_Introduction") -Gui.ActiveDocument=Gui.getDocument("Ex000_Introduction") -App.closeDocument("Ex000_Introduction") - #Getting the main window will allow us to start setting things up the way we want mw = FreeCADGui.getMainWindow()