1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
ifv fc41d3b1c0 0032842: Modeling Data - a regression in conversion of a face to bspline
GeomConvert/GeomConvert_1.cxx - forbid using CheckAndSegment if trim is out of base period when converting
                                trimmed torus

tests/bugs/moddata_3/bug32842 - test case added
2022-04-12 20:50:29 +03:00

18 lines
510 B
Plaintext

puts "==========================================================="
puts "0032842: Modeling Data - a regression in conversion of a face to bspline"
puts "==========================================================="
puts ""
restore [locate_data_file bug32842.brep] s
nurbsconvert bs s
explode bs e
pcurve pc2 bs_2 bs
bounds pc2 t1 t2
2dcvalue pc2 t1 x1 y1
2dcvalue pc2 t2 x2 y2
mksurface surf bs
bounds surf u1 u2 v1 v2
checkreal "U21" [dval (u2-x1)] 0 1.e-7 1.e-7
checkreal "U22" [dval (u2-x2)] 0 1.e-7 1.e-7