MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-12  …  93-112  113-132  133-152  153-172  173-192  193-212  213-232  …  1853-1859

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

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,
From: James (JFH)
16 Nov 2016   [#155] In reply to [#154]
Hi Marco

Thank you for these new nodes. To familiarise myself with them, I re-did Max's Twist exercise
using spliPts/PointExt. A Dynamic Duo opening up limitless possibility.

Thanks again
-James

UPDATED to run on most recent NE (Jun18)

Image Attachments:
TWIST2.jpg 


From: mkdm
17 Nov 2016   [#156] In reply to [#155]
Hi James.

You're welcome!

You did a very interesting nod file.

I hope that one day, someone more skilled than me in math, want to write the "ArrayMathTrasformations" node that
should pull all these stuff together (Math node + PointExt) into a single and faster node ;)

Have a nice day,
From: speedy (AL2000)
17 Nov 2016   [#157] In reply to [#156]
Hi Marco
Cool Node... PointExt ,
well done , clarifies the question which I put to Karsten
best
al
From: speedy (AL2000)
17 Nov 2016   [#158]
Hi Karsten and Friend
By continuing the exercise CP-Catenary , I have another question from ports of;
If you wanted to split the 30 curves obtained
with 10 points each
and then reuse these 30 groups of 10 pt each
to draw as many curves (each of 30 pt)....
see attached picture ( Rhino -Gh)
Is it possible to do it ?
which nodes can I use?
many thanks
al

Image Attachments:
CP-Catenary continued-2.jpg  CP-Catenary continued.jpg 


From: mkdm
17 Nov 2016   [#159] In reply to [#155]
Hi James (again)

Here's a little upgrade of your Twist2 nod file.

Here's the Twist3.nod : http://take.ms/PcK8H

And here's some screenshot : http://take.ms/hUTiL and http://take.ms/FR9oz

I think that would be a good thing if we put at the end of all our posts with nod files this notation :
"These nod files requires <node editor version name> downloadable at <url>"

So...
These nod files requires "nodeeditor_0_85_mod6" that contains also my new "PointExt" node downloadable at http://take.ms/RfzWH

Best,

- Marco (mkdm)
From: James (JFH)
17 Nov 2016   [#160] In reply to [#159]
Hi Marco,

Cool update .nod file.

>>i think that there's a Moi BEFORE Max's contribution and a Moi AFTER Max's contribution.<<

I fully endorse your concept of the "Maxian Calendar" as we enter year 2 AE (Anno Elephantus)

-James
From: Karsten (KMRQUS)
17 Nov 2016   [#161] In reply to [#158]
Hello Al,

I'm working on that at the moment. We need a multiple pathArray for that. It was clear for me, that you will ask and I agree with you it's a elementary function. But there a 4 problems at the moment: time, the performance of the pathArray, knowledge of JS and knowledge of the elephants internals. Performance:pathArray could be replaced by a node that only gives unoriented points - the rest is still difficult.

Have a nice day
Karsten
From: Karsten (KMRQUS)
17 Nov 2016   [#162] In reply to [#161]
Hello Al,

have a look in mPathArray and switch under Infos to "cross"- connect your curves and connect the output to Curves\Curve interpcurve ...
The node is very untested!!!
Have a nice day
Karsten

Attachments:
points2.js


From: speedy (AL2000)
17 Nov 2016   [#163] In reply to [#162]
Hello Karsten
Excellent, it works fine
you are a " Maestro"
many thanks
have a nice afternoon
al

Image Attachments:
CP- Solved Catenary mPath_ArrayNode.jpg 


From: mkdm
17 Nov 2016   [#164]
Hi everyone,

As agreed in previous posts, I upload here the file "nodes_V0.85_mod6.xls",
containing an updated version of the infos of all my nodes with the new "Basic/PointExt" (column Authors : Marco (mkdm)).

Here's the file : http://take.ms/2jz7Q

This xls file relates to "nodeeditor_0_85_mod6" downloadable at http://take.ms/RfzWH

P.S. Karsten, when you will consider to be stable the new "mPathArray" node contained into points2.js file
(downloadable at post : http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.162),
please update a new "nodes_V0.85_mod7" version of Project Elephant and create the new "nodes_V0.85_mod7.xls" file.
Thank you.

Best,

- Marco (mkdm)
From: speedy (AL2000)
18 Nov 2016   [#165]
Hello Friends
It ends another week .....
another test of Boolean Intersect
works fine
Have a happy weekend to all
best
al

Attachments:
CP_Inter.nod

Image Attachments:
CP-Inter.jpg 


Message 7777.166 was deleted


Message 7777.167 was deleted


From: Karsten (KMRQUS)
18 Nov 2016   [#168] In reply to [#167]
Hello James,

the flowObj node have to be changed to multiprocess. At the moment - only one target. The second problem is, that you try to use a rectangle as base surface. Try using SubDiv/selCenterPlane. I will have a look, to change the node to multiprocess in the next days.

Have a nice day
Karsten
From: Karsten (KMRQUS)
18 Nov 2016   [#169] In reply to [#168]
Hello James,

very untested!!!

Have a nice day
Karsten

p.s.: Very interesting experiments here - thanks to all!

Attachments:
PanelShell.nod
transform2.js


From: James (JFH)
18 Nov 2016   [#170] In reply to [#169]
Hi Karsten,

One day I would like to buy you a beer!

Thanks again
-James

Image Attachments:
panelWeave.jpg 


Message 7777.171 was deleted


From: James (JFH)
19 Nov 2016   [#172] In reply to [#169]
Hi Karsten,

I have analysed the code of your new "mFlowObj" node in an attempt to create a "mLoft" node
that can multiprocess lofts on multiple targets. I'm afraid that the task is beyond me.

If & only if this is a copy, paste & minor edit to the code you have already written for "mFlowObj" node,
and you can see the benefit of a "mLoft" node's creation, I would appreciate your expertise.

Thanks in advance, and for all you have done for me.

-James

Show messages:  1-12  …  93-112  113-132  133-152  153-172  173-192  193-212  213-232  …  1853-1859