MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-2  …  1143-1162  1163-1182  1183-1202  1203-1222  1223-1242  1243-1262  1263-1282  …  1843-1859

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

From: Barry-H
17 Aug 2018   [#1203] In reply to [#1202]
Hi James/Karsten.
perhaps the photo's will explain what I am trying to achieve.
The nod file I posted previously does not allow for the contact angle the roller makes with the cam.
Due to the fact the helix is a globoid shape the contact angle (slope) is not constant.
My original profiles where constant and perpendicular.
By placing them using mpatharray node the contact angle is correct and the profiles remain constant
but they need to be aligned to the wheel centre and the fact that their spacings are equi distances
along the helix curve (I would need to be able to extract the X Y Z of these points to calculate the alignment )
where as I had generated the helix points by numbers per revolution thus the alignment to the wheel centre was not the issue.
I started to work on calculating the contact angles and then adjusting my profiles to allow for it but think there may be a better way.
Any ideas.
Barry








Image Attachments:
Screenshot (131).png  Screenshot (132).png  Screenshot (133).png 


From: James (JFH)
17 Aug 2018   [#1204]
NEW NODE: Flip

Hi All,

I have found when flowing multiple patterns to polylofted surfaces,
that at times the different tile elements can have opposing surface normals.
Although this often can be reworked to avoid this problem, I have nevertheless
created a new, very simple, node that calls 'flip' factory.

To demonstrate its use, see also attached flip.nod and image:

A planar surface is copied & Moved, then Flipped.
The 2 resulting planes are offset by same distance
however in opposing directions due to reversed normals.


Also when applied to a curve it changes its direction
(i.e. flipping start pt and end point)

To use this node, replace construct2.js in extensions folder

James

P.S. Ideally, I would like to see this functionality incorporated into a tripartite node
that also replaced Marco's "ArrayFlipper"(flipping a point array) as well as
a Numbers option for flipping a numArray (reversing list order).

I lack the programming skill to do this, but if anyone is interested, it would be
a worthwhile exercise IMHO.


UPDATED:
Added dovetail.nod to demonstrate flipping curve

Image Attachments:
flip.gif 


From: James (JFH)
21 Aug 2018   [#1205]
Hi All,

Here's a simple example of the use of "flip" node.

By flipping alternate facets surface normals, flowed geometry will flip according.

NB: construct2.js needs to be replaced at
C:\Users\<user name>\AppData\Roaming\Moi\nodeeditor\nodes\extensions\construct2.js

& interface.js at
C:\Users\<user name>\AppData\Roaming\Moi\nodeeditor\nodes\interface.js

James


Image Attachments:
flipFacet.gif 


From: James (JFH)
25 Aug 2018   [#1206]
Hi All,

Here's something I'm working on at the moment.
It is like a fisheye lens filter for spheroidal distorting of geometry.

Have a great weekend
James




UPDATED:
Also emulating Pinch filter for geometry.


UPDATED: FishEye.nod file attached.
Nodes in green can be adjusted, but be warned that highest magnification may cause long periods of lockup (spinning wheel) with focal point at the edges; best to stay towards the middle. With mid range magnification, there are no such issues. LENS TYPE switches from FishEye to pinch modes.

UPDATED: Also added switch for 2D or 3D bulging.

Attachments:
fishEye.nod

Image Attachments:
fishEyeFlag.gif  fishEyeLens.gif  pinch.gif 


From: Frenchy Pilou (PILOU)
25 Aug 2018   [#1207] In reply to [#1206]
Or useful for car's tires design! ;)
From: speedy (AL2000)
25 Aug 2018   [#1208]
Very cool
Can you post the nod file....?
Have a nice day,James...
al
From: mkdm
25 Aug 2018   [#1209] In reply to [#1206]
Wonderful!!

Message 7777.1210 was deleted


From: James (JFH)
25 Aug 2018   [#1211]
Thanks Pilou, Al & Marco,

I have now posted FishEye.nod to my previous post:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1206

UPDATED:with 2D/3D switch

Have a great weekend
James

Image Attachments:
fishEye3D.gif 


Message 7777.1212 was deleted


From: mkdm
26 Aug 2018   [#1213] In reply to [#1211]
James you're becoming a "true master" of this kind of "mathematical art"!

Congrats!

In this period of my life honestly this is not a CG topic that's so much interesting to me, but I want to tell you that your contribution to this particular area of Moi, the NodeEditor, is really amazing!
I think it's (almost) on the same level of what Max did with all his amazing scripts.

Thanks for your passion!
From: Mik (MIKULAS)
26 Aug 2018   [#1214] In reply to [#1213]
I can sign Marco's words!

Respect!

Mik
From: James (JFH)
26 Aug 2018   [#1215] In reply to [#1213]
Hi Marco,

I have been buoyed by your kind words, although I don't
believe I am deserving of comparison with Max on any level.
Nevertheless, I'm greatly appreciative of your encouragement.

Thank you (& Mik)
James
From: mkdm
27 Aug 2018   [#1216] In reply to [#1215]
You're welcome James! I think that you deserve due recognition :)

Ciao!
From: speedy (AL2000)
11 Sep 2018   [#1217]
Hello Friends
how many interested people find this link:
http://www.mediafire.com/file/7fvuo1a8ddccd22/RaisingChair.zip/file
the famous Dutch Folding Chair ...
I hope it is of interest to you
Have a nice day to all
al
From: James (JFH)
11 Sep 2018   [#1218] In reply to [#1217]
Hi Al,

SUPERB!

Keep up the great work
James
From: speedy (AL2000)
11 Sep 2018   [#1219]
Hi James
Many many Thanks
al
From: speedy (AL2000)
12 Sep 2018   [#1220]
Hello Friends
An exploration, I think quite interesting,
of a fascinating and particular surface in my opinion, Dupin Cyclide Ring -
how many interested people find the file at this link:
http://www.mediafire.com/file/donow69cg61d4i0/-DUPIN_CYCLIDE_RING.zip/file
Good depth to everyone
Have a nice day to all
al
From: speedy (AL2000)
21 Sep 2018   [#1221]
Hi Friends ,
Continuing the most particular knowledge
Polyhedra world , of those interested will find here:
http://www.mediafire.com/file/yir88miie279n5i/M__Pipe_Frame_%2526_Knot_Polyhedron.zip/file
a Macro that I think can be useful ..
at least I hope..
-Pipe Frame and Knot on Polyhedron -

Have a nice weekend everyone
al

Message 7777.1222 was deleted


Show messages:  1-2  …  1143-1162  1163-1182  1183-1202  1203-1222  1223-1242  1243-1262  1263-1282  …  1843-1859