本帖最后由 wudi1212 于 2009-11-14 22:09 编辑
谁会谁做
多谢!
process:
- Create a curve
- Divide the curve at a number of segments
- Create parallel planes(frames) at the division points
- Rotate each of the created planes at different angle
- Add controls for the spinning factor(the angle)
- Get the components of the planes(we need them)
- Draw line in each plane using it’s local coordinate system
- Draw two circles, parallel to the line(at the two ends of the line)
- Add controls for the radius of the circles
- Loft surface
The first grashopper definition which goal was to create a pattern allowed me to control the length and direction of vectors with start points on a rectangular grid. The first parameter was dependent on the distance from the start point of the vector to the closest point of a curve, which was playing a role of an attractor. The direction of the vectors was defined by the tangent of the attractor curve at the closest point. The disadvantage the definition was that in most of the situations cuts were intersecting which in reality would cause braking the material.
|