Grasshopper

algorithmic modeling for Rhino

Hi. I am new to grasshopper and I am not used to how it works and how to solve things. Lets describe an easy problem and how to do it properly.

1)

You have a line. You know where it starts (say 0,0) and you know in which direction it is supposed to go. You then want to scale this line (I do a number slider) to make it become shorter or longer. What I did was to make 2 points, draw a line between them and then do scale. Obv the points still exists where they are so you cannot scale it like that, whatever you put in the scale slider keeps it in the same place, which obv makes sense but I dont know how to do it. How to do what I want?

Views: 1307

Replies to This Discussion

Hi!!!

you scale only the line, not the points. turn off the preview from the initial points and

after the line-component you need for example "End points (End)".so you get the new start and end point from your line.

best regards

Simon

To be a bit more specific:

Grasshopper doesn't modify geometry. It always creates a modifies copy all original data will persist. you need to disable the preview of the original data. Disabling the preview of anything other than your current result is generally a good idea.

For your problem: If you know startpoint, direction and intended length, you can also use LineSDL and some math components.

Thanks for that, i got line SDL and it worked. Now I got a different question regarding manipulating curves but ill start a new thread. Thanks again for the help!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service