mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Adding test cases for issue CR24103
This commit is contained in:
24
tests/bugs/modalg_5/bug24103_1
Executable file
24
tests/bugs/modalg_5/bug24103_1
Executable file
@@ -0,0 +1,24 @@
|
||||
puts "============"
|
||||
puts "OCC24103"
|
||||
puts "============"
|
||||
puts ""
|
||||
######################################################
|
||||
# Infinite loop in HLR algorithm on the customer's shape
|
||||
######################################################
|
||||
|
||||
pload XDE
|
||||
|
||||
smallview
|
||||
right
|
||||
|
||||
stepread [locate_data_file bug24100_REFLECT_CURVE_PART_5_SOL_ohne_Metadaten.stp] a *
|
||||
|
||||
explode a_1
|
||||
donly a_1_1
|
||||
fit
|
||||
|
||||
reflectlines result a_1_1 1 0 0
|
||||
|
||||
set length 4217.78
|
||||
|
||||
set only_screen_axo 1
|
24
tests/bugs/modalg_5/bug24103_2
Executable file
24
tests/bugs/modalg_5/bug24103_2
Executable file
@@ -0,0 +1,24 @@
|
||||
puts "============"
|
||||
puts "OCC24103"
|
||||
puts "============"
|
||||
puts ""
|
||||
######################################################
|
||||
# Infinite loop in HLR algorithm on the customer's shape
|
||||
######################################################
|
||||
|
||||
pload XDE
|
||||
|
||||
smallview
|
||||
top
|
||||
|
||||
stepread [locate_data_file bug24100_REFLECT_CURVE_PART_5_SOL_ohne_Metadaten.stp] a *
|
||||
|
||||
explode a_1
|
||||
donly a_1_1
|
||||
fit
|
||||
|
||||
reflectlines result a_1_1 0 0 1
|
||||
|
||||
set length 6385.96
|
||||
|
||||
set only_screen_axo 1
|
Reference in New Issue
Block a user