MoI discussion forum
MoI discussion forum

Full Version: NodeEditor Plus [Unofficial]

Show messages:  1-8  9-28  29-48  49-68  69-88  89-108  109-117

From: MO (MO_TE)
25 Dec 2024   [#29] In reply to [#25]
Hi Phiro
Thanks for your contribution :)
From: Phiro
26 Dec 2024   [#30]
Hi all,

A french version of the documentation.

Have fun !

P.

Attachments:
NodeEditorPlus_Quick Start-FR.pdf


From: christian (CHRI)
26 Dec 2024   [#31] In reply to [#30]
Bonjour Phiro

Thank you for your contributions... which make this software magical and a forum rich with great people.
Merci pour vos contributions ... qui rendent ce logiciel magique et un forum riche de belles personnes.

chri
From: Frenchy Pilou (PILOU)
26 Dec 2024   [#32]
Added to the Elephant Library https://moiscript.weebly.com/biblio-elephant.html
From: bemfarmer
28 Dec 2024   [#33]
Note that old node programs, (assemblages of old nodes), may open and work in NodeEditorPlus, but they may look different, and inherit some differences from the new node.
Example: ConvertPts from an old node program. Mode order is different, but it still functions. Opening the new, Plus version shows different input and output.

I did an update of ConvertPts2, (it had some harmless errors as well, and was not multitype), to do interpcurve curves rather that control point curves, and called it ConvertPts3. It would go in the extension folder. (not uploaded) . Interpcurve could be added to ConvertPts, in the points.js big file.

- Brian
From: bemfarmer
28 Dec 2024   [#34] In reply to [#33]
Here is a modified points.js file, as points.zip, which adds interpcurve to ConvertPts, as InterpCurve U, and InterpCurve V. (For NodeEditorPlus)
If desirable, this would replace points.js in NEPlus.

I'll leave it up to MO, whether to adopt this modification or not, and will delete this file for room, in a few days, either way.

I had to be extremely careful to spell the new words correctly. Failure for spellings to agree yields strange results, orange lights, etc.

Curve V and InterpCurve V just made a bunch of points in a pile in my test script.

I think that to re-used old node program assemblages, all nodes in them should be replaced with NEPlus version, even if they "look right".
Re-save the upgraded node program. Maybe even close and reload MoI. (not quite sure).

In my yarn knit node, the Curve U version had end tangents which were (slightly) not parallel to the xy plane, (z values differed).
The InterpCurve U version of the knit curve, the end tangents were of constant z, which enables array in the xy plane with smooth end connections.

- Brian

Edit, modified points.js file deleted. (MO says he will use it.)
I have switched to the Curves>curve node, as per MO
From: MO (MO_TE)
29 Dec 2024   [#35] In reply to [#34]
Hi Brian

Thanks, I'll add it to the next version.
But generally, it's better to use the "Curves/Curve" node to generate curves from point data whenever possible.
"Curves/Curve" node supports both "control Points" and "Through Points" (interpCurve) modes + "Closed" option.
From: bemfarmer
29 Dec 2024   [#36] In reply to [#35]
Thankyou MO.

I will have a look.

- Brian
From: bemfarmer
29 Dec 2024   [#37]
I spent some time improving my Yarn node.

There are some new features in NodeEditorPlus that are terrific!
Especially:

1. Node to Macro,
2. Arrange Graph,
3. Notes. (Can be used as a label for the node assemblage, and for information.)

(See Documentation pdf)

Add Group could use some Documentation. How to remove "Group" box? ( > Edit Group > Remove Group.)

The use of the above improvements are for the most part self-evident., and the documentation helps.
Notes could use a documentation write-op. I had to type the same notes 5 times before realizing that (a very rapid) right mouse click adds them to the box. Otherwise the Info box resets.

A second shortcut key can be set up in MoI, to open a second canvas, to assist node program (assemblage) creationg.

- Brian
From: MO (MO_TE)
30 Dec 2024   [#38] In reply to [#37]
Hi Brian
Here is a shortcut while editing notes:
Press CTRL + ENTER to apply changes.

>> right mouse click adds them to the box.

Also, clicking on the node box and mouse leaving the text area will apply the changes.
I can confirm that when mouse enters or leaves the node box it resets the changes before applying them. I can fix that.

>> A second shortcut key can be set up in MoI, to open a second canvas, to assist node program (assemblage) creation.

ALt + Click on the "New" button to open a new NE window.
From: Frenchy Pilou (PILOU)
30 Dec 2024   [#39]
Cool we can Open the 2 node Editors in the same time! ;)


From: Frenchy Pilou (PILOU)
30 Dec 2024   [#40] In reply to [#38]
@Mo_Te
Have you make something for an easy translating ? (files, tables ... or nothing special like Max Smirnov :)

Edit: found the file lang.js and Compatibility.js but....

Here the ancient Elephant in French! :)


From: Frenchy Pilou (PILOU)
30 Dec 2024   [#41]
Why vector and not Vector ?


From: MO (MO_TE)
30 Dec 2024   [#42] In reply to [#40]
Hi PILOU

>> Have you make something for an easy translating ?

I haven't changed the translation process that much, it uses the "lang.js" as a dictionary.
Example: "English Word":"Translated Word",
I think you can translate almost every word you see in the NE plus. ( Except the node tooltips and searchbox )
That includes:
All menus, submenus, node title, node's inputs/outputs label and ui buttons
From: Frenchy Pilou (PILOU)
30 Dec 2024   [#43] In reply to [#42]
Yep i have made that for the first Elephant but not yet refound the exact process!
I must be patient! :)
From: Frenchy Pilou (PILOU)
30 Dec 2024   [#44]
There is something wrong somewhere
That works fine for the "Elephant" but not for the "Plus"
All stays in English! Of course i change the language in the Options!
Elephant
​moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow );

NodeEditorPlus
var theme = 'Default'; /* Theme options: Default,Light,SkyBlue,Autumn,Lavender */
var language = 'FR'; /* Language options: EN,RU,FR */
moi.ui.createDialog( 'moi://appdata/NodeEditorPlus/index.html?scheme='+theme+'&lang='+language+'', 'resizeable,defaultWidth:870,defaultHeight:480', moi.ui.mainWindow );

Ok Found : I must write var language = 'FR'; and not var language = 'EN'; inside the 3 lines above! :)

And of course I must now add all that is not present in the "Lang.js" like "Interpolate" for "Interpoler" etc...

Works like a charm!

Need some time for modify, add, verify, complete all things! :)


From: bemfarmer
30 Dec 2024   [#45]
RotarySwitch node, (Widget > SwRotary), is now updated.
The .js should be placed in the extensions directory.

Testing was done by inputing numbers 1 through 6 as constant inputs to the switch, and the output connected to the Knit node at the Cycles input.
Run the Knit node, observe the MoI screen, click on the rotary switch, and see progressively, 1 or 2 or 3 or ... 6 Knit stitches.
The other Multi-modes pointarray and object... were not tested.

Is there a node which can be used for testing, which would display switch setting results, for any of the three Multi-modes?


The switch has Cycled and TicTac modes.
Even though the node is rectangular, the switch mimics a round multi select switch, with a knob.
Cycled mode mimics continuing clockwise rotation of the know.
TicTac mode mimics reversal of the clockwise rotation, for "countdown."

Widget SwDPDT node was also updated, but has not been tested yet.

- Brian
Deleted swRotar.js
See Post 56 for MO's improved version of swRotary.
(TestRotarySwitch attached file will need fixup.)

Attachments:
TestRotarySwitch.zip


From: MO (MO_TE)
31 Dec 2024   [#46]
Here is a list of words that can be translated. (Menus, ui buttons, node titles, node input/outputs)
Translated word should be on the right side.
Edit: Use the complete list on this post:
https://moi3d.com/forum/index.php?webtag=MOI&msg=11614.55
From: Frenchy Pilou (PILOU)
31 Dec 2024   [#47]
Damned I start without your file! :) (crossing post!

So I will made a blend of it and the actual existing lang.js! ;)

Start of a long way to go! :)


From: Frenchy Pilou (PILOU)
1 Jan 2025   [#48]
Firt draft of the French lang.js! :)
https://moiscript.weebly.com/uploads/3/9/3/8/3938813/lang.js

Show messages:  1-8  9-28  29-48  49-68  69-88  89-108  109-117