MoI discussion forum
MoI discussion forum

Full Version: V4 beta Nov-13-2017 available now

Show messages:  1-4  5-24  25-44  45-64  65-84  85-104  105-124  125-144  …  225-231

From: Michael Gibson
13 Nov 2017   [#65] In reply to [#60]
Hi Moritz,

re:
> Hello, Michael,
> is there a detailed manual to get the CustomUI back in V4 for the Mac?

There is no detailed manual available but it would be close to this:

Download the latest CustomUI and unzip it, it will have 3 folders in it, "objects", "snapshots", and "ui".

Right-click the MoI v4 app and choose "Show package Contents". Inside there go to Contents/Resources. Copy the objects and snapshots folder into Resources so they are siblings of Contents/Resources/ui along with the already existing "commands" and "docs".

Now copy the CustomUI/ui/customui subfolder into Contents/Resources/ui.

Now open up customui/CommandBar.htm in a text editor, find line


Now go into the CustomUI ui folder and in MoI go to Contents / Resources / ui . Copy the line which initializes it which is on line #90 and looks like this:

code:
			<script type="text/javascript" src="customui/CustomInit.js" />


Note that it is directly above a </flex>. Now open up the v4 CommandBar.htm file in a text editor, go to line #80 which is similarly just above a </flex> and paste the copied line in.

I'm not sure how much will work directly out of the box and what needs some updates. But that should be how you would merge it in to the new CommandBar.htm .

- Michael




- Michael
From: Michael Gibson
13 Nov 2017   [#66] In reply to [#61]
Hi Marco, thanks for your detailed testing, that will be particularly valuable to compare against once I am able to continue the performance work for v4 which I hope won't be too far out.

One additional data point that would be interesting would be:


> Mesh Angle 10 + Add Detail:
> Memory occupied : 2.685 GB
> <....>
> 3D Viewport performance : about 200 millisecs


At this level what is the approximate 3D view performance in MoI v3? You can enable the time display in v3 by:
script: moi.ui.showViewportDisplayTime = true;


Thanks!, - Michael
From: Michael Gibson
13 Nov 2017   [#67] In reply to [#62]
Hi Michel,

> Still having the infinite calculation on most operations.

Well that's a bummer, it's hard for me to figure out what's wrong when I can't repeat it over here.

If you have time could you e-mail me at moi@moi3d.com so we can discuss it back and forth a bit? I can set up a series of builds with additional diagnostics in it to send to you which could help to narrow it down.

Thanks, - Michael
From: Michael Gibson
13 Nov 2017   [#68] In reply to [#63]
Hi Pilou,

> Seems the FrenchString.txt was not updated in the new version! 13 nov 2017 ;)
> So here the new one!
> http://moiscript.weebly.com/uploads/3/9/3/8/3938813/frenchstrings.txt

Thanks! I have updated it now so any further builds should be up to date now.

By the way are things like accented characters in the UI showing all ok? One of the other new things is that v4 uses a new font which is packaged with the install. I think the font supports a wide range of characters but I haven't examined every single thing.

- Michael
From: Finema
14 Nov 2017   [#69] In reply to [#68]
Hi Michael,

The new version 13 nov 2017 is ok now on mac.
Accented characters in the UI showing all ok.
Custom UI work but Options and Help buttons are no longer on the right side of the footer (see my screenshot). Also see the ugly font used for the name of the commands in Ext.scripts.

Thanks again for your work.

JP
From: Max Smirnov (SMIRNOV)
14 Nov 2017   [#70]
Hi Michael,
Thank you for an information about new functions. Sorry, right now I have no time for a detailed answer, I’ll write it today evening.

Finema
I fixed this bug yesterday (updated version not published yet)
Customui/mods/ExtScripts.menu.htm
Line 3, remove space after slash.
From: Michael Gibson
14 Nov 2017   [#71] In reply to [#70]
No problem Max, I'll be here. I'm glad you found what was wrong with the scripts menu. I think the HTML parser changed quite a bit in this WebKit version it's some algorithm that's detailed in the official HTML standard, the old one might have been more tolerant of malformed tags.

Oh also if you want to make keyboard shortcuts for the node editor, it should be possible now for a dialog to handle key events that will be sent to it when the dialog has focus, see the new ShortcutKeyDialog.htm that's used by the shortcut key editor for information on that.

- Michael
From: Finema
14 Nov 2017   [#72] In reply to [#70]
Thanks Max
I've remove space after slash and font is ok now but Options and Help are still near Ext.scripts
From: moujiik
14 Nov 2017   [#73]
Hi, some stranges behaviors: sometimes when selecting an object, nothing shows , no style name, no dimension. And the construction lines often cannot find a point or a line.
Regards
Moujjik
From: Michael Gibson
14 Nov 2017   [#74] In reply to [#73]
Hi Moujjik, thanks for reporting these bugs. Let me try and focus on the construction line one first - is it possible for you to make a simple example file where it happens reliably when creating a construction line between 2 specific points? That may help me to repeat it over here. Also do you see any different behavior if you set View > "Display hidden lines" ? - Michael
From: bemfarmer
14 Nov 2017   [#75]
Is it my imagination, or has the font for MoI3 changed to the font for MoI4?
Especially for Ext.Scripts.
- B
From: Michael Gibson
14 Nov 2017   [#76] In reply to [#72]
Hi Finema,

re:
> I've remove space after slash and font is ok now but Options and Help are still near Ext.scripts

Try switching the inserted script tag line in CommandBar.htm to have a closing </script> tag like this:

code:
<script type="text/javascript" src="customui/CustomInit.js"></script>


It looks like the newer parser is more strict about not allowing self-closing script tags anymore.

- Michael
From: Michael Gibson
14 Nov 2017   [#77] In reply to [#75]
Hi Brian,

re:
> Is it my imagination, or has the font for MoI3 changed to the font for MoI4?
> Especially for Ext.Scripts.

Can you post a screenshot?

Hmmm, looking through it here I can see a bug that would cause that - looks like v4 reads the font name from moi.ini from a new UIFontNameV4 value to try and keep it separate from v3 but writes it back out as just plain UIFontName which is the same one used by V3. So if you happen to have Open Sans installed in your system font folder that would indeed show up in v3.

I'll fix it up so v4 will both read and write to UIFontNameV4 to keep it separate from V3.

- Michael
From: Finema
14 Nov 2017   [#78] In reply to [#76]
Michael
i've delete function LlamaMode() code in commandBar and it's Ok now
see my screenshot and the commandbar file
thanks
From: bemfarmer
14 Nov 2017   [#79] In reply to [#76]
Michaels mod to CommandBar.htm moved the Options and Help buttons back over to the right, where they belong.
(I did not remove Llama)
- Brian
From: Frenchy Pilou (PILOU)
14 Nov 2017   [#80] In reply to [#68]
<< French accents

For me seems all is ok!

Problems arrive when Notepad++ save in bad format Ansi / UTF (I never remember what is the good one!
For the moment seems its's coo! :)

For the moment the unic mini problem is that the classic Windows NotetPad don't take in count the "Line(s) Break (s)" !
From: Frenchy Pilou (PILOU)
14 Nov 2017   [#81]
Windows 10
Helper lines are not dashed! Does it normal ?
From: mkdm
14 Nov 2017   [#82] In reply to [#66]
Hello Michael.

Your're welcome!

@You : "...At this level what is the approximate 3D view performance in MoI v3? You can enable the time display in v3 by:
script: moi.ui.showViewportDisplayTime = true;..."

Perfect. I will make this test this evening or night and I will let you know the results.
Clearly I will make this test with the same machine (my desktop PC).

Could you please collect in one single new thread or a single downloadable pdf file, all the little changes that we have to make to
the V4 UI' files in order to make it works with custom UI or in order to update custom html/js plugins written fo V3 ?
A simple "to-do" list where you collect all the little html/js changes that we have to make.
So, in this way we are not forced to search through this thread ("V4 beta Nov-13-2017 available now") all the posts related to that argument.

Thanks a lot.

Have a nice day.
From: Frenchy Pilou (PILOU)
14 Nov 2017   [#83]
Windows 10 - 13 Nov 2017
Suddenly Freezing of some function(s) !

Does exist a trick for reccord artificially like a "rapport error" ?

Here I have just the file 3dm! (simple is not it ! :)
http://moiscript.weebly.com/uploads/3/9/3/8/3938813/freezing.3dm
From: mkdm
14 Nov 2017   [#84] In reply to [#83]
Hi Pilou.

@You : "...Suddenly Freezing of some function(s) !..."

I have downloaded the file and have no issues.

Which "functions" are you referring to ?

Ciao.

Show messages:  1-4  5-24  25-44  45-64  65-84  85-104  105-124  125-144  …  225-231