Grasshopper

algorithmic modeling for Rhino

I've been trying to reconstruct a mesh a certain way and need to respecify the faces.  I thought that being able to reconstruct a string similar to the string that is outputed by the Faces node of the Decompose Mesh component would work, but unfortunately it doesn't.  Would it be possible to add the capability to parse a string that's in that format ("Q{intV1;intV2;intV3;intV4}") so that you could manually reconstruct faces if need be?

Views: 296

Replies to This Discussion

Done.

The parser will be slightly more flexible in that it will accept any kinds of brackets and it will ignore any text in front or behind the first and last bracket. So a string like:

nonsense{0,1,2}bullcr*p

will work just fine.

--
David Rutten
david@mcneel.com
Poprad, Slovakia
Sweet. Thanks David. Will it matter if the separator character is a semicolon (;) or a comma (,)?
Great option!
Both will work, but if you decide to use expressions as vertex values I recommend semi-colons.

--
David Rutten
david@mcneel.com
Poprad, Slovakia

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service