mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +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}
|
Reference in New Issue
Block a user