Grasshopper

algorithmic modeling for Rhino

import rhinoscriptsyntax as rs

line = rs.AddLine ([0,0,0],[10,10,10])
circle = rs.AddCircle ([0,0,0],5)

Works fine in the old Python component but with the latest component the circle won't appear.

I offset both the line and the circle +1 in X but only the second line appears:

Views: 260

Replies to This Discussion

HI Nik

You can not use out to output

Indeed, I will remember to treat 'out' special in the future. Thanks so much! Mousing over my renamed 'out' would have given me the clue since it is still labelled 'out' as an empty text parameter. I'm glad the other side of the world was so fast to help at 2AM in NYC.

You can upload a file?

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service