trivial bugfix in Draft DXF export
wrong namespace for Part.OCCError
This commit is contained in:
parent
4a5a4e9af2
commit
850ca3ac54
|
@ -1494,7 +1494,7 @@ def projectShape(shape,direction):
|
|||
edges = []
|
||||
try:
|
||||
groups = Drawing.projectEx(shape,direction)
|
||||
except OCCError:
|
||||
except Part.OCCError:
|
||||
print("unable to project shape on direction ",direction)
|
||||
return shape
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user