Glide an Object along a Rail curve

Next
 From:  bemfarmer
9395.1 
This simple (alpha) Glide node illustrates motion of an Object (sphere) along a rail curve (select demo ellipse, helix, or conic).
Thanks to Pilou for recent circle tangent posts.
Only one Rail is used at a time (so far).
Kirstens mPath (multiPath) node, based upon ArrayCurve command, provides movement points for Orient node at very nearly equal arc lengths, within a tolerance.
Based upon research reading, NURBS (rail) curves are usually not arc length parameterized, but mPath makes a good substitute. (?)
TicTac mode of Quartz2 runs about twice as fast, and the sphere runs on each of the demo 3 rails at different speeds, as they are not the same length.
(The motor node was helpful in getting the Glide to work.)
If a circle Object at the origin is used, the Frame seems to be perpendicular to the Rail.
If the Rail curves NURBS parameter values were used, the sphere would not run at constant speed along a (nonlinear) rail.

I was thinking of writing a script for Glide, but the node editor sufficed, so far.

- Brian

EDITED: 12 Jun 2019 by BEMFARMER

Attachments:

Image Attachments:
Size: 17.4 KB, Downloaded: 34 times, Dimensions: 117x86px
  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:  co3Darts (CO3DPRINTS)
9395.2 In reply to 9395.1 
Looks interesting! I want to build my first nodal to make chains for use in 3D printing. I opened this up to see what is piped into what and I see 3 nodes colored red

mPath_Array
Quartz2
idxSelect

Can someone point me to the thread that has the latests all nodes up to date? I did a search but the nodes thread is super gigantic and I believer Karsten was keeping an update thread but I'm missing it somehow.

Thanks!

Jason
  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
9395.3 In reply to 9395.2 
Hi Jason,
James recently posted this, re nodeeditor:
http://moi3d.com/forum/index.php?webtag=MOI&msg=9358.1

- Brian

The three nodes are under the menu's ArraysExt, Basic2, and Points2.

EDITED: 13 Jun 2019 by BEMFARMER

  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
9395.4 In reply to 9395.3 
Two different rails may be Concat(inated), but the value of Quartz2 max input must be double that of Div Rail input of mPath_Array.
The two rails are sequentially Glided along by the sphere.

- Brian
  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
9395.5 In reply to 9395.4 
Maybe the Glide points could be calculated using the curves 1st derivative(?)

https://pdfs.semanticscholar.org/81d9/375408bddcbabcbcdc32857958e1375bec2b.pdf

- Brian
  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
9395.6 In reply to 9395.5 
Changing the value of the point node has an effect, as does Flip.
  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:  co3Darts (CO3DPRINTS)
9395.7 In reply to 9395.6 
Thanks for the link! I book marked it this time.
  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
 From:  bemfarmer
9395.8 
SplitPts and Move can be used, instead of Orient...
- B
  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