1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/vtk/ivtk/autotriang
kgv 3483c64453 0032247: VIS, IVtkOCC_ShapeMesher - allow disabling auto-triangulation behavior
IVtkOCC_Shape now stores Prs3d_Drawer object used by IVtkOCC_ShapeMesher and IVtkOCC_SelectableObject.
IVtkOCC_ShapeMesher::internalBuild() made more consistent to AIS_Shape::Compute() in cleaning/triangulating shape.

Added command ivtkdefaults similar to vdefaults managing triangulation default parameters.
2021-03-31 20:44:29 +03:00

20 lines
362 B
Plaintext

puts "============"
puts "0032247: VIS, IVtkOCC_ShapeMesher - allow disabling auto-triangulation behavior"
puts "============"
puts ""
pload MODELING VIS
psphere s 1
explode s F
tessellate r s_1 10 10
trinfo r
checktrinfo r -tri 200
ivtkinit
ivtkdefaults -autoTriang 0
ivtkdisplay r
ivtksetdispmode 1
checktrinfo r -tri 200
ivtkdump $imagedir/${casename}.png