Grasshopper

algorithmic modeling for Rhino

Hi everyone. 

I was wondering if I could get your help with a roof model I'm working on.  The roof is L-shaped(a vertical line and a horizontal line), with the a back straight line and a front curvy line.   This curved line I want to create it by dividing the curve and moving the points with a sin function.  I can do this with a straight line/curve, but I can not figure out how to do it with an L-shaped line/curve, since I need the vertical line points to move in the x-plane direction and the horizontal line points to move in the z-plane direction.

Also, the roof has at one point a section that widens up.   I want to create a perpendicular grid on the surface, but my uv points keep turning curvy on this section.  How can I keep the points straight?

I hope my sketches are easy to understand.

I would greatly appreciate if someone could help me with this.

Thanks!

David

Views: 1287

Attachments:

Replies to This Discussion

The problem is definitely the corner. It's not properly sine-shaped. I attached a file which does sine-wave distortion of a polyline, but I couldn't think of a proper corner solution yet.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:

Incidentally, if you fillet the corner you can get a continuous curve:

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attached two other approaches. How to create sine waves between two boundary curves. Approach #1 divides both curves in equal segments, approach #2 divides one curve and then find the nearest points on the other curve.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Attachments:

RSS

About

Translate

Search

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service