3
$\begingroup$

I have geometry with multiple curve elements. I need to scale the instance to the length of the curve that it sits on. Each curve is not all equal in length so the instance scaling has to work according to the curves length.

How can I translate the curve length to the scale of the cube so that it is all the same distances when it meets at the respective points?

Blender File

As you can see the Value node controls the distance away from the point.

As I scale the instance it does not respect the curve length

When you increase the scale of the cube you can see they do not meet evenly at the center

$\endgroup$

1 Answer 1

6
$\begingroup$

That can be the following:

enter image description here

Delete faces, split edges, convert to curve.

Make a cube with a given X/Y sizes and 1 unit in Z. Shift it half its height.

Instance on points with only first points of the curve.

Align cube Z to the curve tangent.

Scale on Z with the spline length.

$\endgroup$
1
  • $\begingroup$ Champion! Thank you so so much!!!!!!!!!! Elegant and simple. WOW $\endgroup$
    – Darrenjack
    Feb 12 at 9:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .