Show messages:
1-9
…
350-369
370-389
390-409
410-429
430-449
450-469
470-489
…
1850-1859
Thread Split: Some posts in this thread have been moved here
From: Barry-H
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)
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
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
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)
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)
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)
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
Pilou...your imagination is limitless!! :)
See you.
From: speedy (AL2000)
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)
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)
Cool! :)
with the colors functions of Moi! (see 3 posts previous)
From: speedy (AL2000)
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)
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)
Cool!
From: James (JFH)
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)
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)
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
From: speedy (AL2000)
Hello James
Well done James
nice definition_
I saw that, together with Karsten, you defined
a new way to handle points (multiple inputs for Polyline)
I have to do and I have not dealt with the topic ...
You can briefly let me know what you got
with Point Split node
I've seen formulas on the outbound links from the node.....
Thanks in advance for the info
Good afternoon
al
Show messages:
1-9
…
350-369
370-389
390-409
410-429
430-449
450-469
470-489
…
1850-1859