MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-8  …  349-368  369-388  389-408  409-428  429-448  449-468  469-488  …  1849-1859

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

From: bemfarmer
5 Jun 2017   [#409] In reply to [#408]
Hi Barry,
I'm too much a novice to help now, but will study on it after work.
You must be close.
It is nice to modify something that already works...

- Brian
From: Barry-H
5 Jun 2017   [#410] In reply to [#409]
Hi Brian,
yes please have a look.
When I checked the outputs of N,P1,P2 i'm not getting any value.
So the formula's are not working and I can't find something similar to work to.
Anyway it's a challenge to learn more.
Thanks
Barry
From: Karsten (KMRQUS)
5 Jun 2017   [#411] In reply to [#408]
Hello Barry,
starting with node programming isn't easy, but you have started it already - congratulation and welcome to the world of nodes. The problems in your file, is that your variables (inputs are numarrays) missing the element indexing - Always keep in mind that you are working with arrays!!!. To access the first element you have to use xxx[0]. Have a look in the attached file. The arrays are the requirement for multiprocessing data, even if they were not needed in this case. the same goes for the output.

Have a nice day
Karsten

p.s.: The variable R isn't used in your formula - If you use netbeans for programming or something similar, such things will be highlighted.

Attachments:
VarHelix.js


From: bemfarmer
5 Jun 2017   [#412]
With Karstens change to varHelix, the bottle will move along x
(I renamed selected to bottle...)

I guess you are trying to move the bottle along x, to match the rotation of the helix?

Or are you trying to move the bottle around the helix?

To form the helix curve, it needs x,y,z points feeding interpcurve...
I guess you could output dx, dy, and dz to the move node...

- Brian, confused
From: Barry-H
5 Jun 2017   [#413]
Hi Karsten,
thanks I would not have found the answer without your help.
There was still a problem with the variable P1 formula which just needed
an extra pair of brackets.
Just to clarify the [0] points to the first value in the numberarray ?
Also does this turn var Zt=[];into an array?
So again many thanks.

Brian yes the node is for Z(t) movement of your Variable Pitch Helix.
I just wanted to see if I could cut the amount of connections that
my original nod file had by doing the movement calcs within the node.
I've attached a working node.
Cheers
Barry

Attachments:
VarHelix.js


From: Karsten (KMRQUS)
6 Jun 2017   [#414] In reply to [#413]
Hello Barry,

>>>>Also does this turn var Zt=[];into an array?
Yep! It's the same like var Zt=new Array(); only shorter:-)

>>>> Just to clarify the [0] points to the first value in the numberarray ?
That's correct! The numarray is a Standard JS-Array. PointArrays are a Special datatype!

Have a nice day
Karsten
From: speedy (AL2000)
8 Jun 2017   [#415]
Hello Friends ,
a lot of Node, so much patience but,
In the end , I think it was worth the Pen.... , as Pilou says , it's like as charm....
Tasselate a dome,
steel frame and glasses , triangular parametric pattern
link:http://www.mediafire.com/file/if8a4mq3loacywn/Dome_Tasselation.rar
best
al
From: Frenchy Pilou (PILOU)
8 Jun 2017   [#416] In reply to [#415]
That's Richard Buckminster dome! ;)

But seems there is something to increase!
If I am not wrong seems only 5 levels of triangulation are possible?
So maybe an another algorithm to find ?

And a complet dome ?
A truncated dome with Top/Bottom size circle variable ?



Ps Make a space inside the address link! ;)
so your link becomes (more speedy for user! ;)
link: http://www.mediafire.com/file/if8a4mq3loacywn/Dome_Tasselation.rar

Colors with
script: /* Random Styles existing to Selected faces & edges */ var styles = moi.geometryDatabase.getObjectStyles(); var breps = moi.geometryDatabase.getObjects().getBReps(); for ( var i = 0; i < breps.length; ++i ) { var brep = breps.item(i); var edges = brep.getEdges(); for ( var j = 0; j < edges.length; ++j ) { edges.item(j).styleIndex = Math.floor(Math.random() * styles.length); } var faces = brep.getFaces(); for ( var j = 0; j < faces.length; ++j ) { faces.item(j).styleIndex = Math.floor(Math.random() * styles.length); } }

Render with the free Simlab Ccomposer Lite (max 1920 * 1080)
http://www.simlab-soft.com/3d-products/simlab-composer-lite.aspx


From: mkdm
8 Jun 2017   [#417] In reply to [#416]
Pilou...your imagination is limitless!! :)

See you.
From: speedy (AL2000)
8 Jun 2017   [#418]
Hi Pilou
The tapping levels I have achieved
they are n° 5 ... but they can be increased ....
So, the dome can be closed...
In any case, if you scroll through the file you will see that there is a tight link
Between the radius of the dome and the number of sides of the damping-
Without any inspiration, I started Tasselate
the dome with Equilateral triangles, using the height of the
Themselves that intersects with the semisphere and so on....
Have a nice day
al
From: Frenchy Pilou (PILOU)
8 Jun 2017   [#419] In reply to [#418]
Cool but i don't want to code! ;) (for the moment)
(if you can give me the line transformed! ;)

PS will be inestimate if you replace edges by cylindric structures and real nodes of junction! ;)
You can of course simplify!


Message 7777.420 was deleted


From: Frenchy Pilou (PILOU)
10 Jun 2017   [#421]
Cool! :)
with the colors functions of Moi! (see 3 posts previous)

From: speedy (AL2000)
12 Jun 2017   [#422]
Hi James and Friends ,
I am very happy with your sharing-
I hope that in the future, others will do the same ,
I would not wish that we were just the voices of the chorus-
Good work
al
From: Karsten (KMRQUS)
12 Jun 2017   [#423] In reply to [#422]
Hello Al,

it seems that there is a big Inhibition to use and play with the elephant. So someone has to be the "primus inter pares".

Have a nice day
Karsten
p.s.: ... better five lions than 500 sheep. (from Rambo III) lol

Message 7777.424 was deleted


From: Frenchy Pilou (PILOU)
12 Jun 2017   [#425] In reply to [#424]
Cool!

From: James (JFH)
13 Jun 2017   [#426]
Hello All,

I found a grasshopper youtube tutorial by Wissam Wahbeh
inspired by the cathedral of St.Mary of the Assumption, San Francisco,
Designed by Pier Luigi Nervi and Pietro Belluschi.
https://www.youtube.com/watch?v=o4ufv13EZk4



Nodeeditor process has next to nothing in common with grasshopper steps shown in the video;
it was more about reproducing the end result.



James

Image Attachments:
images.jpeg  NerviBelluschi.jpg  Unknown.jpeg 


From: Frenchy Pilou (PILOU)
13 Jun 2017   [#427] In reply to [#426]
Sorry seems i have not the "Mirror" node !
Your script is for the Official or Modified Elephant ?

Will be fine to have a list of existing nodes! ;)

Something like...(it's an old one)

From: James (JFH)
13 Jun 2017   [#428] In reply to [#427]
Hi Pilou,

Sorry I forgot that Mirror was a new node. It can be found here

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

otherwise I am using latest mod. It can be found here

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

James

Show messages:  1-8  …  349-368  369-388  389-408  409-428  429-448  449-468  469-488  …  1849-1859