Nodebundle for playing with nodes
 1-11  …  92-111  112-131  132-151  152-171  172-191  …  1852-1859
Thread Split: Some posts in this thread have been moved here

Previous
Next
 From:  mkdm
7777.132 
Hi everyone.

I repeat here the same message that I wrote in the topic "Placing spheres on knots/vertices",
because this is the right place.

Here's the version v.0.85mod5 of "Project Elephant" : http://take.ms/Pxp6A

It's almost identical to version v.0.85mod4 posted by Karsten, with the addition of the "objectsExt.js" file which includes
the "SelectedObjExt" node that I wrote some times ago.

This node is an updated version of the standard "Selected" node, which allows to specify the order of selected objects : "By Selection" or "By Creation".

It's very useful in order to obtain different elaborations of the same data.

Best,

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
7777.133 
Hi everyone and good evening.

I'm planning to write a new utility node for the Project Elephant's "pointArray" structure,
but I don't know if already exists something similar within the latest official Max's v.085 version
or within the latest community version v.0.85mod5 (downloadable here http://take.ms/Pxp6A)

So, I tell you what I want to do.
First of all I say that this new node should be based on the great Max's "MathPts" node.
That is, in order to write this new node I will use most of the "MathPts" code, plus some new ad-hoc javascript code.

So, this shoud be the new node : "MathTrasformation" and here's in brief what it should do :

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


I repeat, I don't know if already exists something similar, but I think that this "MathTrasformation" node would be a very very powerful tool
in order to do almost infinite kind of PointArray eleborations.

As I said many times in my previous posts, unfortunately my math skills are very very basic,
so in order to write this new node I will leverage only on my "creativity and intuition" :)

If any of you want to write this same node I will be very happy to share the results.

Have a nice day.

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
7777.134 
Max's Array3D script?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
7777.135 In reply to 7777.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)

EDITED: 14 Nov 2016 by MKDM

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 7777.136 deleted 15 Nov 2016 by MKDM

Previous
Next
 From:  mkdm
7777.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,

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  speedy (AL2000)
7777.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

Image Attachments:
Size: 303 KB, Downloaded: 70 times, Dimensions: 1920x1080px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  speedy (AL2000)
7777.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

Image Attachments:
Size: 328.3 KB, Downloaded: 66 times, Dimensions: 1920x1080px
Size: 436 KB, Downloaded: 102 times, Dimensions: 1920x1080px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
7777.140 In reply to 7777.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!

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  speedy (AL2000)
7777.141 
Yes Marco
I refer to PatternSelArray etc. etc.
I saw your name in the karsten's xls file info
al
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
7777.142 In reply to 7777.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
7777.143 In reply to 7777.139 
Hello Al,

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

Have a nice evening
Karsten

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  speedy (AL2000)
7777.144 In reply to 7777.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:
Size: 378.7 KB, Downloaded: 71 times, Dimensions: 1920x1080px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
7777.145 In reply to 7777.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:-)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
7777.146 In reply to 7777.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.

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  speedy (AL2000)
7777.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-
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  speedy (AL2000)
7777.148 In reply to 7777.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Karsten (KMRQUS)
7777.149 In reply to 7777.147 
Hallo Al,

It's been a year since Max's first version!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  speedy (AL2000)
7777.150 
Karsten
on second thought, after I responded, I arrived
to understand ..
(better late than never)
al
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
7777.151 In reply to 7777.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,

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-11  …  72-91  92-111  112-131  132-151  152-171  172-191  192-211  …  1852-1859