fixed prints svg export
This commit is contained in:
parent
01c34130b7
commit
750725340b
|
|
@ -110,7 +110,7 @@ class WindowDialog():
|
|||
|
||||
if listSize <= 0 or isSVGFull:
|
||||
fichierSVG = u"" + outputRacine + '--CALEPINAGE-' + str(SVGNameCounter) + '.svg'
|
||||
print('Export SVG de : ' + u"" + outputRacine + '--CALEPINAGE-' + str(SVGNameCounter) + '.svg')
|
||||
print('Export SVG de : ' + u"" + str(os.path.basename(outputRacine)) + '--CALEPINAGE-' + str(SVGNameCounter) + '.svg')
|
||||
importSVG.export(__obj__, fichierSVG)
|
||||
for __i__ in __obj__:
|
||||
App.ActiveDocument.removeObject(__i__.Label)
|
||||
|
|
@ -127,9 +127,9 @@ class WindowDialog():
|
|||
listSize = len(copy_sketchList)
|
||||
|
||||
if errorCount == 1:
|
||||
print(f"Erreur : {errorCount} sketch ne rentre pas sur le plateau")
|
||||
print(f"ERREUR : {errorCount} sketch ne rentre pas sur le plateau")
|
||||
elif errorCount > 1:
|
||||
print(f"Erreur : {errorCount} sketchs ne rentrent pas sur le plateau")
|
||||
print(f"ERREUR : {errorCount} sketchs ne rentrent pas sur le plateau")
|
||||
|
||||
# -------- END -------- #
|
||||
|
||||
|
|
@ -178,7 +178,7 @@ class WindowDialog():
|
|||
Mesh.export(__obj__, filename, options)
|
||||
else:
|
||||
Mesh.export(__obj__, filename)
|
||||
print(f'Export STL de {__obj__[0].Label}.stl')
|
||||
print(f'Export STL de : {__obj__[0].Label}.stl')
|
||||
__obj__.clear()
|
||||
if singleMode:
|
||||
filename = u"" + outputRacine + '--' + __obj__[0].Label + '.stl' if len(__obj__) == 1 else u"" + outputRacine + '.stl'
|
||||
|
|
@ -188,7 +188,7 @@ class WindowDialog():
|
|||
else:
|
||||
Mesh.export(__obj__, filename)
|
||||
if len(__obj__) == 1:
|
||||
print(f'Export STL de {__obj__[0].Label}.stl')
|
||||
print(f'Export STL de : {__obj__[0].Label}.stl')
|
||||
else:
|
||||
print(f'Export STL de {os.path.basename(outputRacine)}.stl')
|
||||
del __obj__
|
||||
|
|
|
|||
Loading…
Reference in a new issue