1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/mesh/bug27693
oan f1c034f905 0032471: Mesh - Deflection of the triangulation is not recomputed for planar face
Method EstimateDeflection has been added to BRepLib in order to check and update value of deflection provided by Poly_Triangulation;
Introduction of Poly_TriangulationParameters intended to keep info about initial parameters of mesh stored by Poly_Triangulation;
BRepMesh stores user-specified parameters to Poly_Triangulation via Poly_TriangulationParameters;
Prefer initial parameters of mesh generator stored in Poly_Triangulation during check of mesh consistency.
2021-07-23 18:15:55 +03:00

22 lines
476 B
Plaintext

puts "======="
puts "0027693: BRepMesh: fine edge tessellation leads to excess number of triangles along the whole U or V stripes"
puts "======="
puts ""
pload XDE
stepread [locate_data_file bug27693_cornetta-step.stp] a *
renamevar a_1 a
explode a f
copy a_4 f
don f
incmesh f 0.01 -a 90
isos f 0
triangles f
checktrinfo f -tri 2220 -nod 1232 -defl 0.0099011902071009586 -tol_abs_defl 1e-6
smallview +X+Y
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png