MoI discussion forum
MoI discussion forum

Full Version: Parametric design in MoI?

Show messages:  1-5  …  146-165  166-185  186-205  206-225  226-245  246-265  266-285  …  906-912

From: Max Smirnov (SMIRNOV)
2 May 2016   [#206] In reply to [#205]
Hi Barry,
replace /nodes/arrays.js with attached file.

In fact I don't like nodes with large amount of inputs. Later I'll write a new version of this node. I need to find an optimal way to solve this problem.
From: Sharif (SR13765)
2 May 2016   [#207] In reply to [#206]
Hi Max;

Great Job! as usual. As a suggestion may be creating other nodes ( Domain nodes ) will eliminate cluttering the nodes with too many inputs (see attached example from Grasshopper).

Thanks,
-Sharif

Image Attachments:
Domains.png 


From: James (JFH)
2 May 2016   [#208] In reply to [#207]
Great suggestion Sharif.

A possibly simpler alternative would be to allow range fields to accept variables as shown.

-James


Image Attachments:
rangeVariables.gif 


From: Karsten (KMRQUS)
3 May 2016   [#209] In reply to [#203]
Hello Max,

looks really great! The@'y'@ becomes more and more an powerful and easy to use tool. At the moment, I try to implement the pushFrame-function. Reverse/evaluate the Euler-Angles drives me crazy. RX, RY are working good (after a lot of failures) - and so, every time I think - I got it also with RZ - the axes flips or the angle turns the direction:-( I will post the code next time - maybe someone will have a good idea.

Have a nice day
Karsten
From: Barry-H
3 May 2016   [#210]
Hi Max,
Thanks for modifying the array.
I understand what you mean about keeping the inputs to a minimum.
I was thinking the same as James ( being able to add a variable into those fields )
That way inputs would only be added when required.
Anyway again many thanks.
Barry
From: Frenchy Pilou (PILOU)
3 May 2016   [#211]
Does the dictionnary multi-languages is running like the old one ?

(because seems not running now ! )
I have changed the "EN" to "FR" and add the French dictionnary with good syntax, run Moi In French but...all stay in English!
Not yet tranlated anything except the core/lang.js --- does this explain that ?
Seems Nodes must be translated !

Motor's animation runs fine!


PS A number of version, and name of the file node used will be fine somewhere in the Node Editor Screen!
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 !

Show messages:  1-5  …  146-165  166-185  186-205  206-225  226-245  246-265  266-285  …  906-912