MoI discussion forum
MoI discussion forum

Full Version: CustomUI

Show messages:  1-14  …  235-254  255-274  275-294  295-314  315-334  335-354  355-374  …  515-522

From: Michael Gibson
8 Apr 2018   [#295] In reply to [#294]
Hi agonyii, I did happen to recently look into the possibility of making an option for that, but I found that it would require some major changes in the display engine for curve drawing. The way curve drawing works currently for the viewport display is based off of blending against an opaque background.

- Michael

Message 6507.296 was deleted


From: agonyii
28 May 2018   [#297] In reply to [#291]
> @Max hmm it seems, I still have an issue.

> I've changed '0xFFFFFF' to the '0x333333' as instructed.

> Even though #333333 is now set as thumb background color it still ads a prop with a white background. When I reopen Moi, my thumb background is properly displayed with #333333.

> Strange. Appreciate it if you have a clue what's causing that.

Ah never mind, solved it! Thumb was still white only because I was overwriting the preexisting asset. When you overwrite an asset, Moi is basically loading the old - cached icon until you reopen the app.

I'm leaving this here for the reference :D
From: mike (MIOHN)
4 Jun 2018   [#298]
Hi,

I like this custom UI very much.
Any way, to get a "dark" version for this UI?

Or can I change this somehow by myself?

(but have absolutely no knowledges about scriting etc.)

regards
Mike
From: Michael Gibson
4 Jun 2018   [#299] In reply to [#298]
Hi Mike, do you have the rest of the UI set up to be dark and only the CustomUI pieces aren't?

If that's what you've got can you maybe post a screenshot?

- Michael
From: OGAR (OGAROGAR)
4 Jun 2018   [#300]
So installed CustomUI.2.0.beta2 into MoI 4.0 beta May-12-2018 and my lighting options are no longer there. When I tap on the lighting Icon I get the message "Lighting Options add-on not found!" I'm also getting...

ReferenceError: Can't find variable: _Subdiv_beta9
line 1
1: >> _Subdiv_beta9

ReferenceError: Can't find variable: _sBridge
line 1
1: >> _sBridge

ReferenceError: Can't find variable: _sSplit
line 1
1: >> _sSplit

ReferenceError: Can't find variable: _sScale
line 1
1: >> _sScale

ReferenceError: Can't find variable: _ImportObj
line 1
1: >> _ImportObj

I'm sure I installed it correctly but I wondering what's going wrong with the update. I'm really concern about my lighting options.

Thanks,
Ogar
From: Michael Gibson
5 Jun 2018   [#301] In reply to [#300]
Hi Ogar, so those "can't find variable" errors come from MoI trying to execute that text as literal script code. But it will only do that if there was no command with that name found so maybe things are installed one directory too deep or something like that.

You should have .js and .htm files with those names in either the MoI appdata commands folder (%Appdata%\moi\commands) or the beta's built in commands folder (c:\Program Files\MoI 4.0 beta May-12-2018\commands) to avoid that error.

For lighting options I seem to remember that some modules of CustomUI are not enabled by default, you need to enable them by something like removing a leading character from the filename which CustomUI looks for and skips that module if its present.

- Michael
From: Roger (ROGERMACEDO)
8 Jun 2018   [#302] In reply to [#8]
Hi Max, could you please, let me know how to install it in a Mac? Unfortunately I have no idea on how to make it work and I'd love to use that. Thank you very much.
From: Michael Gibson
8 Jun 2018   [#303] In reply to [#302]
Hi Roger, which version of MoI do you want to install it on?

- Michael
From: hep
18 Jun 2018   [#304]
Hi
This time i tried to use the GUI builder to update the color scheme I prefer for Moi3D but unfortunately the "options" and "help" buttons moved from the end of the commandbar to a position in the middle.
I have seen a comment somewhere inhere describing how to fix it but I cannot find it, do some of you know how to fix it?

Image Attachments:
Moi3D ui 1.png  Moi3D ui2.png 


From: Michael Gibson
18 Jun 2018   [#305] In reply to [#304]
Hi hep, probably it has to do with old v3 flexbox CSS properties being used by the GUI builder, maybe it needs a little adjustment to work with v4.

Is this happening when you're running the GUI Builder in v4 or are you doing something like just copying a v3 moi.css file into v4?

- Michael
From: hep
18 Jun 2018   [#306]
Hi Michael
I am running the GUI builder for v4.
yes, it need some small adjustment, and i just thought i have seen how to tweak it in here somewhere, but i might be wrong.
The set up i had for v3 was made directly in Moi.css, but this time i thought i would try the GUI builder so it would be easier always to use the newest Beta version :-)
From: Michael Gibson
18 Jun 2018   [#307] In reply to [#306]
Hi hep, I forget exactly how the GUI builder works but I think it makes a new moi.css file? Can you post the moi.css file that it made so I can take a look at it?

- Michael
From: hep
18 Jun 2018   [#308]
hi Michael

Yes it makes a new CSS file. and i have attached the new one here.

Attachments:
moi.css


From: Michael Gibson
18 Jun 2018   [#309] In reply to [#308]
Hi hep, the problem is that it makes a moi.css file based off of what MoI v3 used and doesn't have changes that were done for v4. The main thing that's different is that MoI v3 used the original webkit flexbox implementation which is now deprecated and v4 uses the standardized flexbox.

I've attached here a version of your customized moi.css that has the flexbox properties in it updated to what v4 is using, that should fix it.

- Michael

Attachments:
moi.css


From: hep
18 Jun 2018   [#310]
Hi Michael

Thanks for your explanation.
And the changes you made - they did the trick :-)
From: chippwalters
18 Jun 2018   [#311]
Hi all,

FYI GUI Builder is NOT fully compatible with 4.0. Sorry, I haven't yet had time to update it and probably won't until Michael locks down all the HTML/CSS for the interface.
From: BurrMan
8 Jul 2018   [#312] In reply to [#301]
""""""""""For lighting options I seem to remember that some modules of CustomUI are not enabled by default, you need to enable them by something like removing a leading character from the filename which CustomUI looks for and skips that module if its present."""""""

I think he is referring to this?



My "Lighting options" is a js file stored in the "scripts" directory, which creates a dialogue from "LightingThemes.htm" located in the ui directory!

So mine came back, when I told Customui to look at my "scripts" directory!



I modify a second scripts.menu.htm to draw from the scripts directory, so I can separate a few things out from commands.



I am pretty much guessing if this mod is proper and legit. Things changed a bit from the last version!

Image Attachments:
lighting options.jpg  lighting_theme.jpg  scripts_only_menu.jpg 


From: BurrMan
8 Jul 2018   [#313] In reply to [#312]
Question for Max,


You've moved to the appdata directory. I would like the ability to keep the install in MoI's install directory. (I keep MoI on a USB stick also, everything needed is in a single dir...

Will this be possible with your new plans? I have really come to rely on your Customui!!!

Thanks again!
From: AlexPolo
8 Jul 2018   [#314]
Hi BurrMan

I am the same I work with MOI on several computers keeping the scripts updated via a share on Gdrive - having the UI in same location would be beneficial in this type of workflow.

thanks Alex.

Show messages:  1-14  …  235-254  255-274  275-294  295-314  315-334  335-354  355-374  …  515-522