algorithmic modeling for Rhino
Hi to all,
I'm new here and I hope this is the right section to post this question.
I'm learnig GH by my self and I'm not able to solve this problem.
What I need: a definition to create a kind of ring by a given diameter and some shapes.
What I've done:
1. diameter definition: to find the final object diameter
2. rails definitions: from a initial rails and diameter definition I've find a scaling factor
in order to create the final rails with the same form of initial rails but with the wanted distance from the center.
I find the scaling factor using the ray and the distance of a projected point of initial rail to the plane XZ
3. shapes definitions: like the rails definition. I used more than one shape because sometimes I need particular forms along the path.
The sweep 2 rail component gives me a no good result
I tried the options inside the components in order to manipolate the data, but I don't found the solution.
If I bake the final rails and shapes, the sweep 2 rail in RH (selected object) works well, but in GH no (red object).
I attach the RH and GH files for all who can help me
Thanks
Filippo
Tags:
Hi Filippo,
the first profile curve needs to be at the rails' start point(s), in this case at the 'bottom' of your rails. You could accomplish that by Shifting the current list of profile curves by 1, with wrap option set to True. Or better: re-attach the curves in the correct order.
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