Grasshopper

algorithmic modeling for Rhino

Dear all,

I'm trying to edit a trimmed surface by moving its control points using Python, but I can't get to the result. Here what I tried:

- Rhinoscript: rs.SurfacePoints gives me the points and then I would move the control points and bake the new surface. Unfortunately, by doing so, I loose trim information

then, I noticed that editing control points in Rhino don't affect trim information so I tried using rhinocommon:  

 - Rhinocommon: by using Rhino.SurfacePoints, and srf.Points I get the control points but then I don't know how to edit them without losing trim information, plus, as I am more confident with rhinoscript, I don't know exactly how to handle Rhino Common objects (that I can't use as rhinoscript input I guess) and I was suggested not to mix rhinoscript and rhinocommon.

Any idea?

Thanks in advance for your kind help!

Views: 880

Replies to This Discussion

Thanks Tom,

the problem here is that I have the input trimmed surface (it's one of those Lamborghini sample cars) but not the brep that trimmed that surface! Hence, I have nothing to re-apply after editing the grips.

G. 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service