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

Pickle in python3

$
0
0

Back before Rhino8, we used to rely on pickle to easily serialize custom class instances to file. This was very useful for complex scripting applications. With R8/py3, it is no longer possible to serialize .NET objects (such as Rhino.Geometry.Brep). Does anyone have a good workaround for this issue?

The other impact of this is that we can no longer use python’s copy module to create a deepcopy of a class instance either.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles