Grasshopper

algorithmic modeling for Rhino

Does anyone know a nice way to morph a rectangle so one of the shorter sides becomes shortened...

I want to create a draft angle on the rectangle, preferably with slider control on the angle.

I could do this by getting the corner points and moving the bottom 2 points, then joining back together, but I wondered if there was a nicer way of doing this? Been looking in the Transform menu but not seen anything yet.

Views: 1225

Replies to This Discussion

Attachments:

ah, nice! I've just been trying the spatial deforms but they curve the sides!

Thanks!

(just waiting for the dreaded Not Responding situation to clear after plugging curvy rectangles into the rest of my definition then I'll try that!)

Zzzzzzzz.....

To be formal about this, I guess I should have used 'Control Points (CP)' instead of 'Discontinuity (Disc)', though am a little surprised this works considering there are five control points, not four...

Attachments:

That was the reason I avoided PDeform in the first place... Control points made no sense to me for a rectangle!

It's five points because the first and last point are in the same place. If the polyline curve which represents the rectangle only had four points, it would be missing the fourth edge.

And apparently when two control points are in the same place like this, 'PDeform' moves both of them as if they are a single point?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service