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

Adaptive plot nurbs curve

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

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

Created by: portnov

Given a Curve object, this node generates a mesh representation of the curve in such a way, that each edge declines from corresponding curve segment for a distance less than specified tolerance. Thus, in some parts of curve, vertices can be far from one another, while in "most interesting" parts of curve, vertices will be very dense.

This node can work with NURBS and NURBS-like curves only. For arbitrary curves, consider use of "Adaptive Plot Curve" node.

The following algorithm is used:

  • The whole domain of curve's T parameters is divided into N even parts. Number N is usually very small, such as 2 or 3.
  • For each subdomain, it is checked if the segment of the curve is close enough to straight line segment. If yes, then algorithm is done for this segment. If not, then this segment is subdivided again into N even parts.
  • All generated points are connected to make a curve-like mesh object.

Screenshot_20211017_155402 Screenshot_20211016_182137

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