I want to split a curve into smaller segments using its own points as a divider. Seem like a simple thing to do but i can't find good solutions for it.
I managed to do it somehow with 3 add nodes - one for deleting the curve and keeping the points. The other is for “groups of N points” and using 2 as a number. This method creates a curve between points 1 and 2 and the between 3 and 4, which creates empty space between 2 and 3.
The third “add” node replicated the same approach but i inverted the point number with a sort node before that, so it filled the empty space. After that i merged the result with a merge node …
Haven't tested it extensively, and it seem to work …. but is there any better way of doing this?
EDIT
It breaks once i apply it to a non square shaped curve …
I am trying the polycut node which cut the specified points but i am not sure how to tell it to cut all points. Maybe if i put it in a loop but i am still trying to make it work because i am still learning … so any help would be most welcome.
The best way to split curve at it's points ? [SOLVED]
7499 2 1- SnowballWar
- Member
- 39 posts
- Joined: March 2020
- Offline
- zengchen
- Member
- 77 posts
- Joined: Feb. 2017
- Offline
- SnowballWar
- Member
- 39 posts
- Joined: March 2020
- Offline
-
- Quick Links