Grasshopper

algorithmic modeling for Rhino

Is this a bug, or did I miss something?

Views: 736

Replies to This Discussion

Curve offsets can result in multiple outputs for a single input curve. It was always thus.

--

David Rutten

david@mcneel.com

Of course. Thanks.

I needed to group corresponding pairs of curve+offset(s) to create a boundary surface out of each pair. I suppose a proper approach would be to graft the tree of curves (before offset) and then weave with the offset result.

Since you are offsetting quads, it's likely you can get away with using offset loose. For each curve it will output a single item rather than a list so the data structure remains the same.

If you then want to have branches with two elements, the original and the offseted curve, you can:

- Connect both of them to a merge component, graft the inputs. Might need to use simplify.

- Connect both to an entwine component, then use flip matrix.

- Graft the input of the offset loose component, offset using a list of two values {0, offset distance}.

- Use weave and then partition list.

- Like the first one but using insert item rather than merge.

- Use weave and then path mapper with {floor(i/2)}

- Use merge and then path mapper with {i%(item_count/2)-1}

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