compas-dev / compas-dev/compas
compas2 and compas1 serialization
- Dominant language
- Python
- Stars
- 386
- Forks
- 122
- Avg merge
- 11d 46m
- Merged PRs (30d)
- 1
Description
**Describe the bug**
How **compas1 .json** files can be de-serialized in **compas2 alpha**?
For now I do like this:
* I install compas 1 stable version
* load geometry in Rhino through artists
* change the environment where v2 is installed
* then install compas2 alpha and serialize it again
* then load to compas vs code
A bit tedious process. I am wondering if it is possible to have a serialization process where you can specify the version number of compas.
**To Reproduce**
E.g. repository .json files:
https://github.com/BlockResearchGroup/compas_assembly/tree/main/src/compas_assembly/data/samples
```python
from compas.data import json_load
if __name__ == "__main__":
meshes = json_load('src/compas_assembly2/data_sets/crossvault.json')
```
**Expected behavior**
Working
**Screenshots**
**Desktop (please complete the following information):**
- OS: Win
- Python version 3.11.6
- Python package manager conda
Contributor guide
Assessment
This issue has not been assessed yet.