MoI discussion forum
MoI discussion forum

Full Version: Node Wish List

Show messages:  1-11  …  192-211  212-231  232-251  252-271  272-291  292-311  312-331  …  412-425

From: Frenchy Pilou (PILOU)
17 Jan 2022   [#252] In reply to [#251]
Else you have this free Nodes prog online :)
https://cables.gl

From: Psygorn (DRILLBIT)
18 Jan 2022   [#253] In reply to [#252]
Interesting! and this online Nodes prog could export too?
From: Frenchy Pilou (PILOU)
18 Jan 2022   [#254] In reply to [#253]
I suppose yes! ;)
"Easily export your piece of work at any time. Embed it into your website or use it for any kind of creative installation."


From: Psygorn (DRILLBIT)
20 Jan 2022   [#255] In reply to [#254]
Ok, thank you for the link.
From: wayne hill (WAYNEHILL5202)
11 Mar 2022   [#256]
I am attempting to simulate the Explodemove of two Voroni patterns extruded as Pilou's demo below, but with a new node on the NE (node editor, elephant some call).

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

The problem that is happening with my NE code is, everything is exploding when it should stay as a solid when moved.

If the objects are defined and applied, then the explodeMove is executed from the command line, it works fine.

The factory API for explodeMove is being guessed at by trial and error. Mostly error.

factory('explodemove', objects, distance, point);

Is there an additional parameter that says to keep the objects solid and not explode?

Thank you,
Wayne

Attachments:
explodeDemo.nod
ExplodeMove.js


From: wayne hill (WAYNEHILL5202)
11 Mar 2022   [#257] In reply to [#256]
Here are the differences between the two results.

The command line keeps all the objects together.
The NE code takes all the solid objects and separates them.

Image Attachments:
Explode with CommandLine.gif  Explode with NodeEditor code.gif 


From: Michael Gibson
11 Mar 2022   [#258] In reply to [#256]
Hi Wayne, inputs for the ExplodeMove factory go like this:

Index 0 : "Objects" - object list of objects to explode.
Index 1: "Scale factor" - numeric value for scale factor.
Index 2: "Origin" - optional origin point for scaling.

- Michael
From: wayne hill (WAYNEHILL5202)
11 Mar 2022   [#259] In reply to [#258]
Hi Michael,

Thank you for the quick reply. The input parameters you provided are as expected. This leads to additional code is required to filter the objects types and keep the closed objects together. Back to coding...

Thank you,
Wayne
From: bemfarmer
13 Mar 2022   [#260]
Draft of a 3D log spiral node.
For 2D, set zFactor to zero.
This is just an alpha version with little testing.
I want to add arcLength output...
(Code came from powerConeSpiral script.)

- Brian

Attachments:
LogSpiralALPHA.zip


From: wayne hill (WAYNEHILL5202)
13 Mar 2022   [#261] In reply to [#257]
Ok, I had to do some deep searches for an answer to my problem. Found the solution to my objects exploding in a rarely referenced documentation by Max Smirnov.

Here he explains the essence of the multi-Process syntax for a node setup:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.395

My solution is to simply add a + to the Long mode so the array is processed as one element.

Wow, Thank you Max for that post!

Wayne

Attachments:
ExplodeMove.js


From: wayne hill (WAYNEHILL5202)
13 Mar 2022   [#262] In reply to [#261]
Final result of solution:

Image Attachments:
Explode with NodeEditor code2 Fixed.gif 


From: bemfarmer
13 Mar 2022   [#263] In reply to [#261]
Good find Wayne.

Was wondering what Lont+ meant.
(I did read that post by Max 5 years ago, but never really grasped it.)

Did a slight upgrade of alpha logSpiral node.
But see that Karsten? already did a curve length node.
So (at least some?) MoI curves have a .length property, so I do not have to re-calculate the arcLength...

- Brian

image host

Attachments:
LogSpiralAlpha2.zip


From: Frenchy Pilou (PILOU)
14 Mar 2022   [#264] In reply to [#262]
Cool adaptation! :)
From: WN
14 Mar 2022   [#265]
My old experiments.

Attachments:
1.nod

Image Attachments:
1.PNG 


From: Frenchy Pilou (PILOU)
14 Mar 2022   [#266] In reply to [#265]
Cool try! :)
From: bemfarmer
16 Mar 2022   [#267]
As per Barry's suggestion, here is a kludged together Macro, using the Concat node, renamed, to enable the creation of a macro node with several lines of text.

Highlight the completed text macro in the nodeeditor canvas, and EXPORT it to the Macro directory, with desired name.
Saving it saves the DocText macro as a node program, so Loading it with Load erases the current canvas screen.
The DocText macro may be entered into a new screen through the right click Macro menu.
Do NOT get the DocText macro with the Load button.
Saving it saves the DocText macro as a node program, so Loading it with Load erases the current canvas screen.
The Macro menu seems to lack a scrolling bar, so space may be limited???

This whole Macro Save vs Export vs Load, versus macroLoad is confusing. There should be a SaveMacro button, and a LoadMacro button? And Macro scroll?
Also, every node Program would need to have its own text macro saved???

Well it is an experimental kludge...I cannot spend any more time on it.

I'm sure Max could do something really good...

- Brian

image host

Attachments:
DocTextTest4.zip


From: bemfarmer
16 Mar 2022   [#268]
A few simple tests:
It seems that only one master DocText Macro is needed.
The Macro can be right click MacroSelected to the canvas multiple times, and each canvas copy can have its text modified in different ways, and the canvas .nod program saved in a node program.

But the modifications permute the order of the text lines, which is not good.

- Brian

Edit: Macro Import can import the DocText file from some other directory.

Note, the order of the text lines can be changed by Max' addition a few years ago of the ability to Alt+Drag the input Dots to the Macro. (I had forgotten this.)
From: James (JFH)
16 Mar 2022   [#269] In reply to [#268]
Brian & Barry,

Litegraph.js the foundation for NodeEditor contains a "Panel" node (see image below),
which I imagine is for notes within a node circuit. Unfortunately it does not appear to be functional.



Litegraph demo can be found here:
https://tamats.com/projects/litegraph/editor/

James
https://www.instagram.com/nodeology/

Image Attachments:
litegraph_Panel.jpg 


From: bemfarmer
16 Mar 2022   [#270] In reply to [#269]
Thank you James.
So I finally found the WidgetPanel code here:
litegraph.js zip is at github.

litegraph.js-master>src>nodes>interface>WizardPanel().

It states "Non interactive panel".
So my guess is that it is just a pretty box, which does not have any text ability. (???)
There are a couple of other programs using litegraph, that may use the box, with additions, to display graphics(?)

- Brian
From: bemfarmer
16 Mar 2022   [#271] In reply to [#270]
There is a LiteGraph used in blokist.gitlab.io, but I cannot find out where to download it. gitlab site does not recognize blokist.

- Brian

Show messages:  1-11  …  192-211  212-231  232-251  252-271  272-291  292-311  312-331  …  412-425