MoI discussion forum
MoI discussion forum

Full Version: Parametric design in MoI?

Show messages:  1-3  …  564-583  584-603  604-623  624-643  644-663  664-683  684-703  …  904-912

From: Max Smirnov (SMIRNOV)
19 Sep 2017   [#624] In reply to [#622]
Hi Marco,

>>Will you release every further update, big or small, using your moi.maxsm.net web site (Nodeeditor AddOns) ?

Yes. I will upload every new version to my site. Use this links to download: http://moi.maxsm.net/nodeeditor or http://moi.maxsm.net/files

>>if I instead pick the "nodeeditor.v.0.94.2017.09.18.zip" file currently stored into your web site, will I get the latest update of Elephant including this new "interface.js" file ?

No, the file will be same. Updated interface.js (and all other updated files) will be added to a next release.

>>I kindly ask you to publish every updates in your web site or in one single zip file placed everywhere, containing the whole Project Elephant folder.
>>In this way we can simply unpack the folder and overwrite every old local file with one simple operation.

Every nodeeditor release (nodeeditor.v.0.xx.xxxx.xx.xx.zip) always contains all project files. In some cases I can upload some changed files separately, before the next release. In that case you need to copy files over the existing ones.
From: mkdm
19 Sep 2017   [#625] In reply to [#624]
Hi Max.

@You : "...Yes. I will upload every new version to my site...
Every nodeeditor release (nodeeditor.v.0.xx.xxxx.xx.xx.zip) always contains all project files. In some cases I can upload some changed files separately, before the next release. In that case you need to copy files over the existing ones..."

This is Perfect. Thanks Max.

I've been waiting a long time to see the end of the never-ending-story of mixed version of P. Elephant and : "why this .nod file doesn't work? Where is the missing .js file or node ? Where is the download link ?"

:)

I'm a software developer and one of the things I hate most is the versioning mess.

Thanks again!

Bye.

Marco (mkdm)
From: speedy (AL2000)
22 Sep 2017   [#626]
Hi Max
I was wondering if you could improve Math and Math Point nodes
increasing the opportunity to place input-
Now we get to the letter d- , but
in the case of complex formulas there is need for more inputs
thank you-
Have a nice day
al
From: Max Smirnov (SMIRNOV)
22 Sep 2017   [#627] In reply to [#626]
Hi Al,

>>I was wondering if you could improve Math and Math Point nodes increasing the opportunity to place input-
Maybe later but not now. At the moment my high priority task is bugfixing and optimization. Also I prepare new features for v.1.xx releases.
Right now I would prefer do not touch well working code.
From: mkdm
22 Sep 2017   [#628] In reply to [#627]
Hi Max!

@You : "...Right now I would prefer do not touch well working code..."

+1 for this wise choice :)

Bye.
From: Karsten (KMRQUS)
22 Sep 2017   [#629] In reply to [#626]
Hello Al,
in many situations it should be possible to split calculations in steps, to get more parameters involved.
a+b+c+d+e=x - > a+b+c=m; d+e=n; m+n=x
I know that you already use this workaround and it has the advantage that very complex formulas will be broke down for a better understanding of the structure.
So have a nice day
Karsten

p. s. Nevertheless it is always a good idea to push boundaries away;-)
From: Max Smirnov (SMIRNOV)
24 Sep 2017   [#630]
Well..
In fact I planned this feature for 1.xx versions, but two last evenings was enough to take mess with it.
Macro nodes! :)

Other changes:
Added dynamic mousewheel delta adjusting (Knob/Slider nodes)
Fixed Extract node bug
Fixed Polyline nodebug
Fixed Mouse scroll glitch
Changed Node info windows scroll method
Minor interface improvements

Attention!
I've made changes in getInputData function in core.js.
It's one of the most important and frequently used functions in nodeeditor.
Please test your node projects! Everything should work good.

http://moi.maxsm.net/nodeeditor
From: Frenchy Pilou (PILOU)
24 Sep 2017   [#631]
What a productivity!
From: James (JFH)
24 Sep 2017   [#632] In reply to [#630]
Bravo Max,

Thank you for Macro function. It'll greatly enhance legibility of node circuitry so as to not intimidate non-noders.

Will it be possible to marque a group of nodes and make them into a macro? Like so:



Also, will there be a way of loading multiple nod files into Nodeeditor so that macros may be shared between projects? (assuming that there is not to be a new file type for macros)

Thanks again for your inspiring work
James

Image Attachments:
MakeMacro.gif 


From: Max Smirnov (SMIRNOV)
25 Sep 2017   [#633] In reply to [#632]
Hi James

Yesterday I wrote Macro Export / Import tool. It can import nod files as macro. Wait for a next nodeeditor release.

>>Will it be possible to marque a group of nodes and make them into a macro
Yes, but not in the next release.
From: James (JFH)
25 Sep 2017   [#634] In reply to [#633]
Thanks Max,

>>Yesterday I wrote Macro Export / Import tool. It can import nod files as macro. Wait for a next nodeeditor release.<<

This will be brilliant! The ad hoc approach to node wiring can be anything but systematic, so to be able to encapsulate working chunks into macros and then reimport into a overall scheme will provide a much needed layer of structure; so kudos.

>>marque a group of nodes and make them into a macro
Yes, but not in the next release<<

I look forward to then!

I greatly appreciate all your hard work
James
From: speedy (AL2000)
25 Sep 2017   [#635]
Hi Max
Great excitement and gratitude for the
continuous improvements
Good job....
we look forward to the next .....
Thanks so much ,
have a nice day-
al
From: Karsten (KMRQUS)
25 Sep 2017   [#636] In reply to [#630]
Hello Max,

that's really great - thanks for that big improvement!

Karsten
From: Max Smirnov (SMIRNOV)
1 Oct 2017   [#637]
v.0.96

Added macros Import/Export tool
Fixed Basic/Output remove bug

I desided do not create special file format for macros. All macros will be saved as normal nod-file, and every nod-file you can import as a macro.
If you will try to open saved macro as top-level file all inputs/outputs nodes will be blocked.

Also you can create subdirectory nodeeditor/macros and put there your macros. They will be shown in Macros submenu.
Unfortunately, at the moment I can't scan subdirectories in nodeeditor/macros directory using MoI functions, so I can't create subfolders in macros submenu.

http://moi.maxsm.net/nodeeditor
From: mkdm
1 Oct 2017   [#638] In reply to [#637]
Hi Max.

Thank you very much for all your developing efforts!

With this new features for "Macro" you're doing a great job!!

I would like to find some extra spare time (..it's a hard challenge) to write some sort of "UI Control Panel" for NodeEditor,
with buttons/tabs/expandable sections, all dynamically created,
in order to give a different UI other than menu, that is very uncomfortable.

Do you think is it feasible ?

I stay tuned.

Ciao!
From: Karsten (KMRQUS)
1 Oct 2017   [#639] In reply to [#637]
Hello Max,
thank you very much - a first test shows that every thing works fine. Reusing the macros will give the productivity a boost.

So have a nice evening
Karsten
From: bemfarmer
1 Oct 2017   [#640]
My only experience with MACROS is in Microsoft Excel, where a series of key presses may be recorded, to reduced repetitive tasks.
"pressing the Macro key causes the sequence of key presses to be repeated."

My attempt of a definition of a MACRO in nodeEdit program:

NOTE: These statements are apparently FAULTY...

A MACRO is a group of nodes which have been pre-wired, or pre-assembled, to perform some function, or portion, of a full .nod program.
A MACRO is a building block. Several MACRO building blocks may be combined to make a .nod program. (?)

Rather that build a .nod file from scratch, by selecting individual nodes, and wiring them up, the .nod file may be built in smaller blocks. (?)
A library of pre-defined MACROS may be built up which accomplish common or typical portions of .nod files.
The programmer loads the appropriate MACROS from the MACRO subdirectory, loads any desired single nodes, (?)
and wires up appropriate connections between the MACROS and single nodes.(?)

Example of a super simple MACRO: A Frequency node wired to a Quartz node. One selection versus two selections and one wire and one label change.
I saved Frequency + Quartz as "Clock.nod" to the Macro directory. (Well, it should be exported...)


I guess a MACRO is saved by saving a .nod file to the Macro directory?
I have not managed to load more than one MACRO at a time.
There is a little box which says Macro, and another little box which says Clock...
Clicking on the Macro box loads Max's Macro.
Clicking on the Clock box loads Frequency+Quartz, but Max's Macro disappears...

- Brian
From: bemfarmer
1 Oct 2017   [#641] In reply to [#640]
So Max's CubePts is a macro container, which can be opened.

Double clicking on a macro container also opens it in a new window with a back button.

I cannot open more than one macro at a time...

- Brian
From: James (JFH)
2 Oct 2017   [#642] In reply to [#640]
Hi Brian,

>>I guess a MACRO is saved by saving a .nod file to the Macro directory?....There is a little box which says Macro.....<<

You need for example, to export the macro "cubePts.nod" out of Max's original "macro.nod" file, like so:


then it & others can be imported into a new project like so:


Hope this helps
James

Image Attachments:
macroExport.gif  macroImport.gif 


From: Frenchy Pilou (PILOU)
2 Oct 2017   [#643] In reply to [#642]
About this example CubePtrs.nod

It's only the node "CubePtrs" who is saved or the Node "CubePtrs" + Knob + Slider + OutPut who is saved as "Macro A" ?

Show messages:  1-3  …  564-583  584-603  604-623  624-643  644-663  664-683  684-703  …  904-912