Grasshopper

algorithmic modeling for Rhino

Hi, for some reason I get a 'must be a GUID'-type error when trying to offset the polylines curves in this script. I've tried the various 'coerce' methods but without success so far. Thanks for any suggestions. 

Views: 955

Attachments:

Replies to This Discussion

Hi Andrew

I fixed your file and added a few suggestions about what was not right.
As for the time being there is no debugger, you need to use print(), type() and dir() to discover what you are dealing with. Make sure you know what these functions do. Also, read the help of the Python component. Last, if you did not do so yet, you can download the RhinoScript 101 for Python.

I hope this helps,

Giulio
--
Giulio Piacentino
for Robert McNeel & Associates
giulio@mcneel.com

Attachments:

Thanks a lot Giulio for this help and those multiple references. Helps a great deal!

Hi Andrew

See this link, I hope this helps. http://discourse.mcneel.com/t/rs-offsetcurve-problem/26052

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