[Draft] Airfoil Import - User feedback not shown..
... as an error therefore Report Console doesn't attract their attention to why there's nothing in the folder on import of faulty dat file. See discussion: https://forum.freecadweb.org/viewtopic.php?f=3&t=59628
This commit is contained in:
@@ -183,7 +183,7 @@ def process(doc, filename):
|
||||
afile.close()
|
||||
|
||||
if len(coords) < 3:
|
||||
print('Did not find enough coordinates\n')
|
||||
FCC.PrintError(translate("ImportAirfoilDAT", "Did not find enough coordinates") + "\n")
|
||||
return
|
||||
|
||||
# sometimes coords are divided in upper an lower side
|
||||
|
||||
Reference in New Issue
Block a user