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

add FCStd read and write nodes

  • Ревью изменений

  • Скачать
  • Почтовые патчи
  • Простое отличие
Слиты nikitronn запросил слияние github/fork/rastart/master в master Окт 26, 2020
  • Обзор 36
  • Коммиты 52
  • Конвейеры 0
  • Изменения 11

Created by: rastart

new nodes (exchange)

FCStd read - import parts from single or multiple freecad project files filter by name feature

FCStd read Sketches - import Sketches from single or multiple freecad project files filter by Sketches name

FCStd write - write solid or mesh parts in a single freecad project file

FCStd Spreadsheet - read/write parameter from a freecad spreadsheet

Approximate Subd to Nurbs - convert an obj (with subd modifier) to NURBS

FCStd read features

filter by name -dropdown enum list select the part to be imported

read_update -bool enable/disable reading

read_body -bool enable/disable reading freecad Body

read_body -bool enable/disable reading freecad Parts

tool_parts -bool enable/disable reading freecad parts/features inside a solid operation or body ( it read just the final output)

invert filter -bool invert filter selection

input-> file path -path input-> part list -string (OPTIONAL: part labes in string list format) output-> -solid

FCStd Sketch read features

mode -dropdown enum list read mode: only geometry , only construction geometry, both

filter by name -dropdown enum list select the sketch to be imported

max_points -int parameter to resample the geometry by set max points in relation the the max geometry curve length

invert filter -bool invert filter selection

read_update -bool enable/disable reading

input-> file path -path input-> part list -string (OPTIONAL: part labes in string list format) output-> -verts output-> -edges outputs-> -curve

FCStd write features

write_name -string name of the part(s) to be written a suffix _SV_ and a numeration will be added to the name to avoid delete erroneusly parts in the freecad project. The writed parts will be overwrited on node update.

format -enum select mesh or solid format

write_update -bool enable/disable writing

input-> file path -path

solid mode: input-> -solid mesh mode: input-> -verts input-> -faces

FCStd Spreadsheet

filter Spreadsheets by name -dropdown enum list select the freecad Spreadsheet

filter Spreadsheets cell by alias -dropdown enum list select the freecad cell alias in the selected Spreadsheet

write parameter set the node to write mode

input-> file path -path input-> cell in -float output-> cell out -float

important

Code tested both in blender 2.93 (py3.9) and freecad 0.2 (py3.9) More tests required to ensure safe usability.

  • FCStd read node: needs label list input to filter parts
  • FCStd Sketch read node: need testing, complete curve translation and a better label...
  • FCStd read node: write dropdown freecadpart list node
  • FCStd spreadsheet node: read / write mode
  • code refactoring
  • fix for blender 2.93 / freecad 0.20 py3.9
  • add an update button
  • Approximate Subd to Nurbs node added
  • Approximate Subd to Nurbs node sorting algorithm improving
  • Approximate Subd to Nurbs node debugging
  • nodes review / testing
  • add docs
  • ready to merge

update_buttons

Ответственный
Назначить
Проверяющие
Запросить ревью
Оценка трудозатрат
Исходная ветка: github/fork/rastart/master