From ceadc87bde5822eca4b64ed74449fcca79692d49 Mon Sep 17 00:00:00 2001 From: Jeremy Wright Date: Mon, 18 Aug 2014 15:25:04 -0400 Subject: [PATCH] Attempting to fix importers.py. --- cadquery/freecad_impl/importers.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cadquery/freecad_impl/importers.py b/cadquery/freecad_impl/importers.py index 1698a33..4cb7b7c 100644 --- a/cadquery/freecad_impl/importers.py +++ b/cadquery/freecad_impl/importers.py @@ -20,8 +20,8 @@ a string containing the model content. """ import cadquery -from .verutil import fc_import from .shapes import Shape +from .verutil import fc_import FreeCAD = fc_import("FreeCAD") Part = fc_import("FreeCAD.Part") @@ -60,3 +60,7 @@ def importStep(fileName): return cadquery.CQ(r) # except: # raise ValueError("STEP File Could not be loaded") + +if __name__ == '__main__': + import unittest + unittest.main()