MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-7  …  1708-1727  1728-1747  1748-1767  1768-1787  1788-1807  1808-1827  1828-1847  1848-1859

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

From: bemfarmer
19 Nov 2020   [#1768] In reply to [#1767]
The undulary curves seem to work. The values of mu and lambda are positive, but
must be very small, as per mu constraint.

- Brian
From: bemfarmer
19 Nov 2020   [#1769] In reply to [#1768]
The nodoid and profile are colored coral.

Using Orient Line/Line, the blue unduloid became emerald, and was connected to the Honeysuckle unduloid.




- Brian

Image Attachments:
Nodoid_Unduloid-0000.png 


From: bemfarmer
19 Nov 2020   [#1770]
RadiiInputMacros.zip contains two Macros, with inputs RadiusMax and RadiusMin from the symmetry axis line.
Outputs are mu and lambda. (Simple formulas from the paper.)
Nodoid Radii.nod is a front end Macro for producing Nodulary profiles.
Unduloid Radii.nod is a front end Macro for producing Undulary profiles. For minRadius = 0 a quarter arc is supposed to form, (sphere CMC), but
in actuality, one quarter of an ellipse is formed. (So there may be some error somewhere, the paper or the node.)

Place the two Macros in the Nodeeditor Macro folder. Wire in either as input to the CMC4 node. For input to either Macro,
two radius input sliders can be wired in.

The Macro menu in a nodeeditor window does NOT scroll. So space for the number of Macros is limited by the height of the canvas window.

Changing k to k*k had no effect, re elliptic integrals. The quarter ellipse profile remained the same, and did not turn into a quarter arc.

- Brian

Slider radius inputs for nodoid of 0 to 2 seem nice. Divide by zero and infinity seem to be handled OK by nodeeditor.
Note that revolve axis is parallel to the y axis, in the xy plane. Which line, and the position of the hyperbola and the roulette line is not clear.
The roulette line for the nodulary is to the right of the nodulary curve, focus length from its vertex. (?)
Which I think should be the revolve axis?

See post 1777 for node containing radii macros.
From: bemfarmer
21 Nov 2020   [#1771]
Node to produce the upper curve of a hyperbola, and its focus point.
"a" and "b" are the semi axes. The node uses exponential equations for cosh and sinh.

A tangent from an end point can be built, but there are two of them, which seems wrong.
One tangent passes through the origin, and the y intercept is Not the Conic command apex point.
The second tangent passes through the y axis a bit lower down, and using this apex point,
the MoI conic command can produce the same hyperbola curve visually.
Upon zooming way in, the MoI conic nurbs curve is slightly different, probably due to the limited
number of points used for the node program.

There is probably some formula for calculating the Conic command parameters from a and b...

The new Dimension commands are very useful for labeling the geometry.

- Brian

Corrected faulty hyperbola node. I wondered why the ends were drooping:-)
(Note that using Michael's Hyperbola script is preferable.)

Attachments:
Hyperbola04.zip


From: Michael Gibson
21 Nov 2020   [#1772] In reply to [#1771]
Hi Brian, here are a couple commands for making a Hyperbola and Parabola from foci points.

- Michael

Attachments:
Hyperbola.zip
Parabola.zip


From: bemfarmer
21 Nov 2020   [#1773] In reply to [#1772]
Thank you very much Michael.
Your Hyperbola script works perfectly.

- Brian

I think I will try to roulette it along a vertex line, with tangents and cplanes, and trace focus,
but will not be able to get all the way to infinity :-)
With var pt = cplane.evaluate( x, y, z ); (Or some such) And unwrap curve...

Message 7777.1774 was deleted


From: bemfarmer
25 Nov 2020   [#1775]
Post # 1766 has updated CMC6 node. CMC4 is gone. Only one person downloaded it.
Curve output added. Comments modified. Rotated curves to align with screen.
Still puzzling on several issues. Nodary and Undulary look nice, but the Sphere and Cylinder need to have the y coordinates divided by 2,
to get the proper quarter arc or line, with correct radius. So maybe Nodary and Undulary curves need the same???
For the Nodary and Undulary, the revolve axis needs to be determined. The revolve axis is the same as the roulette line, which passes through the upper
vertex of the generating hyperbola for the Nodary, and through a vertex of the ellipse for the undulary.
The relation of rmin and rmax to the hyperbola a, b, and c parameters is not complete.
"a" may be equal to (rmax - rmin). Or not?

One fact is that the point on the side of the Nodary with vertical tangent is at the distance "b" from the roulette axis, because at infinity,
the asymptote of the hyperbola is horizontal. A general property of the hyperbola is that the Focus of the hyperbola is at perpendicular
distance "b" from the asymptote.

"c" = sqrt(a*a + b+b), for the hyperbola.

- Brian
From: bemfarmer
29 Nov 2020   [#1776]
One mystery is solved. Need to divide by 2 turned out to be lack of parenthesis.
Correct factor of 1/sqrt2 became *sqrt2. (1/sqrt2 = sqrt2/2).

Second mystery, the modulus needs to be k*k. (now certain:-)

Also got rid of my negative sign. Learned a long time ago that if the professor's equations seem wrong, they are not, my thinking is wrong.
Now the undulary and nodoid line up with each other, at proper R and r, and the x-axis is the roll and revolve axis line.

Values of R and r corresponding to parameters a, b, and c for ellipse and hyperbola also solved.

Will post CMC8 later tonight, and word doc, and example node.

Still need to check if sample roulettes match the profiles.

A formula for the widths of the nodary would be nice...

- Brian

Attachments:
Parameters for Undulary and Nodary curves and parent Ellipse and Hyperbola.docx


From: bemfarmer
29 Nov 2020   [#1777] In reply to [#1776]
Attached is the CMC8.js node file, and the CMC8_01.nod program, for creating symmetric half of an Undulary curve, and a Nodary curve.

Also attached is the NodoidUnduloidRadii08.3dm file which demonstrates that the formulas for the two Radii "R" and "r" correspond to the parameters "a", "b", and "c" for the parent roulette curves Ellipse for the Undulary curve, and Hyperbola for the Nodary curve, as described in the Word file Parameters for Undulary and Nodary curves.
In particular, an unwrap of half of the perimeter of the ellipse corresponds to 5 decimal places with the x_length of the undulary, which is equivalent to rolling the ellipse. The ellipse is drawn with MoI ellipse command.
Also an unwrap of half of the hyperbola, and Line/Line orient of the tangent at the "end" of the hyperbola segment, with attached Focus1 and Focus2, demonstrates that after "rolling" the hyperbola, that the new location of the two foci is (nearly) on the red nodary curve. (It is not perfect, but pretty close. There must be some calculation tolerances...). In addition, the y height of the vertical tangent to the nodary curve agreed within 6 decimal points of the calculated value of parameter "b". Once the parameters are calculated and points plotted, Michael's hyperbola script draws the hyperbola.

Also, moving the mu slider to zero will generate a quarter circle, (mirror and revolves Sphere), and setting mu equal to 1/(4*lambda) generates
a line, (revolves to a cylinder). Both with the proper radius R. (But there are better ways to make spheres and cylinders.)
(Roulette of parabola to a catenary, (revolve to a catenoid), uses other equations.)

This finishes up the CMC project, except for finding a formula for the widths of the nodary curve segments.

- Brian

ps The new Dimension commands were great for labeling the .3dm drawing. Someone should do a video. I've almost stopped hitting enter after adding
text. The detailed view is helpful for screen align, and altering distance for text. It might be nice to be able to have both distance and text in the horizontal and vertical dims.

Attachments:
CMC8.zip
CMC8_01.zip
NodoidUnduloidRadii08.zip


From: Michael Gibson
30 Nov 2020   [#1778] In reply to [#1777]
Hi Brian, I'm glad the dims are useful! You can have both the distance and additional text show in a dimension by going to the "Details..." object properties dialog and under Annotation properties > Text put in the text you want and also include a <> (less-than and greater-than characters with no space between them). The <> will be substituted with the numeric value.

So for example if you set the dimension's text value to be "Distance = <>", it will display like this:



- Michael

Image Attachments:
brian_dim_text.jpg 


From: bemfarmer
30 Nov 2020   [#1779] In reply to [#1778]
Michael, Thankyou for the excellent Text = <> information !

BRIAN
From: Frenchy Pilou (PILOU)
2 Feb 2021   [#1780]
I have seen this incredible thing by nkallen ! I believe that is in WIp but...very promising!


From: James (JFH)
3 Feb 2021   [#1781] In reply to [#1780]
quote:

I have seen this incredible thing by nkallen ! I believe that is in WIp but...very promising!


Pilou,

I'm intrigued! Where did you come upon this video?
Can you please post thel link to webpage.

James
https://www.instagram.com/nodeology/
From: Frenchy Pilou (PILOU)
3 Feb 2021   [#1782] In reply to [#1781]
I found this on the Moi's Discord! ;)
(seems it's also a fan of the node's Houdini system network editor for make it more efficient)
Cool that he wants make now something for the Moi Node editor! ;)
https://discord.com/channels/643404002343780362/643406803773685790/804816015983640586


From: bemfarmer
19 Feb 2021   [#1783]
A quick Tip.
For a screen capture of a Dark theme screen, the Color (in particular black & white), can be reversed, for easier printing, with the Snagit screen capture editor.
In the editor, click on image> effects> filter> invertcolors.

- Brian
From: Zooen
24 Feb 2021   [#1784]
>I have seen this incredible thing by nkallen ! I believe that is in WIp but...very promising! (Pilou)

Elephant knot editor to automatically create knots when modeling. It would be really very useful for modeling, learning to master MoI, the node editor, etc.
From: Chris (CHRISTOPHER021)
25 Feb 2021   [#1785]
Another update by nkallen

https://www.youtube.com/watch?v=Axtxwt9-gww
From: Frenchy Pilou (PILOU)
25 Feb 2021   [#1786]
Cool ... will be fine if it's will compatible with the new Max Smirnov NodeEditor for the v4 (if projected)
From: bemfarmer
25 Feb 2021   [#1787] In reply to [#1785]
One hour ago youtube by NICKKALLEN:
https://www.youtube.com/watch?v=i-5Oj1zPjpo

Cannot find any sign of a demo program.

Someone should subscribe and ask about the availability of the program?

- Brian

Show messages:  1-7  …  1708-1727  1728-1747  1748-1767  1768-1787  1788-1807  1808-1827  1828-1847  1848-1859