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

"Curve offset" upgrade

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

  • Скачать
  • Почтовые патчи
  • Простое отличие
Слиты nikitronn запросил слияние curve_offset_upgrade в master Июн 24, 2020
  • Обзор 1
  • Коммиты 6
  • Конвейеры 0
  • Изменения 7

Created by: portnov

  • Add variable offset mode - offset amount is controlled by another curve;
  • Add "Specified plane" algorithm; it selects offset direction vector so that it satisfies two conditions: 1) it is perpendicular to curve's tangent vector, and 2) it lies in so-called "offset operation plane", which is specified by user by providing the normal vector of such plane (in other words, offset direction vector is perpendicular to normal vector provided by user). This algorithm is supposed to give good results for planar or almost planar curves. The resulting curve may have twists in places where original curve's tangent vector is parallel to offset operation plane's normal (i.e. tangent is perpendicular to offset operation plane). Hint: you may use "Linear approximation" node to automatically calculate normal vector of offset operation plane.

I had to make an Mk2, because of new "OffsetCurve" input, required for variable offset mode.

Screenshot_20200624_222156 Screenshot_20200624_230223

Preflight checklist

Put an x letter in each brackets when you're done this item:

  • Code changes complete.
  • Code documentation complete.
  • Documentation for users complete (or not required, if user never sees these changes).
  • Manual testing done.
  • Unit-tests implemented.
  • Ready for merge.
Ответственный
Назначить
Проверяющие
Запросить ревью
Оценка трудозатрат
Исходная ветка: curve_offset_upgrade