mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0023625: New functionality building reflect lines on a shape
Adding test case for this fix; Small corrections
This commit is contained in:
20
tests/bugs/modalg_5/bug23625_1
Executable file
20
tests/bugs/modalg_5/bug23625_1
Executable file
@@ -0,0 +1,20 @@
|
||||
puts "============"
|
||||
puts "OCC23625"
|
||||
puts "============"
|
||||
puts ""
|
||||
######################################################
|
||||
# New functionality building reflect lines on a shape
|
||||
######################################################
|
||||
|
||||
smallview
|
||||
|
||||
restore [locate_data_file bug23625_a1.brep] a
|
||||
|
||||
front
|
||||
fit
|
||||
|
||||
reflectlines result a 0 1 0
|
||||
|
||||
set length 3877.8
|
||||
|
||||
set only_screen_axo 1
|
20
tests/bugs/modalg_5/bug23625_2
Executable file
20
tests/bugs/modalg_5/bug23625_2
Executable file
@@ -0,0 +1,20 @@
|
||||
puts "============"
|
||||
puts "OCC23625"
|
||||
puts "============"
|
||||
puts ""
|
||||
######################################################
|
||||
# New functionality building reflect lines on a shape
|
||||
######################################################
|
||||
|
||||
smallview
|
||||
|
||||
restore [locate_data_file bug23625_a2.brep] a
|
||||
|
||||
front
|
||||
fit
|
||||
|
||||
reflectlines result a 0 1 0
|
||||
|
||||
set length 4022.72
|
||||
|
||||
set only_screen_axo 1
|
20
tests/bugs/modalg_5/bug23625_3
Executable file
20
tests/bugs/modalg_5/bug23625_3
Executable file
@@ -0,0 +1,20 @@
|
||||
puts "============"
|
||||
puts "OCC23625"
|
||||
puts "============"
|
||||
puts ""
|
||||
######################################################
|
||||
# New functionality building reflect lines on a shape
|
||||
######################################################
|
||||
|
||||
smallview
|
||||
|
||||
restore [locate_data_file bug23625_a3.brep] a
|
||||
|
||||
top
|
||||
fit
|
||||
|
||||
reflectlines result a 0 0 1
|
||||
|
||||
set length 4843.56
|
||||
|
||||
set only_screen_axo 1
|
20
tests/bugs/modalg_5/bug23625_4
Executable file
20
tests/bugs/modalg_5/bug23625_4
Executable file
@@ -0,0 +1,20 @@
|
||||
puts "============"
|
||||
puts "OCC23625"
|
||||
puts "============"
|
||||
puts ""
|
||||
######################################################
|
||||
# New functionality building reflect lines on a shape
|
||||
######################################################
|
||||
|
||||
smallview
|
||||
|
||||
restore [locate_data_file bug23625_a4.brep] a
|
||||
|
||||
right
|
||||
fit
|
||||
|
||||
reflectlines result a 1 0 0
|
||||
|
||||
set length 4207.74
|
||||
|
||||
set only_screen_axo 1
|
20
tests/bugs/modalg_5/bug23625_5
Executable file
20
tests/bugs/modalg_5/bug23625_5
Executable file
@@ -0,0 +1,20 @@
|
||||
puts "============"
|
||||
puts "OCC23625"
|
||||
puts "============"
|
||||
puts ""
|
||||
######################################################
|
||||
# New functionality building reflect lines on a shape
|
||||
######################################################
|
||||
|
||||
smallview
|
||||
|
||||
restore [locate_data_file bug23625_a4.brep] a
|
||||
|
||||
right
|
||||
fit
|
||||
|
||||
reflectlines result a 0 0 1
|
||||
|
||||
set length 6361.07
|
||||
|
||||
set only_screen_axo 1
|
Reference in New Issue
Block a user