1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/bugs/mesh/bug31251
razmyslovich 0da2ecac41 0031251: Add a new meshing parameter to enforce face linear deflection
Parameter has been renamed to ForceFaceDeflection. Added test case.

New parameter -force_face_def has been added to incmesh command.
2019-12-25 15:25:43 +03:00

31 lines
735 B
Plaintext

puts "======="
puts "0031251: Mesh - Add a parameter for IncrementalMesh to ignore face tolerance for face deflection"
puts "======="
puts ""
pload XDE
stepread [locate_data_file bug31251_Albatros_d2_elisa_a.STEP] a *
renamevar a_1 result
vinit
vtop
vsetdispmode 1
vdefaults -autoTriang 0
tclean result
incmesh result 0.004 -a 14
checktrinfo result -tri 70560 -nod 39946 -defl 0.22962869401103247
vdisplay result -redisplay
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}_default.png
tclean result
incmesh result 0.004 -a 14 -force_face_def
checktrinfo result -tri 292560 -nod 150946 -defl 0.04579460790575135
vdisplay result -redisplay
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}_tightfit.png