Closed smoothumut closed 4 months ago
I think I have got a faster way of doing it - just pushed it to master.
from vedo import Plane, show, Arrow
plane = Plane()
arrow = Arrow(plane.center, plane.center+plane.normal, res=11)
arrow.rotate_x(30).shift([0.3, 0.2, 0.1]).print()
print("arrow.base", arrow.base, arrow.base_point())
print("arrow.top ", arrow.top, arrow.top_point(), arrow.top_index)
show(plane, arrow, arrow.labels("id"), axes=1)
thank you very much 👍 I am going to change mine in my code too
Hi Marco, I have been working with Arrows and I have noticed that in vedo >= 5.0 there is no tip_point for Arrow object as there was in previous versions. there is self.base and self.top but they are not changing when a transformation is applied to the Arrow object In the example below you can see it
May be I am missing something, but If you think this is a problem and need to be fixed, I can modify the Arrow code as I show below. This fix solved my issues in my code Please let me know if you want a PR for this