Using “vtkLinearExtrusionFilter” in vtk(c++), I can create a 3D model from a polygon. Is there the same function class in vtk(javascript) ?
There currently is no vtkLinearExtrusionFilter
in vtk.js, but that would be a good filter to add. It’s probably not too complicated of a filter either (check the VTK source for that), so if you’re willing to tackle that, feel free to submit a PR to vtk.js.
Thank you, Forrest. I will try another way to solve this problem.