MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-5  …  686-705  706-725  726-745  746-765  766-785  786-805  806-825  …  1846-1859

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

Message 7777.746 was deleted


From: Frenchy Pilou (PILOU)
23 Nov 2017   [#747] In reply to [#746]
Thx
So junction between the 2 versions are not yet made!
Must have two Node editors folders specialized under the hood! :)

And that works on the Beta V4 ?
From: Frenchy Pilou (PILOU)
23 Nov 2017   [#748]
Hum it's not very clear to install! :) (Windows 10 OS )

Does not exist a complete folder ziped "ready to use" ?
From: mkdm
23 Nov 2017   [#749] In reply to [#748]
@You : "...Does not exist a complete folder ziped "ready to use" ?..."

....It's the million-dollar question!!

:)
From: James (JFH)
23 Nov 2017   [#750] In reply to [#748]
Hi Pilou

Unzip attachment and replace "nodeeditor/nodes/extension" folder.
I contains "ExtractEdges" node, so you are good ti go.

<<For the beta V4>>

You will likely encounter error messages attempting to run in V4
It seems that v4 is more stringent in parsing js code.
I could not get "pentakisDodeca&TruncIcosa.nod" to execute.

James
From: Frenchy Pilou (PILOU)
23 Nov 2017   [#751] In reply to [#750]
<< Unzip attachment and replace "nodeeditor/nodes/extension" folder.

Perfect for the V3 (for me it's "extentionS" folder ! ;)
So just one folder to name/rename for use the //node editor or return to Max one!
Maybe a day i will translate all English tittles' nodes in French who are not yet made! :)


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)


Show messages:  1-5  …  686-705  706-725  726-745  746-765  766-785  786-805  806-825  …  1846-1859