From a21fc64f8c37dc3fadb000cb7e7dbabbb9b553fa Mon Sep 17 00:00:00 2001 From: Jeremy Wright Date: Mon, 18 Aug 2014 15:04:22 -0400 Subject: [PATCH] Fixing self errors when not inside a class in ImportShape. --- cadquery/freecad_impl/importers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cadquery/freecad_impl/importers.py b/cadquery/freecad_impl/importers.py index b2e8344..1b362f4 100644 --- a/cadquery/freecad_impl/importers.py +++ b/cadquery/freecad_impl/importers.py @@ -40,10 +40,10 @@ def importShape(importType,fileName): #Check to see what type of file we're working with if importType == ImportTypes.STEP: - self.importStep(fileName) + importStep(fileName) #Loads a STEP file into a CQ object -def importStep(self,fileName): +def importStep(fileName): """ Accepts a file name and loads the STEP file into a cadquery shape :param fileName: The path and name of the STEP file to be imported