V4 beta Nov-27-2017 available now

 From:  Michael Gibson
8704.1 
A new v4 beta (version Nov-27-2017) is now available for download here: http://moi3d.com/beta.htm , also linked to from the download page on the main web site.

Bug fixes:

Saving to IGES and STEP files - fixed a bug where using .stp or .igs file extensions wasn't working on Mac.

Mac full screen mode - (EDIT: this one still not fixed yet still happening on some machines) fix for the problem where the view controls window would show on the desktop space, sending you back to the desktop the first time you moved the mouse over a viewport after going to full screen. Please let me know if you see it again.

Updated shortcut key editor - Make the "Key" column expand to whatever width is necessary to show the longest key combo. Fixes problem reported in the forum by Metin here:
http://moi3d.com/forum/messages.php?webtag=MOI&msg=8682.42

Viewport toolbar - fixed a bug where doing view manipulation using the bottom viewport toolbar could miss the mouse up event and get stuck.

Orientation picker - fixed a sporadic drawing bug with the orientation picker reported on the forum by Max here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8682.16

Shortcut keys with Shift - Fixed a bug in shortcut keys using shift + number keys. V4 was generating Shift+1 as Shift+! which was incompatible with V3, V3 would convert it back to Shift+1 which was then not recognized by V4. V4 should now generate Shift+1 for that key combination and not Shift+! anymore. Fixes a bug reported on the forum by Marco here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8682.50

Background images - Fixed a crash when making a background image from a bitmap file with lower than 32-bit color depth. Reported on the forum by Vladimir here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8682.100

Undo - Fixed a bug where undo wouldn't find the proper object to restore in some cases. Reported on the forum by Val here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8682.83


Scripting:

moi.geometryDatabase.findStyle() - fixed a bug in the findStyle() function for the "create if not found" case, reported on the forum by Max here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8682.16

obj.getBoundingBox() - The boolean parameter for getting high accuracy bounds was marked as required in v4, while in v3 it was optional with a default of false. Updated v4 to match v3.

moi.filesystem.openFileStream - switch to use QTextStream for reading to get better unicode support. Unicode files with byte order marks should be supported now, the default will be UTF-8 if no byte order mark is found. Also added new methods .setWriteBOM( boolean ) which you can call to make writing a text file write the byte order mark at the front (default is no BOM), and .setCodec( name ) to have specific control over what encoding to use for reading or writing. Supported codecs are listed here: http://doc.qt.io/qt-5/qtextcodec.html#details .

moi://appdata/ - add support for moi://appdata/ URLs so you can load HTML resources like images from the MoI app data directory. moi://appdata/ will resolve to %AppData%\Moi on Windows and to ~/Library/Application Support/Moi on Mac.

String to integer conversion - Updated so a string value of "1.0" will be successfully converted to an integer value of 1 rather than rejecting it. Fixes a change in behavior from v3 to v4 that broke some of Brian's scripts.

factory.setValue() - switched to v3 behavior so sending the wrong object type doesn't trigger an exception. Fixes the SpurGearProfile script.

- Michael

EDITED: 28 Nov 2017 by MICHAEL GIBSON