Grasshopper

algorithmic modeling for Rhino

Dear all,

I am new to kangaroo and I wrote a script about optimizing the glass panels on a roof surface (in the 3dm file) 

Turned out Kangaroo physics couldn't create any geometry (null point) when I try to run the script.

Please advice.

Views: 643

Attachments:

Replies to This Discussion

i worked on my script again and I found out that it is the planarizing component making the errors, but I couldn't fix it still. Also, is there a way to make every panel as uniform in size as possible? using the spring component?

Hello Wiley,

The planarization component works on the points of a polygon, which must have at least 4 vertices.

In your definition it is trying to planarize the individual line segments which have only 2 points.

Something like this should work:

Also you may find it useful to add some other forces to keep the shape from changing too much while planarizing - such as anchorsprings to keep points near their original location, or smoothing.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service