• S sverchok
  • Информация о проекте
    • Информация о проекте
    • Активность
    • Метки
    • Участники
  • Репозиторий
    • Репозиторий
    • Файлы
    • Коммиты
    • Ветки
    • Теги
    • Участники
    • Диаграмма
    • Сравнение
  • Задачи 148
    • Задачи 148
    • Список
    • Доски
    • Спринты
  • Запросы на слияние 21
    • Запросы на слияние 21
  • CI/CD
    • CI/CD
    • Конвейеры
    • Задания
    • Расписания
  • Развертывания
    • Развертывания
    • Окружения
    • Релизы
  • Пакеты и реестры
    • Пакеты и реестры
    • Реестр пакетов
    • Реестр контейнеров
  • Мониторинг
    • Мониторинг
    • Инциденты
  • Аналитика
    • Аналитика
    • Поток ценности
    • CI/CD
    • Репозиторий
  • Wiki
    • Wiki
  • Сниппеты
    • Сниппеты
  • Активность
  • Диаграмма
  • Создать новую задачу
  • Задания
  • Коммиты
  • Доски с задачами
Свернуть панель
  • nikitronn
  • sverchok
  • Задачи
  • #4096
Закр.
Открыто
Задача созд. Май 17, 2021 пользователемnikitronn@nikitronnВладелец

Import / exprot json for new node groups

Created by: Durman

I'm ready to reimplement serialization into JSON to include data of node groups. Also this version won't support import of monads therefore whenever exported tree includes monads old import version will be used. Also I see sence to consider approach for exporting data blocks (text, mesh). Previous step #3560

Here is how current structure of JSON looks like:

{"export_version": "0.10",
"framed_nodes": dict(),
"groups": dict(),
"nodes": dict(),
"update_lists": []}

I'm thinking to change it in the new version and make it looks more like structure of Blender bpy.data module.

{"export_version": "0.20",
"node_groups": {  # it can include more than one node tree (main node tree + node group trees)
    "My tree": {
        nodes: dict(),
        links: dict()}
"texts": {
    "My script": str()}
"meshes": {
    "Some mesh": dict()}}

With this format it will be easy to add new data blocks support if there will be an interest in it.

Ответственный
Назначить
Оценка трудозатрат