MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-14  …  75-94  95-114  115-134  135-154  155-174  175-194  195-214  …  1855-1859

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

From: mkdm
13 Nov 2016   [#135] In reply to [#134]
Hi bemfarmer and thanks a lot for the suggestion!!

Yes!!!
I mean definitely something very close to a special version of Array3D script translated into a node,
with the opportunity to include into every single math formula, a reference to the fields of the PointArray structure.

For example, this could be an hypothetical math formula applied to "X" values of each array element : "(sin(ptY) * AngleX)"

Where "ptY" and "AngleX" are special names that refer to "ptx" and "AngleX" field of the PointArray structure.

The node I'd like to try to write should include also the opportunity to use additional input fields like the "Basic->Math" node.

Thanks and have a nice day.

P.S. A little correction : Unlike the "Array3D" script, this new node, probably named "ArrayMathTrasformations",
will not generate an array of pointArray, but simply, given 1 input pointArray it will returns 1 transformed pointArray as output.

- Marco (mkdm)

Message 7777.136 was deleted


From: mkdm
15 Nov 2016   [#137]
Hi everyone and good morning.

(I deleted an recreated this post because I made a mistake in previous xls file)

As agreed in a previous post, I upload here the file "nodes_V0.85_mod5.xls",
containing an updated version of the infos of all my nodes (column Authors : Marco).
I have slightly modified the layout of the previous file "nodes_V0.85_mod4.xls" created by Karsten, in order to get more columns and a better reading.

If you don't like this layout, you can freely change it, as long as you don't remove the additional columns.

This is the file "nodes_V0.85_mod5.xls" : http://take.ms/p25l2

Best,
From: speedy (AL2000)
15 Nov 2016   [#138]
Can someone explain to me this strange behavior
I get , by inserting Interpolated on the Math Node Point? ;
the same interpolated placed on simple Node Point
it is OK......
where am I wrong?
I do not understand
best
al

Attachments:
CP-Test Range on Math Point.nod

Image Attachments:
CP-Test Range on Math Point.jpg 


From: speedy (AL2000)
15 Nov 2016   [#139]
( italian)
Ciao Marco , ti rivolgo questa domanda , dato che sei il
creatore dei Nodi in questione....

è possibile concatenare in uscita tre gruppi di punti
ad esempio :
Gruppo A - n°30 pt
Gruppo B- n°30 pt
Gruppo C- n°30 pt
ed ottenere un raggruppamento di n° 3 entità , una per gruppo,per
poi collegarli come input ad un Nodo Curve ed avere come risultato finale
n°30 Curve ?
Ti allego un file ed un Immagine dell'operazione eseguita con Rhino e Gh
Credo sia assolutamente necessario per lo sviluppo del sistema
iniziare a pensare a collegamenti " multipli " tra input.....
grazie in anticipo per i chiarimenti
al

(English)
Hi Marco, you address this question, since you're the
creator of the nodes in question ....

Can you concatenate output three groups of points
for instance:
Group A - n° 30 pt
Group B - n° 30 pt
Group C- n° 30 pt
and obtain multiple groupings of entities n ° 3, for a group, for
then connect them as input to a Node Curve and have as a final result
n° 30 Curve?
I am attaching a file and a picture of the operation carried out with Rhino and Gh
I think it is absolutely necessary for the future development of the system
start thinking about "multiple" links between inputs .....
thanks in advance for clarification
al

Attachments:
CP-Catenary Structure.nod
CP_Catenary.gh

Image Attachments:
CP-Catenary Structure-weave and order point.jpg  CP-Catenary weave and order Data Rhino GH.jpg 


From: mkdm
15 Nov 2016   [#140] In reply to [#139]
Hi Al,

Are you referring to "PatternSelArray" node or "ConcatPts" and "IdxSelect" nodes.

I wrote only the first one.

Unless you are referring to a different "Marco".

I'm "Marco (mkdm)" from Italy.

Let me know.

Ciao!
From: speedy (AL2000)
15 Nov 2016   [#141]
Yes Marco
I refer to PatternSelArray etc. etc.
I saw your name in the karsten's xls file info
al
From: Karsten (KMRQUS)
15 Nov 2016   [#142] In reply to [#139]
Hello Al,

Max has already integrated all necessary features (Hats off!!!). Also the node curve is ready for that. The only node is needed, is the union node for that. I have investigated the internal things and I believe that I can make a node for that. A draft with bugs is running. Such a node needs the support of the internals of the pointArray data type. Especially the xlength (number of points for each curve), ylength=1 and zlength (number of points in each array = number of curves)seems to drives the evaluation.

Have a nice evening
Karsten
From: Karsten (KMRQUS)
15 Nov 2016   [#143] In reply to [#139]
Hello Al,

please test the node. I hope it fulfill your needs.

Have a nice evening
Karsten

Attachments:
CP-Catenary Structure.nod
points2.js


From: speedy (AL2000)
16 Nov 2016   [#144] In reply to [#143]
Hi Karsten
solved brilliantly you are great.. with you do not need too many words,
many thanks-
Shortly I will send you some other test on Fillet and Extract , they
continue to give problems
they are not maintained links at the reopening of the file ...
I hope you manage to improve them
Another wish ...
Sweept with multiple Rail and Profile....
Is it too much meat on the fire .......???
best
al

Image Attachments:
Catenary solved.jpg 


From: Karsten (KMRQUS)
16 Nov 2016   [#145] In reply to [#144]
Hello Al,

Please send examples of the problems.

>>>>Is it too much meat on the fire .......??? At the moment yes! Nevertheless I will have a look. The Extract and Fillet stuff isn't easy to handle, because the API isn't made for that. Some of my nodes have to be improved, regarding to the workflow. And thats the point we have to look to the pathArray and multiple profiles for sweep. To handle that, I have to have a deeper understanding of the node editors internals. That I don't have at the moment. I think Max avoids every comment and long names in the code for a better performance. The internals have a very elegant and tricky structure (for the little parts I understood), but for me It's sometimes hard to understand the rest of djungle of characters, braces and numbers:-) Anyway - some things are already possible;-) The rest will come.

Have a nice day
Karsten

p.s.: Damn, we missed the elephant's birthday:-)
From: mkdm
16 Nov 2016   [#146] In reply to [#139]
Hi AL and good morning.

I'm glad to see that Karsten has already resolved your request with this reply : http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.143
I had no doubt!

Frankly speaking, as I already told many times, math is absolutely NOT my field of software developing,
and Project Elephant can really grows only with people like the (big) Max, Karsten, James (JFH), you and a few more people
whose name I sincerely don't remember (I'm sorry).

In fact, the nodes I have written (PatternSelectArray, ArrayShuffler, ArrayFlipper, ArrayLogger, SelectedObjExt) and some other
nodes of which I spoke in some previous posts (Boolean node for PointArray and ArrayMathTrasformations) are only ideas
that not requires math knowledge and are simply a bunch of JS code assembled using the code of other nodes,
a brief reading to Moi's Api docs (http://moi.maxsm.net/api/) and, ultimately, my intuition :)

Excluding some time off, spent playing with 3D modelling, really I don't have much free time to dedicate to Project Elephant developing.

So, happy coding to you and the other guys and best wishes for all :)

Have a nice day.
From: speedy (AL2000)
16 Nov 2016   [#147]
Hi Karsten
my friend, do not think I do not understand your
difficulties, in any case, let say
and really appreciated what you're doing
to refine the System
He works quietly, and have patience if some times
take for granted the achievement of certain goals
Good Work
Have a nice day
al

Ps - I do not understand what you mean by The Elephant birthday
patience, maybe I will explain better, as you will have understood
I seriously problems with the English language-
From: speedy (AL2000)
16 Nov 2016   [#148] In reply to [#146]
(Italian)
Ciao Marco
sappi che anche il tuo impegno è di grande aiuto,
credo che ognuno di noi debba dare il meglio di
quello che sa fare...
Buona giornata
al

(English)
Hello Marco
Also know that your efforts is a big help,
I think everyone should give his best
what she does ...
Have a nice day
al
From: Karsten (KMRQUS)
16 Nov 2016   [#149] In reply to [#147]
Hallo Al,

It's been a year since Max's first version!
From: speedy (AL2000)
16 Nov 2016   [#150]
Karsten
on second thought, after I responded, I arrived
to understand ..
(better late than never)
al
From: mkdm
16 Nov 2016   [#151] In reply to [#149]
Hi Karsten and everyone!

> "It's been a year since Max's first version!"

Thank you very much for the reminder!!

These are the main and fundamental steps of Project Elephant's history :

1) Thread "grasshopper for moi" 26 Oct 2015 (http://moi3d.com/forum/index.php?webtag=MOI&msg=3145.23)
Max has written :
"Today I wrote a test-script which can create and manipulate objects by using html5 graphics interface.
Everything works great. Html5 canvas, window and mouse events e.t.c.
So it is technically possible to write the grasshopper clone for MoI."

2) Thread "grasshopper for moi" 28 Oct 2015 (http://moi3d.com/forum/index.php?webtag=MOI&msg=3145.28)
Max has written :
"I've found great node-based editor! Litegraph.js
It's fast, small and free."

3) Thread "grasshopper for moi" 28 Oct 2015 (http://moi3d.com/forum/index.php?webtag=MOI&msg=3145.35)
Max has written :
"First real test. It works pretty good."

4) Thread "Parametric design in MoI?" 19 Nov 2015 (http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.18)
Max's YouTube video : MoI nodeeditor preview

Thanks to Michael, Moi3D is a wonderful software but i think that there's a Moi BEFORE Max's contribution and a Moi AFTER Max's contribution.

I have nothing more to say.


Best,
From: speedy (AL2000)
16 Nov 2016   [#152]
Hi Karsten and Friends
a little test with the new Node
SplitPts, which I have used in an intuitive manner,
Do you wonder if you can get me some small example
how to use it
The outputs that you've highlighted in the attached image
What return?
thanks in advance
al

Ps-On this test, Blend is stable.......
try to move the Knob points you'll get a nice performance
of Blend Surf

Attachments:
CP-SplitPts.nod

Image Attachments:
CP-SplitPts and Blend-2.jpg  CP-SplitPts and Blend.jpg 


From: Karsten (KMRQUS)
16 Nov 2016   [#153] In reply to [#152]
Hallo Al,

the pointarrays that Max has designed are not so simple as it looks - welcome to the internals. Max choosed so called Euler angles (roll, nick, gear ) and a scale component to describe and transport also frames and scale factors. The node isn't made for the typical work - its more a possibility to make some vector math operations (mathematical surgery). So it is possible to read knots/nodes from fea files (CSV-Files node) and also read a e.g. displacement field of knots. With the split node you can add the components of the displacement to the components of the base knots and display the deformed knots - or maybe something else. I've made it for some test with fea stuff (placing spheres ...).

Have a nice evening
Karsten
From: mkdm
16 Nov 2016   [#154]
Hi everyone.

I have written a new simple and useful node : "PointExt" contained into the file "basicExt.js".

It's almost identical to "Basic/Point" node and the the only difference is that my "PointExt"
exposes also the others PointArray's properties, that is AngleX, AngleY, AngleZ and pSize.

Using the great "Points2/spliPts" node (many thanks to its author) and my "PointExt" node I was able to "mimic" the behavior
of the node of which I spoke in some previous posts, that is, the node "ArrayMathTrasformations" that should do these things :

code:
- Input :
     - PointArray
     - Math formula to apply to "X" values of each array element
     - Math formula to apply to "Y" values of each array element
     - Math formula to apply to "Z" values of each array element
     - Math formula to apply to "AngleX" values of each array element
     - Math formula to apply to "AngleY" values of each array element
     - Math formula to apply to "AngleZ" values of each array element
     - Math formula to apply to "pSize" values of each array element

- Output :
    - The resulting PontArray

With the opportunity to include into every single math formula, a reference to the fields of the PointArray structure.


Here's the new nodeeditor_0_85_mod6 archive : http://take.ms/RfzWH that contains also my new "PointExt" node.

Here's a brief video : http://take.ms/zJDVN

And here's the .nod file : http://take.ms/WHASK

Performances are rather weak but I think that with all job done in one single node (ArrayMathTrasformations) things would improve.

Best,

Show messages:  1-14  …  75-94  95-114  115-134  135-154  155-174  175-194  195-214  …  1855-1859