Python (VTK): Connect two 3D points by an oriented cylinder
Consider we have two points in 3D space, wishing to connect them by a
cylinder with specified radius. Apparently the height (length) of cylinder
will be the distance between tow two points. However the standard Cylinder
object has nothing to be oriented to follow the above.
How to do this?
No comments:
Post a Comment