From BlenderWiki

Jump to: navigation, search
Torus Knot
Add a variety of knot types
UI location Group: Add Curve
Version 1.0 Author(s) testscreenings
Blender 2.5 Rev:#28923 License GPL


Executable information
File name add_curve_torus_knots.py
Current version download https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons/add_curve_torus_knots.py


Links http://blenderartists.org/forum/showthread.php?t=187667


Merged into Add Curve Extra Objects
This addon has been merged in the Add Curve Extra Objects one (so you have to enable that last one to get it).


Installation

  • This script is in Blender 2.5 Add-Ons menu.

Introduction

TorusKnot.jpg


Torus Knot Options.jpg

Torus knots are knots that lie on the surface of a Torus.

Torus knots are defined by a pair of coprime integers.

The script defaults to a 2,3 torus knot, also known as the Trefoil knot. A larger list with examples is here. Note that p and q are reversed in that notation.


The p and q parameters in the script control which kind of knot you get.

  • p controls how many times the knot is going around the torus.
  • q controls how many times the knot goes through the center of the torus.


The plus options reveal additional parameters which can be used to create all kinds of other funky knot-like things. But if set right they also allow all types of torus knots.

  • u and v are multiplicators to parts of p and q, they change the way the knot is twisted around the torus.
  • rounds is a split of p. It controls how many times the knot goes around and can be set differently then p. This allows to get many different forms. Torus knots require this to be equal to p.




Access: add curve > Torus Knot +



Instructions

Interface/Menu Overview

  • The interface for this script is found in the Add > Curves Menu


Known Issues

  • In Blender 2.5 the scripts currently show up in the toolbar.
  • Currently you need to set script parameters before doing any transforms or using modifiers.

Additional Information


  • In the Wiki writer's opinion always have Python Installed on your computer when using scripts. http://www.python.org/

Support