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

Profile node: Interpolation command

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

  • Скачать
  • Почтовые патчи
  • Простое отличие
Слиты nikitronn запросил слияние profile_interpolate в master Ноя 28, 2022
  • Обзор 1
  • Коммиты 3
  • Конвейеры 0
  • Изменения 6

Created by: portnov

This adds a new command, @I / @i, to the syntax of Profile Mk3 node definitions.

@I / @i command is an extension of SVG syntax. It defines a curve as interpolating NURBS curve through the provided list of points. Current point, at which the pen is located at the start of command, will be considered as first point to be interpolated. If z is specified in the end, the curve will be closed (cyclic); otherwise, this command will define an open curve. If special keyword, @smooth, is specified, then, while computing interpolation curve, this command will consider previous curve segment, defined by previous command (C/c, S/s, Q/q, T/t), if it is of the same degree, and draw the curve in such a way that in the starting point it will have the same tangent vector, as previous curve had in the end point; in other words, at the meeting point of segments, the curve will be smooth. Providing z and @smooth for the same @i command is not supported.

Screenshot_20221128_231313 Screenshot_20221128_230736 Screenshot_20221128_232046

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.
Ответственный
Назначить
Проверяющие
Запросить ревью
Оценка трудозатрат
Исходная ветка: profile_interpolate