This project has moved and is read-only. For the latest updates, please go here.

Floating point

Jun 13, 2010 at 2:38 PM

When shapes files are in text format, exponential notation may be used with floating point numbers.


This is currently causing an error.

Jun 13, 2010 at 2:57 PM

That number format appears to work fine for me. Do you have an example file that fails to parse such a number? If you've reported the problem through Simis Editor, just let me know the filename and I can check the reports.

Jun 13, 2010 at 3:05 PM
Edited Jun 13, 2010 at 4:01 PM

Hi James,

If I reported the file the name is AmfleetIICoach4.S

This file can be found at

I have been working with this file as it also has problems with OpenRails,


Jun 13, 2010 at 3:43 PM

Ah, the problem isn't the floating point numbers but the use of slerp_rot inside tcb_rot (the error details might not have been entirely clear; it is whatever is labeled "data at failure" that it has a problem with) - the BNFs I've written simply didn't allow that (not seen it used before, probably).

I've commited a new version of shape.bnf which (if copied in to Resources) allows this file to be loaded.