algorithmic modeling for Rhino
Hi everyone!
I'm trying to make a series of extrusion for diamond geometries on a dome shaped surface using attractor point.. I want to make the extrusion length of each diamond geometry controlled by their distance from the attractor point and to be able to single out a certain section for controlling the extrusion lengths of the diamond geometries. However I couldn't figure out how to apply a attractor point to the system. The commands in purple group is for attractor point. Can anyone help me with it? Thanks a lot! ( Attached is the file I'm working on)
Tags:
This is no problem, but you have a small mistake in how the attractor works out the distance. You are trying to find a distance between a point and a vector. A vector discribes a direction and a length, but is independent of a location. Therefore working out the distance that way will not work.
What you have to do is to use for example the distance between the point and the center point of each diamond. Also you dont need to have a remapping that is so complicated. Simply find the min and max value of the distances and remap those to whatever domain you want. Then simply multiply the extrusion vector for example.
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