Grasshopper

algorithmic modeling for Rhino

Hey guys, I'm a noobie at GH compared to many of you guys, and I've got a question.

Based on tips and definitions I've read on here, I've managed to create stairs from two 2d curves acting as stair boundaries. However, some parts are kind of cumbersome. I'm not convinced that the way I did it is the optimal way of working the logic out.

An example being figuring out the boundary curves in order to create a surface. Do I really need four list components?

Another question is about parameter (t). I got this definition from a post on here, and I'm wondering if i went through that entire sequence in order to get the parameter (t). Is there another way?

Thanks all.

Views: 4159

Attachments:

Replies to This Discussion

Hi Jacob.

I think that the definition looks good. To reduce the use of list components, you could work with branches for the boundary curves and just that the first and last (click reverse list) item of the line list. 

About the parameter t, you don't really need to it this way, but I kinda like it. You could just use area component to get a point at each split surface and then sort the points according to the cartesian system (sortPoint component), this outputs the order of items and you use this as input in a ItemComponent.

However this pretty much just does the same as the other definition, but you will have fewer components, if that is what you want :) Also one can right click on inputs and use "Expression" for +1 etc., but again, the definition will do the same, and you might just achieve that it becomes less "transparent" for other users.

I hope this might help a little with your questions. 

Cheers 

Rasmus

Attachments:

stair%20test.3dmI am trying to use this script with the attached stair file.

I am having issues getting it to cooperate, any ideas?

Also how would i add a nosing profile to this?

Thanks in advance...

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service