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

API for "Surface curvature lines"

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

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

Created by: portnov

As it is that questionable, I decided to move it to Sverchok-Extra. As a side feature, it allowed to use ODE solvers from scipy.

This PR contains only some API updates required for the node in Sverchok-Extra.


This node draws principal curvature lines (https://en.wikipedia.org/wiki/Principal_curvature#Line_of_curvature) on a surface.

I'm not yet sure how usable this node is, because there are some problems:

  • It is relatively slow, especially if you want high precision
  • It outputs just series of points, not Curve objects (though one can use Polyline or Cubic line nodes to make interpolated curves)
  • Lines of curvature may sometimes take a 90 degree turn - this is due to differential geometry fundamentals: it does not differentiate "first" and "second" curvature directions, so at umbilical points they are indiffirentiable at all
  • Lines of curvature may unexpectedly be directed to the opposite direction - again, because differential geometry does not differentiate between a direction and it's opposite.

Let's this be in a PR for a while, see for opinions and test results...

Screenshot_20200517_120358

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