Hey guys, I have encountered an odd behaviour while using the flow component. The output results sometimes “glitch” when the reverse base/target were set to the opposite value, I feel like this shouldn’t be correct since the curves stayed the same, only the directions had changed. Maybe I’m missing something here… (using rhino 8)
Claude:
This is a known limitation, not a bug in your definition. Flow is not direction-symmetric at kinks (sharp corners) in the base or target curve.
Why it happens
Flow maps each point by finding its parameter on the base curve and rebuilding it in a local frame (tangent + normal) at the matching point on the target curve.
At a kink the tangent is discontinuous. The evaluator takes the tangent from one side of the corner, and that side depends on the curve’s direction.
Reversing the curves therefore changes which side’s frame gets used at the kinks. Points near a corner land in a different frame, which tears the mesh. The glitches in your image sit exactly at the curve’s corners.
Flow only moves mesh vertices, so a coarse mesh spanning a corner makes this worse.
Fixes (pick one)
Make the target and base curves G1 or G2 smooth by running them through Fillet Curve or Rebuild Curve before Flow. This is the most effective fix.
Increase the mesh density around the corners.
If the corners must stay sharp, split the geometry at the kink parameters and flow each segment separately.
Keep the reverse setting that works (True) and flip the curve direction upstream with Flip Curve if you need to.