Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Store Brep as a UserString or as a geometry UserDictionary

$
0
0

Hi,

I have been using Rhino UserString (GetUserString SetUserString) quite a lot and find it super useful. Very often I store additional geometry such as Mesh by serializing mesh.ToJSON()

How does it work with Breps? Can I serialize and deserialize BREP to JSON and store it as a user string? Or I should use UserDictionary to store the object.

The reason to ask this question, is that in Rhinocommon I see Mesh.toJSON() method but there is no BRep.toJSON() method.

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles