CGTalk > Software > Maxon Cinema 4D
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 08-30-2006, 06:32 PM   #1
digital19
Veteran
 
digital19's Avatar
Media Production
University of Missouri - Kansas City
USA
 
Join Date: Mar 2005
Posts: 41
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!
 
Old 08-30-2006, 06:58 PM   #2
JamesMK
Flipping bits
 
JamesMK's Avatar
portfolio
James Kaufeldt
Freelancer
Triassic Asylum
Kalmar, Sweden
 
Join Date: Feb 2003
Posts: 8,334

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.
 
Old 08-30-2006, 07:53 PM   #3
FrankBerg
Veteran
frankBerg
Netherlands
 
Join Date: Oct 2005
Posts: 51
Formulate Knots

Hi,

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

Good Luck, Frank.
 
Old 08-30-2006, 09:05 PM   #4
digital19
Veteran
 
digital19's Avatar
Media Production
University of Missouri - Kansas City
USA
 
Join Date: Mar 2005
Posts: 41
Nice!

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

Thanks also for Jurgen Meier's website. There are some interesting things there.
 
Old 08-30-2006, 09:05 PM   #5
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,480
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 05:37 AM.


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