Grasshopper

algorithmic modeling for Rhino

Hi I am super new to gh and rhino really but for my dissertation I am trying to model a roof which maintains a quite high level of control over its geometry.

My problem is simple I want to be able to create a curve that I maintain control over its control points through sliders in grasshopper (one for each control points' x coordinate, y coordinate and z coordinate - for accuracy)  rather than clicking and dragging in the rhino interface which is all I have been able to do so far. 

At the moment I have been using the 'interpolated curve' if that is significant at all.

I have tried specifying various points individually in grasshopper then using these points to specify the curve, however, the curve requires the input (vertices) as a list? so i cannot add each of my points individually and so i never have enough verticies to specify the curve.

I suppose my real question is whether there is a way to make multiple points a list? and so use them in this way?

Thanks

Ken

Views: 2787

Replies to This Discussion

Hi Kenneth, maybe something like this will work:

If you want to increase the control points of a particular curve, besides changing this value on the slider, you also need to double click on each of three Gene Lists (step 1) and then edit the value of "Gene count" (step 2) according to your newest number of control points:

Attachments:

thanks for your really fast reply!!!!

yes i will check out this gene lists thing and see if that works - thanks mate

Ken

Not to take anything away from djordje's solution...

I find this a very relevant topic for GH.

When you want to use no Rhino at all but instead do all in GH, for obvious reasons, then:

(1) point selection (in most cases = creation, either anew, or depening on previously created geometry) will keep you busy in most cases

(2) point control results in an inflationary amount of sliders which are impossible to keep track of. (no offence to the posted solutions above but it should be obvious that what you suggested works in theory yet is far from practical)

To help myself I usually create boundary rectangles in which all control points of my curves (I usually try not to go beyond 3pt-degree=2 curves) are evaluated in 1d (slider) or 2d (md slider) space.

This allows to directly control a point from within GH. Since it uses normalised parameters, it is also possible to scale the curve (i.e. its boundary rectangle (the dotted one)) without having to change the parameters themselves.

Still, I don't find this a satisfactory solution. It's very unfortunate how MD sliders will not allow more than one point in them at this point. The Gene Pool component does, yet it is of course only one dimensional. My solution is also troublesome because it creates a hierarchy between the boundary and the points within them, so sometimes you will first have to change the boundary and then your MD slider, which is way too complicated and impossible too soon once you add a bunch of curves.

I would be happy to read what other people help themselves with. Any tipps and tricks for economic and convenient control point management in GH?

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