Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Curve Segment" node: add "NURBS if possible" flag #4740

Merged
merged 2 commits into from
Nov 4, 2022

Conversation

portnov
Copy link
Collaborator

@portnov portnov commented Nov 4, 2022

Refs #4722.

Depending on NURBS implementation being used, calculation of new NURBS curve representing the segment of initial NURBS curve can give unexpected results in some special cases. So, let's add a flag to disable such calculation and fall back to trivial algorithm of just taking a subdomain of initial curve - that will return a generic Curve object instead of Nurbs, but will not depend on nurbs implementation.
Since this is useful only in rare cases, I put this flag to the N panel.

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.

@portnov portnov added the NURBS label Nov 4, 2022
@portnov portnov merged commit d3ea178 into master Nov 4, 2022
@portnov portnov deleted the curve_segment_native_flag branch November 4, 2022 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant