Python (VTK): Connect two 3D points by an oriented cylinder -
consider have 2 points in 3d
space, wishing connect them cylinder specified radius. apparently height (length) of cylinder distance between tow 2 points. standard cylinder
object has nothing oriented follow above.
how this?
the simplest way can see using tubefilter
. draw line between 2 points , apply filter. here example in c++, should straightforward port python.
edit: , here there's example in python if helps.
Comments
Post a Comment