algorithmic modeling for Rhino
Hi,
Could I have a idea about keeping or saving 'data tree list' of geometries through the 'back and forth process'?
Let's say, First I divide surface and have points on surface with datatree structure.
Then, I baked points, and moved some points in rhino manually.
After that, I want to bring in these points with previous datatree structure in GH.
Just wondering, how I can derive the points ID from GH before baking?
Thanks for your help.
Tags:
Hi YJ,
two approaches:
1) put additional data on the points when you bake, either as an object name or as UserStrings. Then when you read the points back in, parse this data and use it to reconstruct your data tree.
2) maintain a database of GUIDs. Basically, you create a DataTree of Ids and you make sure that every point that is baked has its ID stored in this tree. Then you can match it against point objects in Rhino at a later stage.
The first is probably easier to program.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by