We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When constructing a Tube from a set of points, an overlapping section can appear in the Tube on tight corners:
Ideally the Tube should just consist of the surface.
The text was updated successfully, but these errors were encountered:
Hi, unfortunately VTK doesn't seem to be able to avoid self intersections in many cases.. ( I also tried a different class called vtkTubeBender which also does not work well). Another option which is much slower and less precise is https://vedo.embl.es/autodocs/content/vedo/vedo/pointcloud.html#Points.generate_surface_halo Eg:
from vedo import * np.random.seed(1) s = Spline(np.random.randn(10,3), res=200) # tube = Tube(s, r=0.1) tube = s.generate_surface_halo(res=(100,100,100)) tube.smooth() tube.alpha(0.5).lw(1) show(s, tube, axes=1)
Sorry, something went wrong.
No branches or pull requests
When constructing a Tube from a set of points, an overlapping section can appear in the Tube on tight corners:
Ideally the Tube should just consist of the surface.
The text was updated successfully, but these errors were encountered: