Grasshopper

algorithmic modeling for Rhino

hi, I am stuck with this definition. maybe you guys can help me out...T___T

basically What I have here is a grid of points that have been repositioned to meet along the blue curve (see attached). which is intended to match the truss joint to the edge of the floor.( similar to what Evolute Tool does )

but then,as you can see now the grid is not uniform, is there a way to "relax" the rest of the grid without changing the surface curvature? so they should be somehow re-aligned along the existing srf UV, however the Points sit on the blue curve should remain intact.

I have attached my GH definition,I tried to keep the Tree path as simple as possible but I am not sure if I am doing it right.

or should I use kangaroo simulation instead?

thank you

Views: 1524

Attachments:

Replies to This Discussion

Hi again! :D

I don't have you Cellulate plug-in...

Having a line determining the point alignment on a surface mean that line will became almost an isocurve of the surface....maybe...

As I did there are 2 solutions: (last boolean toggle)

true - interpolated point while rebuilding surface from points;

        this means the final surface will touch the input curve and the curvature is almost the

        same as original (but not perfect, this is still a rebuild).

false - not-interpolated;

          the final surface will not touch the input curve but the surface nurbs point will...

          the surface will be visibly different from original

P.S. the slider at "50" is to decide how % of divisions to put above the curve an under...

If you need an even more relaxed/uniform point grid, we could divide isocurves "V" with an incremental t (curve parameter) values...

tell if...

bye!

maje

This is a more "relaxed" point grid construction, but without control on how much division above/under the input curve... just, always 50/50... (so even n divisions)

Attachments:

hi, Riccardo Majewski

you saved my live once again buddy, awesome definition!!!, exactly what I was looking for :)))

I guess Iam still lacking the understanding of some fundamental GH component, like the one u use, "Interpolate Data" how does it work? I studied your definition it seems like the component inserts another series of data in between 2 extreme values (0 and 1)?

I got confused on that and scratches my head, do you mind explain it to me, buddy?

thank you :) you have been helping me a lot, mate :))))))

no prob :)

Interpolate component let you extract values from a given list at any parameter between 0 and 1.

For a very short example.

given list "D" of just 2 elements: (6, 10)

note that the first element is always at parameter 0 and last element at parameter 1, so if my parameters "t" are: (0, 0, 1, 1, 1)

my output list will be simply: (6, 6, 10, 10, 10)

but if I send a series of parameters like: (0, 0.25, 0.5, 0.75, 1)

the output will be: (6, 7, 8, 9, 10)

a linear interpolation between 6 and 10.

With more than 2 values in "D", the type of interpolation can change the output, see this:

and for block (blue) and cubic (magenta/pink) type the results would be like this:

Note that I just built points with a sequence of number in X and interpolated datas to Y (see again definition) to have a graphical support for this "explanation".

"Interp" component give as output the same type of objects as you give as input, number>number, integer>integer, even directly point>point (!) and so on...

(P.S. as can you see, I've prepass values to a "number" component before the "D" of "Interp" component; this because "Interp" component doesn't automatically convert text to number.)

Hope my english dont hurt you :P

bye

maje

Attachments:

awesomeee!!! perfect explanation!!! I have saved your image in my special folder "professor GH :P"

I didnt know interpolate component can be so powerful, this is one of the most fundamental component in modifying data, incredibly useful, thanks buddy... 

mmm. do you by any chance have your own blog or a dedicated website for your recent work? GH seems to have thousands of hidden secret that I have yet to discover. cant help but get excited to learn a new stuff.

xiexie :)

nope, I do not have a blog :P

yeah, GH is really amazing...

I have few fantasy so I come here hoping in new challenges, an maybe ideas XD

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service