MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-14  …  755-774  775-794  795-814  815-834  835-854  855-874  875-894  …  1855-1859

Thread Split: Some posts in this thread have been moved here

From: bemfarmer
5 Dec 2017   [#815] In reply to [#814]
A macro can contain a macro.
- B
From: Frenchy Pilou (PILOU)
5 Dec 2017   [#816]
So Fractal world! :)

Missing a paradigm! :)

Circle is drawn inside the macro, not outside the macro!
What i missed ?


From: James (JFH)
6 Dec 2017   [#817] In reply to [#816]
Hi Pilou

>> What i missed ? <<

Right Mouse Button click on "Out" in macro
select "Objects" (the default is "Numbers", no appropriate for a curve)

Also remove regular "Output" inside macro, as this will create problems.

Hope this helps
James
From: Frenchy Pilou (PILOU)
6 Dec 2017   [#818] In reply to [#817]
Bravo! Excellent!

Now the more difficult will be to not use this marvelous toy before the next year! :D




So the secret was to take "object" on the "output" in the Macro!

From: r2d3
6 Dec 2017   [#819] In reply to [#818]
WOW!

yes, the secrets of the macros are finally discovered!
And you can save macros for reuse.

In the animator11.nod there are a couple of macros inside a macro inside a macro....

for example i made a if/else macro (f.e.: ><180) which i used for different cases...
Once you figured out a funtion -> save it as macro and reuse it for a different case...


Bon Noël <:-)



Image Attachments:
ifelsenod.png 


From: Frenchy Pilou (PILOU)
6 Dec 2017   [#820]
French Translation of the animator11.nod + Mini Manual of a Macro!
http://moiscript.weebly.com/elephant-systegraveme-nodal.html



then Macro / animator11


From: speedy (AL2000)
6 Dec 2017   [#821]
Hello to all
a little exercise that starts
from a very interesting surface
the Oloid -
Some deformations , a wire that starts from
surface structure.... et voilà .....

How many interested people find the file at this link:
http://www.mediafire.com/file/qhvj5752j9y7x3f/Oloid_Bracelet.rar
have a nice evening everybody
alberto
From: Barry-H
7 Dec 2017   [#822]
Hi All,
I have had this error report when pressing run on my test collision nod.
but after I clear the error report the nod file runs ok.
Not sure if it's a bug or my nod file setup ?
The nod takes 2 objects and checks for a collision and if so moves the second object till clear.
Any thoughts ?


Barry











Image Attachments:
Collision.gif  Screenshot (38).png  Screenshot (40).png 


From: r2d3
7 Dec 2017   [#823] In reply to [#822]
For me it looks like there is a value not set in the beginning..
Try to set defaults in the "prototype.onAdded = function()"
From: Barry-H
7 Dec 2017   [#824] In reply to [#823]
Hi Ralf,
are you referring to the Collision.js file ?
It as this at the moment Collision.prototype.onExecute = function()
Cheers
Barry
From: r2d3
7 Dec 2017   [#825] In reply to [#824]
Hi Barry,

i only have the Barry.js which still has the boolean output

Where can i fin the collision.js?

But while developing other extensions i got the same error and i was able to correct this by adding defaults in the onSdded function...

Can you post the collision.js and the nod you playing with?
From: Karsten (KMRQUS)
7 Dec 2017   [#826] In reply to [#824]
Hello Barry,

the Problem is not in your node - it's the Feedback effect of the nodefile itself. The Output of collision becomes, by detours to the Input.

I think that is catched by the nodeeditor to avoid infinity running. A Problem that has to be solved for optimisations or by a node itself.

I think about it, nevertheless we have to ping Max for his opinion.

Have a nice day
Karsten

p.s.: I don't think that you Need a new node - and try to avoid boolean in nodeeditor progamming - Max has made a decission to use numarray for that Look at his logic nodes. At the end it's the same. Only difference you can directly calculate with a result of a logical comperation.

Attachments:
clash.nod


From: Barry-H
7 Dec 2017   [#827] In reply to [#826]
Hi Karsten,
attached are my Barry/Collision node and the Collision.nod file.
It's a work in progress.
Am I using a Boolean in the node ?
Thanks for the clash.nod will try to see if I can use it instead but
not sure how I automate the movement yet.
Cheers
Barry
From: r2d3
7 Dec 2017   [#828] In reply to [#826]
Hi Karsten,

looks like you are right in every point...

Attachments:
collision.nod


From: Frenchy Pilou (PILOU)
7 Dec 2017   [#829] In reply to [#828]
Cool nothing to translate for this one... a miracle! ...
... but how do use it? :D
(Collision tittle is in red (?) )
Must I use also the Barry.js and where i must put it ? Normal folder or extensions ? or...


From: Barry-H
7 Dec 2017   [#830] In reply to [#829]
Hi Pilou,
it's a work in progress at the moment so the final aim is to auto place objects touching or with a given gap.
If you place Barry.js in extensions you will be able to try the Collision.nod.
Draw 2 objects make them overlap and press run ( close error report ) and they will automatically move till they do not overlap.
To reset the quartz node value as to be manually reset to 0.
Cheers
Barry
From: bemfarmer
7 Dec 2017   [#831]
Hi Barry,
I cannot say if "feedback" is a problem, but note that many months ago, near the beginning of NodeEditor,
I read a post in Grasshopper, of a way to do "feedback," wiring,
which as far as I know, is not normally possible...
Back then, I think I posted a brief sentence about it...
- Brian

ps: General information: The barry.js file goes in the extensions folder of nodeeditor.
From: Unknown user
7 Dec 2017   [#832]
Hi all.
My little contribution in the NodeEditor.
Added: Arc3pt, ArcCenter, Circle3pt, CircleDiameter, Ellipse3pt, EllipseCenter.
Allowed: node - test, and me to criticize :)
Vladimir.



From: James (JFH)
7 Dec 2017   [#833] In reply to [#832]
Hi Vladimir

Your node contributions are great & long overdue.

It is hard to see how they could be improved upon,
except maybe compiling them into meta-nodes with RMB sub-options.
Also it would be a real improvement if arcCenter node emulated the tool's function
of having "start point" & "angle" options"




Nevertheless, as they are, they will be extremely useful,
so thank you

James

PS one thing you should probably consider is putting them under
their own menu heading "Curves2" below the line.

It has been agreed practice that Max's nodes are sacrosanct,
& extension node are kept separate.

Image Attachments:
ArcMetaNode.png 


From: Frenchy Pilou (PILOU)
7 Dec 2017   [#834] In reply to [#831]
About collision :nothing arrives! (collision node is not yet red ! :)

Must i "name" each object ? These can be volumes ?

When you say put Barry.js inside nodes\extensions it's inside or outside
...\ui\nodeeditor\nodes\extensions\libs ?

Show messages:  1-14  …  755-774  775-794  795-814  815-834  835-854  855-874  875-894  …  1855-1859