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

Curve offset on surface

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

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

Created by: portnov

This node does the following:

  • Takes a Surface and a Curve, which is supposed to be in UV space of the surface;
  • Draws a curve which is a result of mapping the provided curve into 3D space by the surface (similar to "Curve on Surface" node works);
  • Then offsets that curve by specified amount, while remaining within the surface.

In some simple cases, it is possible to perform similar offset operation by offsetting the original curve in surface's UV space, and then mapping the result into 3D space. But as surface may stretch or compress it's UV space in different proportions in different places, in any non-trivial case the result would be very imprecise. This node, on the other hand, guarantees that the distance between the original curve and it's offset will be equal to specified amount with good precision.

Screenshot_20200624_154930

Screenshot_20200624_172505

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_on_surface