How to remove lines on 3d geoemtry using VTK/OCC interface?

Using vtk/IVtkOCC_Shape to display a box, but there are many lines(iso line?) on box, is there any way to remove these lines which on box?

thanks very much

liuhuiwei's picture

IVtkOCC_ShapeMesher can set isos number

Kevin Smith's picture

thanks very much, but it seems the API is not open in IVtkTools_ShapeDataSource, so I have to recompile source code  ?

Kirill Gavrilov's picture

So far IVtkTools_ShapeDataSource has no input parameters, hence IVtkOCC_ShapeMesher is initialized with defaults.
You can extend IVtkTools_ShapeDataSource interface with necessary options (yes, you will have to recompile OCCT then), and consider contributing your modifications:

Kevin Smith's picture

I applied as developer and sent license file, but seems no respond


Andrey BETENEV's picture

Hello Kevin,

If you have submitted CLA on May 17th, then you should have received confirmation the same day.

Please check your mail box - perhaps our reply went to your spam folder.