MoI discussion forum
MoI discussion forum

Full Version: Parametric design in MoI?

Show messages:  1-11  …  152-171  172-191  192-211  212-231  232-251  252-271  272-291  …  912

From: Tommy (THOMASHELZLE)
3 May 2016   [#212] In reply to [#210]
I like the idea of optional inputs.
I find the idea of using variables for them okay, but not 100% straight forward.
Grasshopper has it on some nodes that if you zoom in deeper, you can activate additional inputs.
Usine, a node based audio application has three interface states for nodes: "Collapsed" (no inputs visible, all wires go to one visual port, node is as small as possible), "Used Inputs" (only the most important inputs and those actually in use are visible) and "All" (all available inputs are visible). So you can noodle away with all inputs visible and then collapse to one of the two other states later.
I could also imagine that you could "activate" a field as input in the inspector GUI.

Cheers,

Tom
From: Max Smirnov (SMIRNOV)
3 May 2016   [#213]
Hi guys :)

Sharif
Good idea, I'll think about it later. Not now.

James
>>A possibly simpler alternative would be to allow range fields to accept variables as shown.
I thought about it. At first I need to check a performance of this node. If implementation of this feature will not lower an overall performance, I'll add it.

Karsten
>> At the moment, I try to implement the pushFrame-function
Yes, it's not as easy as it looks. :) I also wrote RX RY reverse transformation in the SphereArray node. Need to think about RZ.

Pilou
>>I have changed the "EN" to "FR" and add the French dictionnary with good syntax, run Moi In French but...all stay in English!
change lang.set("EN") line in index.html file

Tom
>>a node based audio application has three interface states for nodes: "Collapsed" ... "Used Inputs" .. and "All"
I like this! It will not so easy to implement, but I'll try it.
From: Frenchy Pilou (PILOU)
3 May 2016   [#214] In reply to [#213]
<< change lang.set("EN") line in index.html file
Seems not sufficient! "FR" same result! :)
From: Max Smirnov (SMIRNOV)
3 May 2016   [#215] In reply to [#214]
Just checked it. Works good. Send your translation file to me.

From: Frenchy Pilou (PILOU)
3 May 2016   [#216]
Animation is progessing!

@Max here the
File lang.js with "EN", but put "FR" change nothing even input "FR" inside the Index.html !
lang.set("FR");
https://we.tl/dNcE2OGmpu valuable till 10 / May / 2016
From: Max Smirnov (SMIRNOV)
4 May 2016   [#217] In reply to [#216]
Hi Pilou
Everything works good. I haven't any idea what is wrong with your settings.




From: bemfarmer
4 May 2016   [#218] In reply to [#217]
I tried out the French language version of Pilou.

1. Placed Pilou's lang.js file in the core subdirectory, after renaming the older lang.js file to langOlder.js

2. Changed EN to FR in the index.html under function init(), (As per Max's initFR.PNG), with notepad++, in the nodeeditor directory.

Success

- Brian

Then changed FR back to EN.
After re-opening MoI, pressing F5 does not seem to be necessary.


Switching languages by //Commenting will work.

function init()
{
//lang.set("EN");
lang.set("FR");
//lang.set("RU");
From: Frenchy Pilou (PILOU)
4 May 2016   [#219]
A big mystery!
Shortcut is this one ?
moi.ui.createDialog( 'nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow )

Can you give me the list of the \ui\nodeeditor\...
From: Frenchy Pilou (PILOU)
4 May 2016   [#220] In reply to [#218]
@Bemfarmer

<< 1. Placed Pilou's lang.js file in the core subdirectory, after renaming the older lang.js file to langOlder.js

<< 2. Changed EN to FR in the index.html under function init(), (As per Max's initFR.PNG), with notepad++, in the nodeeditor directory.

<< Success

Seems you don't change "EN" to "FR" inside my lang.js file posted : var lang = { LANGUAGE: "EN" } does this exact ?
From: Max Smirnov (SMIRNOV)
4 May 2016   [#221] In reply to [#220]
lang.set() command overrides any setting of the lang value in lang.js file
From: Frenchy Pilou (PILOU)
4 May 2016   [#222]
I have reloaded all the project and same result! :(
So a vicious glitch on my computer! :)
Surrely a little error syntax somewhere!
From: bemfarmer
4 May 2016   [#223] In reply to [#222]
Pilou's lang.js file is NOT modified.

I accessed nodeeditor using customui, not shortcut key.
RU also works fine.

- Brian









Image Attachments:
core_subdirectory_contents.png  my_customui_subdirectory_contents.png  nodeeditor_directory_contents.png  Part_of_my_MoI 3.0_subdirectory.png 


From: bemfarmer
4 May 2016   [#224] In reply to [#223]
Shortcut key also works:
My shortcut key for nodeeditor:

Ctrl+Alt+N moi.ui.createDialog( 'nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow )

#######

Also made a copy of index.html named indexFR.html, with FR instead of EN the only change, also placed in nodeeditor subdirectory.

My new test shortcut key for French is:

Ctrl+Alt+Z moi.ui.createDialog( 'nodeeditor/indexFR.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow )

Hope some of this helps.

- Brian
From: Frenchy Pilou (PILOU)
4 May 2016   [#225] In reply to [#224]
Thx for all precision!
But alas mystery is more more curious! :)
Bride between French version don't want to work for me!

All was working fine for the Elephant 1 !
From: bemfarmer
4 May 2016   [#226] In reply to [#225]
I was able to re-create the failure of the French language to appear, by
using the WRONG lang.js file.

So I would say to triple check that the Pilou lang.js file (which includes French words :-)), is
contained in the \core subdirectory.

- Brian
From: Max Smirnov (SMIRNOV)
4 May 2016   [#227]
Today I wrote a Line node. It's not so simple as it looks :)


From: James (JFH)
4 May 2016   [#228] In reply to [#227]
>> Today I wrote a Line node. It's not so simple as it looks

We are all aware of you're herculean efforts.
Be assured they do not go unappreciated.

Keep it up

- James
From: Frenchy Pilou (PILOU)
4 May 2016   [#229]
Seems solved but very curious!

I must add the French lines dictionnary inside the EN part !

Moi is in French
My index html is lang.set("FR");
My lang.js is var lang = { LANGUAGE: "FR" }

Does all that is normal ???
image of the lang.js


From: bemfarmer
4 May 2016   [#230] In reply to [#229]
Hi Pilou,

"My index html is lang.set("FR");" <<This is correct.>>

"My lang.js is var lang = { LANGUAGE: "FR" } " <<<This is "incorrect." Leave it as: var lang = { LANGUAGE: "EN" }>>>

I temporarily went to MoI Options, and edited the moi.ini file to read, under [UI] as Language=French
With index html: lang.set("FR");, and leaving your lang.js as downloaded, with var lang = { LANGUAGE: "EN" }
no other modifications were needed to get French Node language.
There is no need to add the French words to the EN section, lines 159+ in your post.

- Brian
(These are my personal observations and tests and opinions:-)
From: Max Smirnov (SMIRNOV)
5 May 2016   [#231]
Hi Pilou

Check all js files for another lang.set('EN') call. It seems like you accidentally inserted this line somewhere in the code.

Show messages:  1-11  …  152-171  172-191  192-211  212-231  232-251  252-271  272-291  …  912