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

Previous
Next
 From:  Michael Gibson
9343.2 In reply to 9343.1 
Hi Jason, that's a feature of Max's import obj script, see here for how to disable the normalization scaling:
http://moi3d.com/forum/index.php?webtag=MOI&msg=6674.453

> not sure why this is default behavior?

I don't know why, you would have to find out from Max.

- 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
Next
 From:  co3Darts (CO3DPRINTS)
9343.3 In reply to 9343.2 
Thanks Michael. I should have done a more thorough search...

Thanks for the link.

Jason

P.S. I have the "impObj exact" now working as a short cut but I'm not able to find the same command that's being issued using max's impObj menu button. Is it using impSubDiv perhaps?

EDITED: 23 Apr 2019 by CO3DPRINTS

Image Attachments:
Size: 220.8 KB, Downloaded: 35 times, Dimensions: 1021x695px
  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.4 In reply to 9343.3 
Hi Jason,

re:
> P.S. I have the "impObj exact" now working as a short cut but I'm not able to find the same command
> that's being issued using max's impObj menu button. Is it using impSubDiv perhaps?

I don't think so... What version of CustomUI and MoI are you using?

- 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
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  2-7