2
$\begingroup$

Tried searching a bit but could not get exactly what I wanted. Thought I'd try my luck here.

I have a multi-spline curve. I want to convert the control points (handles) of these curves to points so I can instance an object at those particular points.

Could anyone share a setup that does this? I need the instanced points to be exactly where the control points of the existing splines are and not smoothly distributed.

Here is my current setup. This distributes points on the splines but not exactly at the handles. The factor controls it but I need to understand how it works at the control points only.

enter image description here

Thank you in advance.

$\endgroup$

1 Answer 1

4
$\begingroup$

Welcome here,

The control point is not the curve handle point. If you need to add instances to control points, you have the amount and their positions rigt from the bezier curve so you only need to feed these points to "instances on points".

I added the curve handle points for sure as well.

hope it helps!

nodes: nodes

blender 4.32

$\endgroup$
5
  • $\begingroup$ Hey, this seems to be what I am looking for. I'll give it a shot. Thank you so much. Also I was just looking to instantiate on just the center of the handle and not the side handles. How would I go about skipping those? Thanks again. Appreciate the quick response and help. $\endgroup$ Commented May 15 at 7:55
  • $\begingroup$ just delete the part called curve handles. $\endgroup$ Commented May 15 at 7:59
  • 1
    $\begingroup$ Great solution, I was working on just the same when the site refreshed and told me there is a new answer :D Just a quick note: you do not need the Compare node set to Equal to check the Duplicate Index, the index itself is either 0 or 1, so you can plug it directly into the Switch. My answer was a bit more complicated, I instanced 3 points on the control points and set the position of left and right handles by comparing the index modulo 3 to either 1 or 2. Your solution is better because you keep control points and handles separate from each other. $\endgroup$ Commented May 15 at 8:22
  • 1
    $\begingroup$ 0/1 right, often missing these obvious simplifacations, good point! And duplicating the points without capture attribute and do the instances as last thing simplifies it even more, but just for visualization I used this setup... $\endgroup$ Commented May 15 at 8:25
  • $\begingroup$ This does it. Perfect. Thank you so much. $\endgroup$ Commented May 15 at 10:05

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.