Can't set stroke animation start point on a rectangle

Hello,

I’m trying to create a simple stroke animation on a square curve but I’m struggling to change the starting point on the curve.

I’ve added a Curve > Simple > Rectangle. On top of it I have a Curve to Tube modifier + Geometry Node (see screenshot below).

Currently it starts from the upper-left vertex:

What I’m trying to achieve is this:

I need the animation to start from the midpoint of the baseline, go around and come back to it.

I’ve tried to split the baseline in Edit mode, but I have no idea how change the order of vertices or set the midpoint vertex as “first” if there’s even something like that.

Vertex order is tricky with generated curves. Splitting and rejoining might work. Or convert to mesh then back.

You can try to manually split the curve with Split operator.

  • select a segment that should be between new “endpoints”;
  • go to Curve > Split (hotkey: Y);
  • delete the split segment;
  • make the curve Cyclic again (Alt + C).

I’m following your advise, but the tube is not uniform in cross section.
I made sure that every vertex has a Mean Radius of 1, and also applied the scale from the outside, but can’t seem to change this.

Curve is 2D btw.

Yes, because radius is uniform the cross-section of corners is exactly like cross-section of straight segments - so it looks badly deformed.
But this is a separate problem entirely. It’s not something built-in into Blender, but there are plenty of discussions and solutions around.

This user for example has something called “Even Curve to Mesh” in their nodes (I don’t know if it’s still up to date):