Fixing self errors when not inside a class in ImportShape.

This commit is contained in:
Jeremy Wright 2014-08-18 15:04:22 -04:00
parent d82f6120c8
commit a21fc64f8c

View File

@ -40,10 +40,10 @@ def importShape(importType,fileName):
#Check to see what type of file we're working with #Check to see what type of file we're working with
if importType == ImportTypes.STEP: if importType == ImportTypes.STEP:
self.importStep(fileName) importStep(fileName)
#Loads a STEP file into a CQ object #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 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 :param fileName: The path and name of the STEP file to be imported