algorithmic modeling for Rhino
I am very new to Grasshopper. I need to produce a curve with rods sticking out along the curve. I cant seem to change the rotation of the circles so that they point in a sideways direction. I have attached the v tiny definition that i have started. I have tried rotating the circles by changing the axis, but i cant seem to get it to move the circles 90 degrees, so that their face is pointing sideways.
The Rhino file shows what I'm looking to achieve in 3d, with the curve being a frame on the longitudinal edge of the spiral. I would like the circle to rotate so that they are perpendicular to the curve, and then i can offset them to create each rod. I have left a curve in the rhino file to use with the ghx. file.
I'm really interested in the producing a ribbon effect with the rods, and altering the length, and thickness of the rods as they spiral.
I really like the Tape worm definition that someone created. Is there any way someone can help me achieve this with rods?
Thanks Claudia
Tags:
Hi Claudia,
I would approach this by setting up my planes/frames at each point so that I could create circles in situ with a known Axis system.
1) Use the Perpendicular Frames component instead of Divide
2) Re-orientate the Plane so by swapping its axis system over using the "Plane Components" component and the "Plane" component
3) Create Cirlce
4) Extrude the required amount
5) and Finally Rotate the geometry if you need to tweak the direction perpendicular around the curve
Thanks Danny - Big help. I definitely need to do some tutorials!!
Is there anything you have added into the components? any formulas?
Hi... thanks for the response.. :) what im looking to achieve is a varied length of tubes.. which i guess you can do here by creating the tubes in between the two curves. It could be good to vary the circumference/thickness of the tubes...
Claudia,
I would say you should update to the latest GH version 0.8.0004. If you still have problems with opening the def let me know. I tested the previously posted file and it opens correctly in 0.8.004.
I was assuming that you would change the length of the tubes by varying the separation of the two input boundary curves. How were you thinking of doing it?
Chris
Chris, could you go over the last part of your nice definition, why you used that Matrix Transform or Flip at the end?
Thanks!
Andres,
Coming out of the circle components you have three separate trees. You have the one tree (zero index) having one branch (zero index) and N items on the branch which in this case is 16 items. {0;0} N=16. In order to get the loft component to work correctly you need 16 trees, each with one branch having 3 (circle) items on it (one from each initial tree). The items also need to be in a particular order so that the loft 'makes sense' visually. Using the Flip component gives you one tree (zero index) with 16 branches (0->15) with one item on each branch. {0;0->15} N=1. Using the Merge component all corresponding indices of the three input trees will merge (first process) and concatenate their respective items (second process). This is why it's important to have tree/branch structures that match before merging them. At least that's been my experience. You end up in this case with 16 trees each with one branch having 3 items on it. Within the branch these items are indexed according to the order in which you connect the three lists to the Merge component (ie. A,B,C; B,C,A,etc). I can't say for certain that this is a complete and accurate explanation but it's how I've been considering it. Hope it helps. It can also be described in terms of matrices but I'm trying to stay true to the language of GH.
Chris
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by