algorithmic modeling for Rhino
Dear all, I'm trying to achieve the following: given "curve A", copy "brep B" along that curve with uneven spacing, a fixed number of breps, and individual rotation for each one.
By searching the forum, so far, I've come up with this: my definition allows the brep to be copied a determined number of times by means of a step slider. However:
- how can I make the "array" (lets call it that) start at a given xyz point? (right now it starts in a point which has to do with the distance of the curve and brep from the origin, if I'm understanding things right);
- how can I set a fixed number of breps to be copied? Ideally I'd like the steps slider to control the number of breps;
- finally: how can I assign individual rotation to each copied brep? I think it must be something between the "eval" and the "move" components in the definition, but I'm not sure...
Tags:
will check, thanks!
Thank you very much! I'll learn a lot from your definition thats for sure. I just need to figure out how the "rotation angle step" works since I'd like it to represent a rotation degree (for eg. if it displays 90 I'd like the last object in the array to be rotated 90 degrees when compared to the first array object). I'll try to find a solution.
And a bonus using pufferfish (whats interesting because of quaternion rotation - the rotation will always go in the direction of least resistance - so going past 180 the system will rotate the other direction overall) So if you want something that keeps spinning and spinning use the above method. If you want something that always interpolates directly from one angle to the other then use this one.
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by