Saturday, January 26, 2008

Rhino Scripts – Assignment #1

This first script is meant to emulate the way double sided trusses work. The script consist of a series of points located through a system of coordinates that then get connected by polylines and finally get piped in order to turn the line-work into a 3D object

Recipe:

1- Select a point of origin based on x,y and z coordinates
2- Create 7 other points at varying distances from the original x,y,z coordinate
3- Connect the points using polylines
4- Place spheres at the vertices
5- Pipe all the line-work
6- Create a loop so that this action repeats itself “n” number of times
7- Create an outside-loop so that every time the inside-loop runs, the x and z values get shifted automatically.


This second script is meant to emulate the way in which trees grow on a hill. In order for the script to run the user has to create a surface that acts as the hill itself and the script places circles on the hill as if they were trees.


Recipe:


1- select an already existing surface
2- assume that the u-v coordinates expand within a range of 0-1
3- locate the 0-0,0-1,1-0, and 1-1 coordinates of the surface and identify those as your parameters
4- create a circle within the parameters
5- randomize the positioning of the circle within a range of 0-1
6- loop this entire process and run it “n” amount of times




This third script is similar to the first one in the sense that it utilizes a coordinate system at its core. It is meant to emulate the basic structure of DNA or a helix.

Recipe:


1- Select a point of origin based on x,y and z coordinates
2- Create 20 other points at varying distances from the original x,y,z coordinate
3- Make sure that the z value maintains a systematic increase
4- Connect the points using polylines
5- Place spheres at the vertices
6- Pipe all the line-work
7- Create a loop so that this action repeats itself “n” number of times
8- Create an outside-loop so that every time the inside-loop runs, the x and y values get shifted automatically

No comments: