MoI discussion forum
MoI discussion forum

Full Version: V4 beta Oct-27-2020 available now

Show messages:  1-8  …  69-88  89-108  109-128  129-148  149-158

From: sandykoufax (JEONGHO_KIM)
16 Nov 2020   [#129] In reply to [#127]
Hello,

I cannot find [Undo] section in my Moi.ini file.

And Below is the content.

[Settings]
MaxProcessMemoryUseGB=
Startup template=
SaveWorkingDirectoryAtExit=n
StartupWorkingDirectory=
SetNameWhenOpeningAllFileTypes=n
FileLoaderThreadLimit=
LastFileDialogDirectory=

[View]

.....

Should I add them in the ini file?
From: coi (MARCO)
16 Nov 2020   [#130] In reply to [#129]
hi,
there is an [Undo] section in mine. give it a try..



From: sandykoufax (JEONGHO_KIM)
16 Nov 2020   [#131] In reply to [#130]
Thank you.

I don't understand why my ini file has not this section.
From: Michael Gibson
16 Nov 2020   [#132] In reply to [#129]
Hi sandykoufax, hmmm yes it's supposed to write the [Undo] section when the program shuts down. Maybe something is not shutting down properly anymore in v4, I'll take a look.

But yes if you don't have it you can add it in at the end, the default settings are:

[Undo]
MaxMemorySizeMB=20
MinNumberOfUndos=10

You can bump up MaxMemorySizeMB by quite a bit. Then the way it will work is it will keep at least 10 and keep more than that if the total amount of space for undo objects is less than MaxMemorySizeMB.

- Michael
From: Michael Gibson
16 Nov 2020   [#133] In reply to [#131]
Hi sandykoufax, so yes the missing settings are an undo shutdown bug in v4, I've got it fixed for the v4 final version. For now just add it in to the end of your moi.ini .

- Michael
From: sandykoufax (JEONGHO_KIM)
16 Nov 2020   [#134] In reply to [#132]
Thank you!

I set the
MaxMemorySizeMB=200
MinNumberOfUndos=50

Can I do this?
From: Michael Gibson
16 Nov 2020   [#135] In reply to [#134]
Hi sandykoufax,

re:
> I set the
> MaxMemorySizeMB=200
> MinNumberOfUndos=50
>
> Can I do this?

You can, but that will force it to retain 50 undos at a minimum no matter how much memory that consumes. If you are working with complex models that could have the potential to consume a very large amount of memory.

It's safer to raise only the MaxMemorySizeMB only and not the MinNumberOfUndos.

- Michael
From: Ad (JUSTABLE)
17 Nov 2020   [#136]
Hi,

Not sure if I should have created a complete new thread for this, but since it is V4 related I added it here.

One thing I noticed that the RIGHT MOUSE CLICK does not cancel commands, like line, circle and dimensions any more.
I have to hit ESC or click the CANCEL button. V3 worked. This might be just a setting in the ini file, but I could not see
any appropriate value to change?

Another issue I noticed was the CIRCULAR ARRAY. When I initiate the command, the focus is immediately on the ITEM COUNT
input box, but the TAB key does not jump to the next input, it highlights the description (ANGLE). In order to change the
value I have to mouse click the input field, after that TAB jumps to the following input fields.

I also had a question about the DIMENSION SETTINGS. If I create another present (additional to the default), it does not
get saved unless I create a template file? When I start a new file it opens with the default settings, although I saved it
with the modified settings active. Is there a way to default to the new settings when I start a new file?

Another thing, and this should probably go into a different thread? I installed the MODO INTERFACE and everything works fine,
there is just one inconsistancy with the colors. On the DIMENSION TAB, the text color of the dropdowns for the values
(e.g. settings for decimals) does not match the text color of all other TABS (e.g. GENERAL and so on). I could not find any
settings in the css file, but I think this color might be pulled off from somewhere else?

Thanks in advance and sorry for the lengthy questions.
From: Michael Gibson
17 Nov 2020   [#137] In reply to [#136]
Hi Ad,

> One thing I noticed that the RIGHT MOUSE CLICK does not cancel commands, like line, circle and dimensions any more.
> I have to hit ESC or click the CANCEL button. V3 worked. This might be just a setting in the ini file, but I could not see
> any appropriate value to change?

Some info here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=9526.188


> Another issue I noticed was the CIRCULAR ARRAY. When I initiate the command, the focus is immediately
> on the ITEM COUNT input box, but the TAB key does not jump to the next input, it highlights the
> description (ANGLE). In order to change the value I have to mouse click the input field, after that TAB
> jumps to the following input fields.

This happens because the angle description is actually a clickable button that toggles between "Angle to fill" vs "Angle step" modes.

Currently the way the tab key works is if keyboard focus is on an input field it will go to the next control. If that's not the case (which it won't be if focus is on the angle label button) then it puts focus into the first input field in the command UI. So that results in the behavior you are describing here.

This is something that I would like to change, probably the rule should be if focus is on any control inside the command UI then Tab should go to the next field. It's too late to change this for v4 but I can do it in v5 once the v5 betas start up.


> I also had a question about the DIMENSION SETTINGS. If I create another present (additional to the default),
> it does not get saved unless I create a template file?

The "Default" preset gets stored in your moi.ini file and so that's globally available. Any additional presets are project specific and stored in the 3dm file that you save. If you load the .3dm file those additional presets will also load then.


> When I start a new file it opens with the default settings, although I saved it
> with the modified settings active. Is there a way to default to the new settings when I start a new file?

Yes, if you want your additional presets beyond "default" to be there when you start a blank new file you need to save a .3dm file with them set up how you want it and then specify that .3dm file as the startup template file under Options > General > "Template file". Then they will get loaded from the template file when you start a new file.


> Another thing, and this should probably go into a different thread? I installed the MODO INTERFACE and everything works fine,
> there is just one inconsistancy with the colors. On the DIMENSION TAB, the text color of the dropdowns for the values
> (e.g. settings for decimals) does not match the text color of all other TABS (e.g. GENERAL and so on). I could not find any
> settings in the css file, but I think this color might be pulled off from somewhere else?

Could you please show a screenshot of this area that has the inconsistent color?

Thanks, - Michael
From: Ad (JUSTABLE)
18 Nov 2020   [#138] In reply to [#137]
Hi Michael,

Thanks for the explanations. Got the right mouse click adjusted, works now like V3, though the "RightClickCancel=n" entry was not in the ini file at all. I just added it, it works.

Did overlook that there is an option for different angle modes, that'll work.

And attached are the screen shots as requested. As you can see on the "General Tab" as well as all other Tabs the text color on the Drop Down Selections is amber or orange, however you want to call the color. I the "Dimension Tab" the text color is black. All direct text entry fields the text color is a light gray, but this is ok.

One thing I forgot to ask in my last post: Is there a way to change the text orientation for vertical dimensions to horizontal? I think it works for "Scaling by screen Units". I attached a screen shot for this as well.

Thanks again, and by the way V4 is awsome.

Ad

Image Attachments:
screenshot-dimension-tab.png  screenshot-general-tab.png  screenshot-vert-dim.png 


From: Michael Gibson
18 Nov 2020   [#139] In reply to [#138]
Hi Ad,

re:
> And attached are the screen shots as requested. As you can see on the "General Tab" as well as
> all other Tabs the text color on the Drop Down Selections is amber or orange, however you want
> to call the color. I the "Dimension Tab" the text color is black. All direct text entry fields the text
> color is a light gray, but this is ok.

Can you post the moi.css file that you're using?

The difference between the "General Tab" dropdowns and the "Dimension Tab" dropdowns are that the ones on General are <moi:Select> controls while the ones on the dimension tab are plain <select> elements since they didn't need to use the binding mechanism that is only present on a <moi:Select> control.

So probably the solution will be to adjust the rule in moi.css that is setting the color for <moi:Select> controls to also apply to plain <select> controls as well.


> One thing I forgot to ask in my last post: Is there a way to change the text orientation for vertical
> dimensions to horizontal? I think it works for "Scaling by screen Units". I attached a screen shot for this as well.

Yes, the text can be set to horizontal by the "Display" property, set it to Display: Screen Aligned. You can do this to an individual object by using the "Details..." dialog, or make it the default for newly created ones under Options > Dimensions.

- Michael
From: Ad (JUSTABLE)
19 Nov 2020   [#140] In reply to [#139]
Hi Michael,

Attached is the moi.css file. I renamed it to "moi-modo.css" only for the purpose to upload it. The file I use is still just "moi.css". I was also wondering where the highlight color settings are for active input fields, see attached screenshot. With the current color settings it is hard to see where the focus is.

Thanks for taking the time to help me out on that.

Ad


Attachments:
moi-modo.css

Image Attachments:
highlight-color.png 


From: Michael Gibson
19 Nov 2020   [#141] In reply to [#140]
Hi Ad, so for the drop-downs, the problem is that the regular <select> control has a default color built in to the base WebKit html.css .

So to fix that, inside moi.css find the base rule for <moi:Select> and <select> controls which looks like this:

code:
moi\:Select, select {
    -webkit-appearance:none;
    -webkit-box-sizing:border-box;
    -webkit-box-align:center;
    
    white-space:pre;
	background-color:#2F2F2F;

    margin:0;
    display:inline-block;

	border:1px solid #686868;
	border-radius:2px;
    
    font-size:90%;
}


and put in a color:inherit; in it so it looks like this (added at the end):

moi\:Select, select {
-webkit-appearance:none;
-webkit-box-sizing:border-box;
-webkit-box-align:center;

white-space:pre;
background-color:#2F2F2F;

margin:0;
display:inline-block;

border:1px solid #686868;
border-radius:2px;

font-size:90%;

color:inherit;
}




So one of the things that's a little bit off with this moi.css file is that it's based off of the .css for MoI version 3 so some of the things like the flex-box properties are not matched up right for v4 which is why a few things look weird. I'll see if I can tune it up.

For selected text, add in this which is also in the v4 moi.css file now:

/* Background and text colors for selected text in input fields */
::selection {
background-color:#5599FF;
color:white;
}

- Michael
From: Michael Gibson
19 Nov 2020   [#142] In reply to [#140]
Hi Ad, here is the moi-modo.css that has the flex-box properties set up for v4, that should fix things like dropdowns having space to the right of the down arrow button.

- Michael

Attachments:
moi.css


From: Ad (JUSTABLE)
20 Nov 2020   [#143] In reply to [#142]
Hi Michael,

Thanks a lot for your support. I will try this shortly, but I'm sure it'll work just perfect.

Edited:
As expected, perfect :).
One more question in regards of color settings. I would like to change the highlight color for adding new Keybord Shortcut Keys (see screenshot). After I took the screenshot, I sampled the color and did a search for that RGB as well as HEX value in the moi.css file, but it was not there. So I asume this is another case where I need an "inherit" statement? Which section in the css would I have to modify?

Thanks again, and I'll promise I hold myself back now with more questions :).

Ad

Image Attachments:
screenshot-shortcut-keys.png 


From: Michael Gibson
20 Nov 2020   [#144] In reply to [#143]
Hi Ad,

re:
> I would like to change the highlight color for adding new Keybord Shortcut Keys (see screenshot).

That one is set up in a local style sheet in ShortcutKeysOptions.htm :

code:
			/* Color of selected row */
			.SelectedRow {
				background-color:#EBEBFF;
			}


So you can modify it there, or if you want to have it in moi.css it will need an !important so it overrides the one in the local style sheet.

- Michael
From: Ad (JUSTABLE)
20 Nov 2020   [#145] In reply to [#144]
Hi Michael,

Thanks for the info. Haven't run across a locale css file, but I didn't dig around in the folders too much. I will try to locate it, otherwise I just add it to the moi.css. Yeah, I've seen the !important statements, now they make more sense. I'll give it a shot.

Ad
From: Michael Gibson
20 Nov 2020   [#146] In reply to [#145]
Hi Ad, the local css part is not a separate .css file, it's embedded in a <style> element at the top of the .htm file.

So for example that one is in a <style> element at the top of the ShortcutKeysOptions.htm file.

- Michael
From: Cemortan_Tudor
21 Nov 2020   [#147]
Question about editable points - if they will be added to script environment ? v4/v5 ?
From: Michael Gibson
21 Nov 2020   [#148] In reply to [#147]
Hi Tudor,

re:
> Question about editable points - if they will be added to script environment ? v4/v5 ?

That's not going to make it in for v4 but I can put it in for v5 once the v5 beta process starts up.

- Michael

Show messages:  1-8  …  69-88  89-108  109-128  129-148  149-158