When double/float values are written to the .ifc as scientific notation seems
to upset a few IFC viewer. For instance, DDS-CAD viewer will throw an error and
does not show anything.
Could we please kindly use Fixed notation instead?
Thanks :)
void IfcPPWriterSTEP::writeModelToStream( std::stringstream& stream,
shared_ptr<IfcPPModel> model )
{
.
.
.
stream << std::setprecision( 15 );
stream << std::setiosflags( std::ios::showpoint );
stream << std::fixed; // Could we add this?
.
.
.
}
Original issue reported on code.google.com by sajlo...@gmail.com on 7 Jan 2015 at 3:54
Original issue reported on code.google.com by
sajlo...@gmail.com
on 7 Jan 2015 at 3:54