MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-4  …  345-364  365-384  385-404  405-424  425-444  445-464  465-484  …  1845-1859

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

From: AlexPolo
4 Jun 2017   [#405]
Hi All MOI NODE-STERS

It would be great if some of the NODE developers could perhaps start a YOUTUBE channel taking beginners through the process of this tool set seems lots of development has gone in its functions expanding but little or no documentation other than forum drilling.

Could be a good new audience.

great to see the development.
Alex
From: James (JFH)
4 Jun 2017   [#406] In reply to [#404]
Hi Brian,

Your point is well taken...so I have replaced weaveWrap.nod in my earlier post
with new version: WARP=13 & WEFT=19, as well as changing profile to hexagon.
This has greatly accelerated drawing to screen.

If fine mesh detail is desired, it is best to STOP the node running, change the inputs
and then press RUN.

You also reminded me that I should have mentioned that the WARP & WEFT input
need to be odd numbers to weave properly.

Thank you
James
From: Barry-H
5 Jun 2017   [#407]
Hi,
I'm trying to create my own node but having studied existing maths node
still cannot get the input values into the formula I want to perform.(I am a novice )
Attached is my pathetic attempt any advice much appreciated.
Barry

Attachments:
XVarHelix.js


From: Barry-H
5 Jun 2017   [#408]
Hi,
got a bit further now have the inputs and formula working and giving an output
but the output is not working with the move node ?
HELP
Barry

Attachments:
VarHelix.js
XXVar Helix Calc node.nod


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


Show messages:  1-4  …  345-364  365-384  385-404  405-424  425-444  445-464  465-484  …  1845-1859