Question about generating KnotPlot curves

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  08 August 2006
Question about generating KnotPlot curves

Hi,

I was looking through Kenneth Huff's Siggraph presentation. Though he used maya, I think the same principles would work in Cinema4d.

From the website:
http://www.itgoesboing.com/Presenta...2002-07-19.html


The basic curve for the knot form is based on data I download from the Knot Server at the Knot Plot web site (www.pims.math.ca/knotplot/KnotServer). The Knot Server provides a sequence of three-dimensional coordinates representing a given knot. In the case of the 98 knot, the sequence was:
4.027354 -0.973963 -0.733554
3.542408 -1.555169 -1.754737
[...snip...]
5.224526 0.644712 0.772574
4.595191 -0.275349 0.169248


To convert this sequence of numbers (91 coordinates in all) into a curve in Maya, I used a text editor to change the list into a MEL command:
curve -degree 3 -name "knotCurve_9_8"
-point 4.027354 -0.973963 -0.733554
-point 3.542408 -1.555169 -1.754737
[...snip...]
-point 5.224526 0.644712 0.772574
-point 4.595191 -0.275349 0.169248 ;


I modified the resulting curve in Maya in order to increase the overall three-dimensional volume and the intra-curve spaces, thereby maximizing the size of the tube cross section which can be used.



After a simple extrusion, using a circular profile, the resulting knot form can been seen here.


Could I do this in Cinema 4d? I would prefer to use this method over the 'export to .dxf' option since that always seems to bring in clunky and large objects.

Thanks!
 
  08 August 2006
You could do this using the ASCII import in Cinema's structure manager. You'll need to append a numbered point order in column 1 of the data, and a small header, then you can make it into a linear spline.

Rather than me explaining this in detail, make a random linear spline, then use the 'Export ASCII data' command in the structure manager, and check out the resulting .txt file yourself.

HTH


.
__________________

xenomata

Be indiscreet - do it continuously.
 
  08 August 2006
Formulate Knots

Hi,

you might want to take a look at Jurgen meyer's website

Good Luck, Frank.
 
  08 August 2006
Nice!

I'll try the method above when I get home.

Thanks also for Jurgen Meier's website. There are some interesting things there.
 
  08 August 2006
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 09:42 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.