Misdirected vectors

Hello everyone

I have a problem with the orientation of vectors, why are the vectors of the areas in the graph reversed? Can you explain it to me and help me orient them in the same direction? Thank you so much.

Tianci


misdirected vectors.gh (210.7 KB)

Thanks for attaching the gh but I believe the answer lies prior to what you shared here. I suspect it’s the way you are dividing the surface/curves/whatever form is being evaluated prior to your plane operations.

Likely caused by inconsistently oriented curves/surface normals or possibly a curve seam.

I would need to see a few steps back to see the steps generating the planes.

Thanks!

Honeycam 2023-07-07 22-01-00

1 Like

missing

The more I look at your code, the less I understand? Relatively simple, though restricted since given data set consists of seven ranches of ~400+ planes each.

Replace DotProduct input B by a Vector3d Z.

2 Likes

very useful tips, thank you!

Once again you helped me, thank you very much!

Yep, I was confused myself, I used other methods to orient my planes by rotating around the y axis