algorithmic modeling for Rhino
Dear all, nice to meet you all.
I am new to this forum and thanks for the discussion page here for me to learn more about grasshopper and rhinoscripts.
Recently I am having a setting for deforming a 3D surface with reference points as shown in the picture, because I am aiming at a landscape project there.
My tutor thinks it's a good trial but he also doubts if it is also possible for having attractor points instead of just repulsor points there for having more variation.
And thus in my mind is TO set up a switch between attractor and repulsor points by a single click there.
I have find a similar switch setting somewhere else but I am having problems connecting it with my existing setting there. Would anyway help to see if there are any ideas?
Thanks :)
Tags:
Hi Bobby,
I attached a ghx file which allows for custom weighting per attractor. Negative weights will push a surface down, positive weights will pull a surface up. It doesn't have any of the radius scaling logic to keep it simple, you'll have to adjust your GraphMapper domains to get a different attractor range.
The file has been saved in the next version of Grasshopper so you'll get a warning upon opening, but hopefully it works anyway.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Hi David,
Thank you for your help.
I try to open your attachment and grasshopper (0.8004) said it has version error.
The script can still load but it lacks one of the component "Move" there, i.e. the item "move surface control points".
I just wonder it is a new tool for version 0.8005 or an external plug-in for me to open that.
Again thanks for your help there. I start to love working with grasshopper already :)
Hi Bobby,
oh yeah I forgot. It's the same as the old Move component except with an additional output. You can just insert Move and hook it up the same way (G input goes into the P output of the Divide Surface component).
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Hey David,
Thank you for your reply there. If I connect the P Output of Eval to the G input of move, then the curve surface is generated there, though I would use slider to control input there :)
One more question is that I just wonder if a "line" is still valid for deforming the curve surface, as well as the situation when lines and points are both present, contributing to the overall affecting force.
How should I connect the grasshopper for such a compound case then?
Thanks :)
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by