Improved IES file header parsing
IES files can contain many custom parameters, but these were not parsed but seen as errors.Examples of problem lines:
IESNA:LM-63-1995LInes starting with
[TEST]
[DATE] 02-01
[MANUFAC] GE LIGHTING
[LAMPCAT] 30754
[LAMP] Q20MR11/SP15-FTC
[_CATEGORY] HALOGEN
[_SUBCATEGORY] MR11
[_BULB] MR11
[_RATED-CBCP] 1760
[_CANDELA-MULTIPLIER] 1
[_RATED-LUMENS]
[_RATED-LIFE] 3500
[_BEAM-ANGLE] 15
[_DETAILS]
TILT=NONE
...
[_
will be ignored from now on, resulting in less editing being required in existing IES files.Fixed div by zero error in rotation symmetric IES file parsing
Rotation symmetric IES files did not convert to EULUMDAT properly but resulted in an uncaught exception.A proper error dialog was added and the cause of the div by zero fixed.
Also the offending files were added to the regression test suite.
Thank you Linuz Backelin for helping me track down and solve these two problems!
Thank you for making a clever tool for easy use. The IES-file conversion idea is great and very useful.
ReplyDeleteI bought the program and even though it's still in Beta stage, it's a great tool.
Keep up the good work.
/Linuz Backelin