Fixing self errors when not inside a class in ImportShape.
This commit is contained in:
parent
d82f6120c8
commit
a21fc64f8c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user