MoI file to Blender > MoI

 From:  Michael Gibson
9415.8 In reply to 9415.7 
Hi mat,

re:
> B. Import OBJ
> - Took off the .htm and .js...still no go. Image attached.

It looks like you're renaming the file names in your commands folder. That won't do what you need - the link above (http://moi3d.com/forum/index.php?webtag=MOI&msg=6674.453) is about setting up a shortcut key, you do that inside MoI in the Options dialog Shortcut keys
section, not inside the macOS Finder.

If you set up a shortcut key (in the MoI Options dialog) with "_ImportOBJ exact" as the command part of the shortcut key, then you would trigger the command by pressing the shortcut key.

But also another way you could get it set up would be to modify the _ImportObj.js script file in a text editor so that the "exact" behavior is the default. Then you would not need to set up a parameter for it and you would also be able to use the button for it instead of a keyboard shortcut.

To do that, open up _ImportObj.js in a text editor and go to line number 10 which has this currently:

code:
if ( moi.command.getCommandLineParams() ==='exact' ) { moi.ui.commandUI.normalizeObj( false ) } else { moi.ui.commandUI.normalizeObj( true ) }


replace it with this instead:

code:
if ( true ) { moi.ui.commandUI.normalizeObj( false ) } else { moi.ui.commandUI.normalizeObj( true ) }


Hope that works for you!

- Michael