Grasshopper

algorithmic modeling for Rhino

Hello, i'm still trying to figure out how grasshopper works and have meet a problem. I have a surface that has been split using som plans, i get a list of surfaces out, and to thise surfaces i want to add a normal vector, but when I use the eval surface componet, it only give me one point even do I have 200 surfaces, i can find the center point to alle surfaces using the area command, it is only the normal vector i can't find, i hope some of you know how to do it.

Thanks 

  

Views: 688

Attachments:

Replies to This Discussion

If you have not solved it yet. I have added a little script to your code which shrinks the surfaces. When you trim surfaces it keeps the underlying data unless you shrink the trimmed surfaces to the new edges. You where right to reparametrise the surfaces but as they where not shrunk its was looking at the same point on the original 60 + times.

import rhinoscriptsyntax as rs

s = rs.ShrinkTrimmedSurface(x, True)

I don't have time now but I recognise the split code you are using, i did not write it but should be able to add a switch to it so you can shrink the trimmed surfaces before the leave that script.

Attachments:

It appears to me that you got off track here by using 'Crv CP' instead of 'Srf CP'?

Attachments:

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