MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-11  …  692-711  712-731  732-751  752-771  772-791  792-811  812-831  …  1852-1859

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

From: Frenchy Pilou (PILOU)
23 Nov 2017   [#752]
Alas seems not the same for the Truchet.nod above! I keep the James one above:)
Some nodes stay in "red"! i have made some try with objects.js, objects2.js (must they live bother, kill one, rename one ?...)
but without result!
So a new zip "extensions" package (or more) will be profitable for not lose too much times and headaches for old brain! :)
From: James (JFH)
23 Nov 2017   [#753] In reply to [#752]
Hi Pilou

<< Alas seems not the same for the Truchet.nod above!>>

For me "Truchet.nod" works in both v3 & v4 with extensions folder replacements:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.750

Don't worry about "objects2.js", it is already included in extensions folder.

Try downloading "Truchet.nod" again. It is possible it has been updated
since the version you originally downloaded.

http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.731



It is curious because I have found that most of my NE experiments
will not run in v4. For example my earlier experiment "spaceFrames2.nod"
give this runtime error message:



http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.739
So, we know that none of the nodes used in "Truchet.nod" cause problems
and at least one or more of the culprit nodes is in the macro of "spaceFrames2.nod".

James

UPDATE: I tried pulling nodes out of macro and rebuilding on main tier, to see if
macros themselves were the issue. But no, I still recieved the same error alert.

Image Attachments:
spaceFrame2.gif 


From: Max Smirnov (SMIRNOV)
23 Nov 2017   [#754] In reply to [#753]
Hi James

could you send me this nod-file and all files from your extensions folder?
From: James (JFH)
23 Nov 2017   [#755] In reply to [#754]
Hi Max,

Please find files attached.
FYI I'm a mac user (10.13.1).

Thanks
James
From: Max Smirnov (SMIRNOV)
23 Nov 2017   [#756] In reply to [#755]
Hi James,

this error caused by Infos/GetBBoxes BoundingBoxes (infonodes.js)
line 477: bbox.pushPoint(input.item(i).getBoundingBox().center);

You need to set boolean parameter for getBoundingBox() function
change this line to: bbox.pushPoint(input.item(i).getBoundingBox(false).center);
From: James (JFH)
23 Nov 2017   [#757] In reply to [#756]
Thanks Max

That has fixed the problem.
I have attached "extension.zip"
with fixed infonodes.js included

Thanks again
James

PS Attempt to run "pentakisDodeca&TruncIcosa.nod" (attached)
gives the error message in red box, however does generate result
albeit with pentakisDodecahedron in default colour rather than red.

Generally, I get the main error alert showing when navigating in
NE interface.

Hope this helps!

Image Attachments:
scriptError.gif 


From: Frenchy Pilou (PILOU)
23 Nov 2017   [#758]
About Truchet above
Seems it's these red nodes who give problem! (Windows 10, NE modified, Moi V 3)


<< Also requires most recent NE mod (Karsten's cleanup menu)
Hum hum ... so need them ? Give me a zip package! :)
If i have not an easy way (for me), how do you want i can help for other French people! :)


From: Michael Gibson
23 Nov 2017   [#759] In reply to [#756]
Hi Max & James,

re:
> You need to set boolean parameter for getBoundingBox() function
> change this line to: bbox.pushPoint(input.item(i).getBoundingBox(false).center);

This is a bug where v4 has that marked as a required argument while v3 had it as optional with a default value of false. I've updated it so it will behave the same as v3 in the next beta.

- Michael

Message 7777.760 was deleted


From: Frenchy Pilou (PILOU)
23 Nov 2017   [#761] In reply to [#760]
hum hum :)

After some reinstalls of all ! (Windows 10 - V3 ) with editor.js & last editor.css

I have that who works fine for the Penta node...but not for the truchet.nod !

Some different authors for differents trees for differents versions goes naturally to some mess! :)

I dont understand why each new node is not posted with its entiere nodeeditor folder ?
That avoid all this mess for simple user! Not ecologic but efficient! :)


From: James (JFH)
23 Nov 2017   [#762] In reply to [#761]
OK Pilou, I've attached my NE directory.
Let me know if problems persist.

James
From: Max Smirnov (SMIRNOV)
23 Nov 2017   [#763] In reply to [#761]
Hi Pilou

It's a bad idea to keep old files in extensions directory.
NE loads all extensions automatically. So it loads basicFunctions first, and then loads basicFunctionsOLD which replaces a new functions with old ones.
From: James (JFH)
24 Nov 2017   [#764] In reply to [#763]
Hi Max & Pilou

<< It's a bad idea to keep old files in extensions directory.>>

Sorry, that's on me. I had already removed it before uploading complete NE folder.

http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.762

Pilou, did my NE folder work for you?

James
From: Frenchy Pilou (PILOU)
24 Nov 2017   [#765] In reply to [#764]
@James

Bravo!
Perfect and the magic is that : Nodes's titles & Functions (that I have yet translated) are preserved!
What is this prodigy ? You have a French version or Max put it inside it own code ?

Excellent! V 3 : Truchet & Dodeca & truncated... ok !



For V4 Truchet OK ! Dodeca & truncated...
a little bug! And only one volume calculated!

Ps A little graphic glitch "?" inside blue square ! (surely an image missing inside the data image of the V4)


From: speedy (AL2000)
24 Nov 2017   [#766]
Friends,
yesterday, November 23 was the Fibonacci
day (11/23 as the numbers contained in its progression),
with pride I can say a "Great Italian "
I send a small tribute to this ingenious mind-
File this link:
http://www.mediafire.com/file/loyv9703apml409/Fibonacci2.rar
To all script experts, I suggest you enter
a series of Fibonacci (see tool Progression ) -
Have a Great Weekend to all
alberto
From: mkdm
24 Nov 2017   [#767] In reply to [#766]
Hi AL (Ciao AL!)

@You : "...with pride I can say a "Great Italian "..."

YES!!!!

Ciao a tutti! (Hi everyone)
From: Mauro (M-DYNAMICS)
24 Nov 2017   [#768]

Image Attachments:
imagesHPIH1ELD.jpg 


From: r2d3
30 Nov 2017   [#769]
Just playing with nodes i came to a funny thing....





This thing not only moves - it collects the incoming points to draw a curve...



Because i was not able to do this with a existing node i made my own... Stream2Array (just put stream.js into the extension folder and you will find it listed under ArraysExt)

it works on MoiV4 and @y@0.99

This is my first extension so HANDLE WITH CARE ;-)

Perhaps someone can add some physics to this :-)

Ralf

EDIT:WOW in 3D! Or is it 2.5D? >>pentagraf3D.nod

Attachments:
pentagraf.3dm
pentagraf.nod
pentagraf3D.nod
stream.js

Image Attachments:
pentagraf.gif  pentagraf.png 


From: Frenchy Pilou (PILOU)
30 Nov 2017   [#770] In reply to [#769]
Genious!

I will test the translation on an extension!

Seems perfect !
You must precise precise inside extensions/ Libs/...

Ok for the translation (not for the nodes because I believe that I have not used the last version of Max Smirnov! )

I have 2 red nodes! :)
SplitPts & ArrayLogger
Does these 2 nodes are from the nodeeditor modified and not from the native original?


From: mkdm
30 Nov 2017   [#771] In reply to [#769]
Thanks a lot r2d3!!!

Huge...great...amazing contribution!!!

Thanks again :)

Show messages:  1-11  …  692-711  712-731  732-751  752-771  772-791  792-811  812-831  …  1852-1859