1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
azv 8ac0cf5265 0024411: SplitShape produces shape with incorrectly parameterized periodic 3D curve
Implemented additional flag into Geom_TrimmedCurve to adjust or not the periodic curve inside the first period.

API of Geom2d_TrimmedCurve is changed according to Geom_TrimmedCurve.

Test-case for issue #24411
2014-12-25 17:58:45 +03:00

18 lines
466 B
Plaintext

puts "========"
puts "OCC24411"
puts "========"
puts ""
##############################################################################
# SplitShape produces shape with incorrectly parameterized periodic 3D curve
##############################################################################
restore [locate_data_file OCC24411_bug-ss.brep] s
explode s
splitshape r s_1 s_1 s_2
plane pl 0 0 0 0 0 1
mkface f pl
foreach e [explode r e] {
catch {pcurve c_$e $e f}
}