1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0031242: Scaling with different coefficients along axes produces invalid shape

GeomConvert_1.cxx:
Creation periodic BSpline surfaces from trimmed periodic surface if trim is boundaries of periodic domain is allowed

BRepTools_NurbsConvertModification.cxx:
Checking domain of 2dCurves if surfaces are periodic is added

Test case tests/bugs/mesh/bug30008_2 is modified according to current behavior

Test case tests/bugs/modalg_7/bug31242 is added
This commit is contained in:
ifv
2019-12-18 13:53:11 +03:00
parent 9504a30d15
commit bdd09cfaf4
4 changed files with 38 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ nurbsconvert result result
incmesh result 0.15 -a 20
tricheck result
checktrinfo result -tri 193 -nod 147 -defl 0.04209 -tol_abs_defl 1.0e-6
checktrinfo result -tri 191 -nod 146 -defl 0.0362596 -tol_abs_defl 1.0e-6
vinit

View File

@@ -0,0 +1,13 @@
puts "======================================================="
puts "0031242: Scaling with different coefficients along axes produces invalid shape"
puts "======================================================="
puts ""
restore [locate_data_file bug31242.brep] f
scalexyz result f 1 1 0.25
checkshape result
checkprops result -s 685.043
checkview -display result -2d -path ${imagedir}/${test_image}.png