import OBJ is not keeping geom in correct location
All  1-4  5-7

Previous
Next
 From:  co3Darts (CO3DPRINTS)
9343.5 In reply to 9343.4 
I believe latest version but it's a bit of a blurr as I've added dark gui etc. on top. But this command should reside either in native program files or %appdata%

C:\Program Files\MoI 4.0 beta Feb-27-2019\..

I find the following using search of *imp*

Import.js
ImportPart.js
ImportSubD.js

%appdata%\Roaming\Moi\..

I find the following using search of *imp*

_ImportObj.js (which is v.1.5)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9343.6 In reply to 9343.5 
Hi Jason, maybe it's easiest to modify the _ImportObj.js file to always do "exact" mode and then it wouldn't matter how you were launching it.

To do that, edit the file _ImportObj.js in a text editor, then on line 10 there is currently this:
code:
if ( moi.command.getCommandLineParams() ==='exact' ) { moi.ui.commandUI.normalizeObj( false ) } else { moi.ui.commandUI.normalizeObj( true ) }


Delete that or comment it out by putting in a // at the front of it, and then have this instead:
code:
moi.ui.commandUI.normalizeObj( false );


- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  co3Darts (CO3DPRINTS)
9343.7 In reply to 9343.6 
Thanks a bunch for that code Michael. Works and doesn't throw an error leaving "_ImportObj exact" as a command input either for hotkey.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-4  5-7