ToroidKnots Script

Next
 From:  bemfarmer
4430.1 
With very slight modification to ToroidHelix Script, was able to create Toroid Knots Script.
Trefoil (2,3) and Cinquefoil (2,5) shown.
(p,q) are the variables, and must be relatively prime. (For a Knot to form.)
Not sure how to do Opposite handedness of Trefoil.








EDITED: 18 Aug 2011 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
4430.2 In reply to 4430.1 
So if p = 1, the Script reverts to Toroid Helix. (I think.)
(q = numturns)
  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:  danperk (SBEECH)
4430.3 
Thanks bemfarmer,

I was getting an error on line 30 until I renamed ToroidalKnots.html to ToroidalKnots.htm
  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
4430.4 In reply to 4430.3 
Hmm, Sorry about that. As an amateur programmer, I guess Notepad++ switched the extension to html.
Posted new zip with htm, not html.
In MoI Command folder I see only .htm extensions for this type of file.

Mirror command creates opposite handed (right handed) trefoil!

FYI, after checking wikipedia, the script produces Left Hand Trefoil.

EDITED: 18 Aug 2011 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:  danperk (SBEECH)
4430.5 
Easy fix... thanks!
These knots are great for moving U/V textures.
|
|_
...|
...V

EDITED: 23 Apr 2012 by SBEECH

  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:  BurrMan
4430.6 In reply to 4430.5 
Frenchy oughta go nuts with this one!!!! :o Very cool.
  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
4430.7 In reply to 4430.5 
Wow
How is this moving UV texture done on a Knot?
Thankyou
  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:  danperk (SBEECH)
4430.8 
Thanks Guys, it's pretty easy to set up if you have animation software that can keyframe your
texture's U/V position. I set this up in trueSpace 7.61 because it renders animation fast (3-4 frames/sec.)

Moi NURBS create great UVs from a sweep with poly export so all you need to do is apply your texture &
keyframe the UVs from 0 to 1 for each rotation.




Modo has a similar setup, U & V offset is keyframed/animated.

Attachments:

  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:  danperk (SBEECH)
4430.9 
Reworked this animation so it was a little less snake like. ;)



Rope Knot from danperk on Vimeo.
  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:  Michael Gibson
4430.10 In reply to 4430.9 
Kind of hypnotic!

- Michael
  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:  Mike K4ICY (MAJIKMIKE)
4430.11 
As the Worm Turns...

Eye catching, yet slightly dizzying.
  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:  Frenchy Pilou (PILOU)
4430.12 
Cool!
---
Pilou
Is beautiful that please without concept!
My Gallery
  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