mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
Update of tests database
Test for 0023171: Got wrong result after stitching Test for 0023612: BRepPrimAPI_MakeTorus Test for 0023610: checkshape command does not detect mismatch of the tolerance values among the sub-shapes of the shape Test for 0023660: 'bsection' produces result with gap Test for 0024397: BRepBuilderAPI_Copy works not correct Test for 0023927: BRepProj_Projection produces Edge with one Vertex outside from curve Test for 0023902: Cannot build fillet Test for 0023669: Error in Boolean operations algorithm: section between cylindrical face and prism is incomplete Test for 0023660: 'bsection' produces result with gap Test for 0024100: Bad pcurve is built on a face while converting the shape from STEP format. Test for 0024319: Sewing makes a solid transparent Test for 0024302: Section operation modifies input argument Test for 0024397: BRepBuilderAPI_Copy works not correct Test for 0024418: Wrong section curves when intersecting analytical surfaces
This commit is contained in:
21
tests/bugs/modalg_5/bug24302
Normal file
21
tests/bugs/modalg_5/bug24302
Normal file
@@ -0,0 +1,21 @@
|
||||
puts "========"
|
||||
puts "OCC24302"
|
||||
puts "========"
|
||||
puts ""
|
||||
###########################################
|
||||
# Section operation modifies input argument
|
||||
###########################################
|
||||
|
||||
restore [locate_data_file bug24302_MyPlane.brep] p
|
||||
restore [locate_data_file bug24302_SolidBefore.brep] b
|
||||
|
||||
regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance b] full MaxTol_b_1
|
||||
|
||||
bnondestructive 1
|
||||
|
||||
bop p b
|
||||
regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance b] full MaxTol_b_2
|
||||
|
||||
set tol_abs_MaxTol 0.0001
|
||||
set tol_rel_MaxTol 0.0001
|
||||
checkreal "Section operation modifies input argument, Maxtolerance " ${MaxTol_b_2} ${MaxTol_b_1} ${tol_abs_MaxTol} ${tol_rel_MaxTol}
|
13
tests/bugs/modalg_5/bug24397_1
Normal file
13
tests/bugs/modalg_5/bug24397_1
Normal file
@@ -0,0 +1,13 @@
|
||||
puts "============"
|
||||
puts "OCC24397"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################
|
||||
# BRepBuilderAPI_Copy works not correct
|
||||
#######################################
|
||||
|
||||
restore [locate_data_file case_1_wire3.brep] result
|
||||
|
||||
tcopy result result1
|
||||
|
||||
checkprops result1 -equal result
|
15
tests/bugs/modalg_5/bug24397_2
Normal file
15
tests/bugs/modalg_5/bug24397_2
Normal file
@@ -0,0 +1,15 @@
|
||||
puts "TODO OCC24397 ALL: Error : is WRONG because number of"
|
||||
|
||||
puts "============"
|
||||
puts "OCC24397"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################
|
||||
# BRepBuilderAPI_Copy works not correct
|
||||
#######################################
|
||||
|
||||
restore [locate_data_file OCC485b.brep] b
|
||||
|
||||
tcopy b b1
|
||||
|
||||
checknbshapes b1 -ref [nbshapes b]
|
15
tests/bugs/modalg_5/bug24397_3
Normal file
15
tests/bugs/modalg_5/bug24397_3
Normal file
@@ -0,0 +1,15 @@
|
||||
puts "TODO OCC24397 ALL: Error : is WRONG because number of"
|
||||
|
||||
puts "============"
|
||||
puts "OCC24397"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################
|
||||
# BRepBuilderAPI_Copy works not correct
|
||||
#######################################
|
||||
|
||||
restore [locate_data_file bug22678_objCut.brep] b
|
||||
|
||||
tcopy b b1
|
||||
|
||||
checknbshapes b1 -ref [nbshapes b]
|
Reference in New Issue
Block a user