Importing files

This script requires modification before it will function. You must replace the files and directories with your own.

What this script does:

  • Demonstrates how to import various file types

# replace paths used with your own
# import a step file
MyPart1 = Part(r'c:\mycadfiles\Corner.stp', Part.FileTypes.STEP)
# import an IGES file
MyPart3 = Part(r'c:\mycadfiles\wave washer.igs', Part.FileTypes.IGES)

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.