Grasshopper

algorithmic modeling for Rhino

Question: Grid Deformation using Curve Instead of Attractor Points

Currently, I have a series of attractor points at varying heights in the Z direction that morph the grid. I'd like to instead use a curve to create a morphed grid that pinches when its closer to the curve and expands the further away it is from it. Does anybody have any insight as to how I could make this happen.

Gradient_Walkway_Test.3dm

Gradient_Walkway_Test.gh

Views: 6574

Replies to This Discussion

use pull point instead of distance, There you can set any geometry as an "attractor" even curves. 

Pull point instead of distance right after my "Crv CP" command? Would I then input my curve as the "geometry" and my original grid points as the "points to search from"?

Yes, however Crv CP will give you the same result, I didn't realize you are using it. The issue is that you do not need the distance component there. Crv CP outputs a distance in the D output. use that. The benefit of pull point is you can use any geometry as well as combinations of geometry (attractor points and curves at the same time)

The problem with doing that is that it is only scaling in the Z direction so there is no morphing of the grid. So it ends up like the image called "untitled 1"

I've started looking at the beginning of the script where the "vect2pt" command was used in conjunction with the attractor points. By using the "pull point" there it is starting to morph the grid along the curve. The data is giving my wonky angles though. (image: untitled 2"

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service