TLDR: augment rhino/gh’s existing serializer to export/import plaintext intermediaries for version control?
So I was working on some mechanical stuff with a Python solver feeding into Grasshopper. It hit me that the .py is literally the only thing I can version control. Oh well, not quite. Once I paste it into a cpython battery in gh, it’s no longer version controlled either. gitlfs can save 1000+ binary revision all the way to 20GB, and it won’t help one bit.
i feel kinda depressed and defeated seeing those past attempt, rw3dm, various JSON initiatives on this forum from community reinventing the serializer all get abandoned. So apparently rhino3dm, OpenNURBS and some willpower isn’t quite enough on their own. Probably no one but mcneel can make it happen.
those NURBS curves and surfaces are literally formula inside Rhino environment but a incomprehensive blob from outside to git.
say mcneel already have the serializer inside rhino, why not officially augment it so it can export and import the content to plain text directory?
something like
3dm_dont_edit_by_hand/
├── document.xml
├── layers.xml
├── groups.xml
├── blocks/
│ ├── block_001.xml
│ └── block_002.xml
├── objects/
│ ├── {guid}.xml
│ ├── {guid}.xml
│ └── ...
├── materials.xml
└── annotations.xml
gh_dont_edit_by_hand/somedirs
src/
└── buncha_python.py
then gh GUI editor just change from embedding literal python string to referring the relative path?
maybe if we get fancy like kicad, something myproject.rhinoproj as the entry point?
thought this would save users from despair and make a very good business case. I suppose companies will vastly prefer this method(as in repo on github) for cloud based collaboration vs those cad in browser running at 5fps like fusion and onshape?
in any case, i just feel it’s the weakest point that rhino’s file formats are incomprehensible from the outside makes it very hard to work on large projects.
what do you think?