Grasshopper

algorithmic modeling for Rhino

Here's the definition - easier than it looks actually. Link to the obligatory wikipedia article is here.

 

Also here's a definition for a version that takes an arbitrary base curve for input (in this case an ellipse for simplicity. By using a curve component one can also start with any arbitrary curve of course.

 

Thanks to my pal Harold for getting me distracted with this!

 

torus%20knot.gh

torus%20knot2.gh

Views: 2362

Comment

You need to be a member of Grasshopper to add comments!

Comment by AmelieAtkins on May 7, 2020 at 1:04am

I was finding details about the Torus Knot and eventually found that here on this page. I am glad that I hired resume writing services for help in essays. I hope these details will be good for me in schooling activities because you have shared so fantastically.

Comment by Iremnur Tokac on July 30, 2013 at 2:07am

thanks for sharing this, it is really helpful to understand the geometry 

Comment by ĐỒNG VIẾT NGỌC BẢO on August 29, 2011 at 10:44pm

thanks for share!! 

 

Comment by Harold Strang on August 27, 2011 at 12:18pm
OK, I think I figured it out.  The 't' is not linearly proportional to the length along the curve.  So I used "rs.CurveArcLengthPoint" to find points on the curve at the locations of interest, and then used "rs.CurveClosestPoint" to get the 't' at those locations to feed into the grasshopper "PFrame" component.  The result is HERE
Comment by Harold Strang on August 26, 2011 at 2:26pm
I tried your definition and it seems to suffer from the same problem as my attempts so far.  The rate of twist around the base curve doesn't appear to be constant.  I'm not 100% sure yet, but I think it is dependent on the vertex spacing, such that the same number of twists appear between vertices, regardless how far apart they are.

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service