Nodebundle for playing with nodes
 1-10  …  371-390  391-410  411-430  431-450  451-470  …  1851-1859
Thread Split: Some posts in this thread have been moved here

Previous
Next
 From:  Karsten (KMRQUS)
7777.411 In reply to 7777.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:

  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.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
  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:  Barry-H
7777.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:

  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.414 In reply to 7777.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
  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.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
  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:  Frenchy Pilou (PILOU)
7777.416 In reply to 7777.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

EDITED: 8 Jun 2017 by PILOU

  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.417 In reply to 7777.416 
Pilou...your imagination is limitless!! :)

See you.

- 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.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
  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:  Frenchy Pilou (PILOU)
7777.419 In reply to 7777.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!

EDITED: 8 Jun 2017 by PILOU

  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.420 deleted 9 Aug 2020 by JFH

Previous
Next
 From:  Frenchy Pilou (PILOU)
7777.421 
Cool! :)
with the colors functions of Moi! (see 3 posts previous)
  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.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
  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.423 In reply to 7777.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
  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.424 deleted 14 May 2019 by JFH

Previous
Next
 From:  Frenchy Pilou (PILOU)
7777.425 In reply to 7777.424 
Cool!
---
Pilou
Is beautiful that please without concept!
My Gallery
  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:  James (JFH)
7777.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

EDITED: 14 May 2019 by JFH


  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:  Frenchy Pilou (PILOU)
7777.427 In reply to 7777.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)

EDITED: 13 Jun 2017 by PILOU

  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:  James (JFH)
7777.428 In reply to 7777.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
  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.429 
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
  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:  Frenchy Pilou (PILOU)
7777.430 In reply to 7777.428 
Thx!
More easy with mirror inside! ;)

  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-10  …  351-370  371-390  391-410  411-430  431-450  451-470  471-490  …  1851-1859