MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-13  …  294-313  314-333  334-353  354-373  374-393  394-413  414-433  …  1854-1859

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

From: bemfarmer
22 May 2017   [#354] In reply to [#353]
Hi Barry.
under the subdirectory "nodes," Quartz is inside the basic.js file. It is commented out.
Just remove all but the first //.
I do not know why Max has not activated it.
Output is a "numarray."
Maybe there is supposed to be some input to it that was not completed. (this.addInput("Hz","numarray");)
Maybe Quartz node can feed a second Quartz node? Have to try it...

Quartz may be from the original source of nodes (?)

Default Quartz runs from zero to 359, which yields 360 degrees, which may be a full circle rotation...

Quartz has 2 modes.
Cycled mode runs from e.g 0 degrees to 359 degrees, then starts over at 0.
Tictac mode gets to the end of the count, then runs backwards to the begin count, e.g.zero

- Brian
I think of it as an electronic quartz crystal oscillator, or a clock, etc.
From: speedy (AL2000)
23 May 2017   [#355]
Hello Friends
I want to share with you
this research done, to draw curves
Math(Roulette Curve) ,
I have used Vector to represent
"Locus "of the points
which then turn into curves ...
I also attached a variant in 3d
very interesting, at least I hope....
For those interested this is the link:https://www.mediafire.com/?l58wc87s75uw6j6
Good in-depth
best
al
From: Karsten (KMRQUS)
23 May 2017   [#356] In reply to [#355]
Hello Al,

thanks for sharing - very interesting - the Vectors looks great!



A look to the curvature also says perfect:-)


Have a nice day
Karsten

Image Attachments:
Roulette-Curvature.png  Roulette-Vectors.png 


From: Frenchy Pilou (PILOU)
23 May 2017   [#357]
Remember the Line Web! ;)

http://moi3d.com/forum/index.php?webtag=MOI&msg=3666.1
From: Karsten (KMRQUS)
23 May 2017   [#358] In reply to [#357]
Hello Pilou,

I do not understand what I should remember!?

Line Web is possible since Max has made pointarrays and I made patharrays. You have tested it already.
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.330
The example makes nothing else then:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.317
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.163
or in a more complicated way:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.111
For the inspiration I had please google: helix bridge singapore

Or do you think that we have to have a line web node?
Have a nice day and please let me know

Karsten
From: Frenchy Pilou (PILOU)
23 May 2017   [#359] In reply to [#358]
<< Or do you think that we have to have a line web node?

Will be perfect because it's a tricky thing for make easily some regulate surfaces!
From: Karsten (KMRQUS)
23 May 2017   [#360] In reply to [#359]
Hhhmm!
That's all!?!

Image Attachments:
LineWeb.png 


From: Frenchy Pilou (PILOU)
23 May 2017   [#361]
I will try that! :)

Just about indepth of the beast of a node...(just by curiosity because i will never code that)
You must re-create all the function or you recall an existing function (here Line Web) somewhere ?

Else for a Node Line Web itself
- Nbs point by curves
- Nbs of curves
- Variation of curves (distort curves)
another infinite variations! :)

Ps Can you post your node because I don't obtain the same! :(
(or maybe i don't make the good process ?
http://moiscript.weebly.com/uploads/3/9/3/8/3938813/line_web.nod

From: speedy (AL2000)
24 May 2017   [#362]
Hello Pilou
You have to set-up "cross " in the node preferences,
(mpath array )
al
From: Frenchy Pilou (PILOU)
24 May 2017   [#363] In reply to [#362]
@Al
Ahhh yes! Some indispensable hidden things! Bravo!
(Now Lineweb native is more simple! ;)
But as soon as more nodes will added that will be rocking!

Maybe the Info window must be open as soon has a new node is created!


From: Frenchy Pilou (PILOU)
24 May 2017   [#364]
Distort ? By Max Smirnov http://moi3d.com/forum/index.php?webtag=MOI&msg=6659.13
For crazy vegetables! :)




From: speedy (AL2000)
26 May 2017   [#365]
Hello Friends
an experimental test of a sphere tasselation
with base Icosahedron
link:http://www.mediafire.com/file/3h0nk02r0u11hhl/Geodesic_Tasselation.rar
Have a nice day to all
al
From: James (JFH)
27 May 2017   [#366] In reply to [#355]
Al et al,

I have had no opportunity to play with node editor for the last couple of months,
but this weekend I teased apart your Spir-Curve nod to comprehend your method.

After researching roulette curves, I started from scratch to produce this very simple scheme (no trig) based on your method for Trochoid curves.

It can also create Epicycloids by flipping the vectors
(i.e. multiplying by -1 bottom most node)

Now I am going to try and get my head around your geodesic nod.
It looks amazing!

Have a great weekend

James

Image Attachments:
Trochoid.jpg 


From: Barry-H
28 May 2017   [#367]
Hi,
I'm running an animation with the node editor and was wanting to hide edges.
I've tried hiding them prior to running the animation but this does not work.
Is it possible to have a node to hide them ?
Barry
From: bemfarmer
28 May 2017   [#368] In reply to [#367]
Hi Barry.

The code which loads the .3dm object is located here:
Under Node/Objects/Get by name

Perhaps a line could be added there. I do not know how:-(
The following code did not work:
// TEST edge hidden code (BAD)
this.inputobjects.edges.setProperty('hidden', true);
// End Test Code

- Brian
From: Barry-H
29 May 2017   [#369]
Hi,
I have been able to produce animations of the bottle feed screw with a constant pitch helix
and also a variable pitch helix but I would like to be able to produce a screw that as a mixture of both
i.e: start constant pitch then variable pitch exit constant pitch.
So my total movement is X = A + B + C
If I have a slider for X how can I switch to the various move profiles without have separate sliders ?
Any ideas .
Barry
From: speedy (AL2000)
29 May 2017   [#370]
Hello James
welcome back
I like to feel you.....
Well done , Trochoid .nod , turns out
Clear and Nice definition
Good Work my friend
al
From: bemfarmer
29 May 2017   [#371] In reply to [#369]
Hi Barry,
Some math would seem to be in order.
The screw turns with constant RPM, but the horizontal velocity of the bottle in mm/cm/meters per second, varies between constant sections, and variable section.
The horizontal velocity in the variable section also is not constant. (?)
The constant sections have constant horizontal velocity.
There are formulas to convert Pitch to Lead.

So the horizontal range must be split up into different velocities with some Logic.
Say the fastest constant section uses the straight clock.
When in a slower constant section, the bottle speed, or clock, will have to be adjusted down.
When the bottle is in the variable section, Multiply or divide the variable sections clock by the conversion equation(s).

The original litegraph had a bunch of functions...

- Brian
From: Barry-H
29 May 2017   [#372] In reply to [#371]
Hi Brian,
I'm using the maths you supplied with the variable pitch helix script.
I.e, the z axis and that works great.
For the constant pitch that was based on distance and number of coils
Or degrees of revolution.
I'm trying to have a slider or quartz widget that is the the full movement
but at various points it toggles to next profile maths function.
As an example say 20cm constant next 60 cm variable and finally 20cm constant.
Being able to toggle between profile functions allows different permutations.
I could do it with different sliders but that's not the goal.
It maybe that given the complete helix profile that a maths function could be
tailored for it but that's to much for my old brain.
Cheers
Barry
From: bemfarmer
29 May 2017   [#373] In reply to [#372]
Hi Barry
Could you please post the parameters for a Variable Pitch Helix?
If yours is of "proprietary importance," some alternate parameter would be OK.
It would be nice to have similar numbers to work from.

I think that the equation for the Variable Pitch Helix, related to pitch, will need to be reproduced in some form by a math node,
to get the variable x displacement, based upon pitch, for the bottle movement in that zone.

I'll have to puzzle on it later tonight, due to work :-)

Also I am not sure which nodes are available, and of use.
Some sort of If Then Else node might help? (To determine which zone the bottle is in?)
Looks like there is a compare node, under logic.

- Brian

https://en.wikipedia.org/wiki/Lead_(engineering)

Show messages:  1-13  …  294-313  314-333  334-353  354-373  374-393  394-413  414-433  …  1854-1859