Grasshopper

algorithmic modeling for Rhino

I just tried to create a closed polyline from one referenced point and three moved copies of that point, but got the runtime warning, "Insufficient points for a polyline." The polyline component resulted in two values: Null, and a closed polyline excluding the referenced point. It seems like this new beta doesn't want to make a polyline from a combination of referenced and native points. Any thoughts?

Views: 2764

Replies to This Discussion

That's because the points are stored in two different paths, one for the referenced point and another for the moved points. The polyline component will try to create a new polyline for every path. Use the param viewer located under params -> special to see the path structure of a list. If you want to combine the two paths into one, right click on the polyline's points input and select 'flatten'.
Vicente is probably right, but this should only happen if your motion vectors have a path which is more complicated than {0}.

Is this true? Can you post a minimal image of your definition with a Param Viewer object attached to every output parameter?
Flattening did the trick. Thanks again.

@David, unless there is a free way to get a screenshot (without pasting into photoshop) I can't get one up here right now. Working on getting photoshop for my pc side.
You can use MS Paint. I'd argue it's even better than photoshop for posting screenshots since it loads faster.
Fair enough, I'll add an export option for making screenshots of the canvas without the need for pixel editors.
Excellent. I have Paint working for the meantime.

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