mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Modification of algorithm in order to prevent violation of angular and curvature deflection condition for smooth intervals of curve. Modification of algorithm for calculation of maximal deflection in command crvtpoints, crvpoints (CR25649) Elementary bug fixing in algorithm GCPnts_UniformDeflection.gxx Modification of test cases in order to set new reference parameters of shape triangulations Some tests: bugs modalg_2 bug397 mesh standard_incmesh C7, V3 mesh standard_incmesh_parallel C7, V3 mesh standard_mesh C7, V3 mesh standard_shading V3 were modified by TODO with reference bug 27226, because some problems in meshing algorithm (package BRepMesh) were discovered when tessellation of edges was changed. These problems cannot be solved by modification of GCPnts_TangentialDeflection algorithm. New issue #27226 was created, see bugtracker for details. Correction of test data Test case for issue #27108 Modification of algorithm for improving performance Correction of test cases
34 lines
774 B
Plaintext
Executable File
34 lines
774 B
Plaintext
Executable File
puts "============"
|
|
puts "CR25737"
|
|
puts "============"
|
|
puts ""
|
|
###################################################################################
|
|
# GCPnts_TangentialDeflection does not produce points to approximate a knee
|
|
###################################################################################
|
|
|
|
restore [locate_data_file bug25737_face3535.brep] result
|
|
|
|
tclean result
|
|
incmesh result 1 -a 20
|
|
|
|
isos result 0
|
|
|
|
triangles result
|
|
|
|
set report [tricheck result]
|
|
if {$report != ""} {
|
|
puts "Error : Problem of build a mesh"
|
|
} else {
|
|
puts "OK : Building a mesh is good"
|
|
}
|
|
|
|
# Checking triangulation area (triarea command)...
|
|
set max_rel_tol_diff 1
|
|
set rel_tol 0.42
|
|
set area_eps 0
|
|
|
|
smallview
|
|
donly result
|
|
fit
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|