zhang-qiang-github
zhang-qiang-github
> Yes: https://vedo.embl.es/autodocs/content/vedo/vedo/pointcloud.html#Points.cut_with_box If `[xmin,xmax, ymin,ymax, zmin,zmax]` is used to generate a cube, the direction is `x=[1, 0, 0], y=[0, 1, 0], z=[0, 0, 1]` . How can I generate...
> You may obtain the result by using 6 planes with https://vedo.embl.es/autodocs/content/vedo/vedo/pointcloud.html#Points.cut_with_planes or https://vedo.embl.es/autodocs/content/vedo/vedo/pointcloud.html#Points.cut_with_plane I have tried it, but the result is wrong. My code is: ``` import vedo mesh1...
> but to be honest I don't understand why flipping the normals is not equivalent to setting invert flag. It is really weird. After add minus sign, it works for...
I have posted it in vtk forum: https://discourse.vtk.org/t/vtkclippolydata-incorrectly-work/13046
Thanks for kindly reply. And I find `pygmsh` may be a solution. My test code is: ``` import pygmsh from vedo import * with pygmsh.geo.Geometry() as geom: box = geom.add_ball(x0=[0,...
Finally, I can repeat the bug: ``` vtkSmartPointer lineSource = vtkSmartPointer::New(); lineSource->SetPoint1(0, 0, 0); lineSource->SetPoint2(10, 0, 0); vtkSmartPointer tubeFilter = vtkSmartPointer::New(); tubeFilter->SetInputConnection(lineSource->GetOutputPort()); tubeFilter->SetRadius(4); ///////////////////////////////////////////////////////////////////////////// tubeFilter->SetNumberOfSides(50); // key code ///////////////////////////////////////////////////////////////////////////// tubeFilter->SetCapping(1);...
I find the following code works: ``` from vedo import * plt = Plotter() p = Point([0, 0, 1], r=10) plt.show(p) plt = Plotter() p = Point([0, 1, 0], r=10,...
It is `2023.4.3`
I have a same error
> hi, sorry for the late reply... I also tried but could not find a way to make it work.. unfortunately the boolean operations in vtk are a weak point...