MoI discussion forum
MoI discussion forum

Full Version: Moi3 to 4 upgrade

Show messages:  1-20  21-22

From: shayno
31 Oct   [#1]
Hi Michael

The upgrade to 4 is noticably faster , Thanks

in ver 3 I used a keyboard script to edit the name of selected objects , I find this very quick

script: /* Edit object name */ var pp = moi.ui.propertiesPanel; if (pp.show && pp.numSelectedObjects > 0) { pp.editName(); }

Can this be changed to work in V4

Cheers
shayne
From: Michael Gibson
31 Oct   [#2] In reply to [#1]
Hi Shayne, that seems to be working ok for me in v4.

What happens when you use it, are you sure you have something selected?

- Michael
From: shayno
31 Oct   [#3]
Thanks Michael

Its made a liar out of me and decided to work now.

regarding max's ui which I managed to get up and running

Does it no longer have the snapshot function ?

cheers
shayne
From: Michael Gibson
31 Oct   [#4] In reply to [#3]
Hi shayne,

re:
> Does it no longer have the snapshot function ?

It seems that snapshot didn't make it over to the v4 version.

I've attached a ported version here, put this file into the startup folder and make a folder named "snapshots" in appdata alongside "commands", "customui", "objects", "startup", etc... that's where it will write them.

- Michael

Attachments:
82 Snapshot.js


From: shayno
4 Nov   [#5] In reply to [#4]
Thanks very much
From: shayno
4 Nov   [#6] In reply to [#4]
Hi Michael

Can it be changed to do the same as my previous version

which saved a picture of each viewport as a jpg meshangle >5 =5 resolution 3200 x 2400

old snapshot.htm attached

Much appreciated

Attachments:
84 Snapshot.htm


From: Michael Gibson
4 Nov   [#7] In reply to [#6]
Hi shayne, try this one.

- Michael

Attachments:
82 Snapshot_shayne.js


From: shayno
4 Nov   [#8] In reply to [#7]
Works perfect thanks Michael
Is there a lighting options htm for ver 4 or can I copy in from ver 3
The button is there on max's UI but it says lighting options addon not found
From: Michael Gibson
4 Nov   [#9] In reply to [#8]
Hi shayne, the lighting one needs settings in the moi.ini file that are saved by Dinos' lighting plugin.

If you set up the plugin from here and run it once that should get it set up:
http://moi3d.com/forum/index.php?webtag=MOI&msg=5222.43

If it was working in v3 then you must have set up separate moi.ini files for v3 and v4? If so copy the entry from the v3 moi.ini under [Commands] LightingOptions=<.....> into the moi.ini being used for v4.

- Michael
From: shayno
4 Nov   [#10] In reply to [#9]
Hi Michael
Yes I found a post that covered it and I have changed the ini for the correct path
works
From: shayno
6 Nov   [#11] In reply to [#7]
Fantastic
I did notice that it sorts by
Capitals alphabetical
then lower case alphabetical
Do my sloppy naming mixed everything up , have renamed everything in my objects folder
cheers
From: shayno
7 Nov   [#12] In reply to [#11]
Hi Michael
In Max's UI
Subdiv _beta9 not found
and command importobj not foud either
Do I have to download and install the plugin for these

Kind regards
shayne
From: Michael Gibson
7 Nov   [#13] In reply to [#12]
Hi shayne, yes those aren't in the CustomUI archive. You'll need to download them from here:
https://moi3d.com/wiki/MaxScriptArchive

- Michael
From: shayno
13 Nov   [#14] In reply to [#13]
Sorry to ask

but my scripts and scripts full on the UI has defaulted to a single column with the rest in a nice block with 4 columns

any ideas

cheers
shayne

Image Attachments:
Screen Shot 11-14-24 at 01.58 PM.JPG 


From: Michael Gibson
13 Nov   [#15] In reply to [#14]
Hi shayne, did you maybe copy everything from your v3 commands folder into appdata\commands?

The problem with that is you don't want to have the standard built in commands in appdata. You should only have commands that you had added to v3 copied over to appdata.

- Michael
From: shayno
13 Nov   [#16] In reply to [#15]
Yes I did
deleted them sorted it
From: shayno
13 Nov   [#17] In reply to [#16]
Hi Michael
Is there a remove duplicates command that works on surfaces and solids please ?
Ocassionally I do a double paste and end up with objects stacked on top of each other , then compound it my mirroring them all.
This does not then like to slice for printing.
cheers
shayne
From: Michael Gibson
13 Nov   [#18] In reply to [#17]
Hi shayne, I'm sorry no there isn't a function for that currently.

- Michael
From: shayno
21 Nov   [#19] In reply to [#18]
Hi Michael

I seem to be generating a lot of .bak files as I draw
when does moi create them and should it delete them after file is saved and closed
cheers
Shayne
From: Michael Gibson
21 Nov   [#20] In reply to [#19]
Hi Shayne, are these files ending in a .bak file extension, or do they have _bak appended to the file name before the file extension?

When you save a file that will overwrite an existing one, MoI will rename the existing file to filename_bak, then write the file to the original file name, and when that is finished it deletes the original (now renamed) _bak file.

So for example a file named filename.3dm will get renamed to filename_bak.3dm, then after writing is finished to filename.3dm the filename_bak.3dm will get deleted.

It does this so that if there is any error (such as disk space exhausted for example) in writing the new file, the existing file won't be destroyed.

But under regular circumstances the filename_bak.3dm files will get deleted automatically. If you have restricted permissions set on the folder where you're saving to that could possibly prevent MOI from deleting the file. So that's something to check.

- Michael

Show messages:  1-20  21-22