Jump to content

Python Helixes


umer.banday

Recommended Posts

This SOP written entirely in python creates helixes from the geometrical points.

>It calculates the center of the geo and each helix is created in the direction of a Vector from the center to the point.

>It works even if the geometry is translated and rotated by pre-transforming and post-transforming it.

>It provides controls for controlling the shape length etc of the helixes.

>It creates point attributes "tangentx" "tangenty" "tangentz" which are the components of a normalized vector tangential to the helixes at every point.These can be used to add tangentail normals using point sop.

>It creates point attributes "init_x" "init_y" "init_z" which are the co-ordinates of the birth point of every helix.These can be used to group them.

Feedback please :)

Helixes_from_geo.otl

post-9331-0-82323400-1363957204_thumb.jp

post-9331-0-37015200-1363957236_thumb.jp

post-9331-0-88440300-1363957324_thumb.jp

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...