mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
Do not clean polygons that are created for different faces not connected with current shape. Remove old code producing additional points for BSpline curves due to fix #24959. Test cases fir issue CR25469 Revert changes producing additional points for BSpline curves with C1 continuity Test cases fir issue CR25469 Correction of test cases for issue CR25469
34 lines
628 B
Plaintext
34 lines
628 B
Plaintext
puts "========="
|
|
puts "CR25479"
|
|
puts "========="
|
|
puts ""
|
|
###############################################
|
|
# BRepTools::Clean() cleans all edge polygons, even related to different shapes
|
|
###############################################
|
|
|
|
restore [locate_data_file bug25469_common_edge.brep] a
|
|
|
|
tclean a
|
|
incmesh a 0.004
|
|
|
|
explode a
|
|
|
|
incmesh a_1 0.04
|
|
set report [tricheck a_1]
|
|
if {$report != ""} {
|
|
puts "Error: incorrect meshing of shape"
|
|
}
|
|
|
|
tclean a_2
|
|
set report [tricheck a_1]
|
|
if {$report != ""} {
|
|
puts "Error: cleaning mesh of shape 2 corrupts mesh of shape 1"
|
|
}
|
|
|
|
vinit
|
|
vsetdispmode 1
|
|
vdisplay a_1 a_2
|
|
vfit
|
|
|
|
set only_screen 1
|