mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
- Added Right() method to BRepFeat_SplitShape; - Added an option in command buc60854, which allows to select Left() or Right() method; - Modified method BUC60854 in QABugs_14.cxx; - Added new option to the help of command buc60854; - Modified test case buc60854. Now its state is "OK"; - Added check Right() in buc60854 test case.
50 lines
1.1 KiB
Plaintext
Executable File
50 lines
1.1 KiB
Plaintext
Executable File
puts "========"
|
|
puts "BUC60854"
|
|
puts "========"
|
|
|
|
pload QAcommands
|
|
|
|
plane test_plane
|
|
mkface test_face test_plane 0 1 0 1
|
|
|
|
vertex test_vertex_1 0 0.5 0
|
|
vertex test_vertex_2 1 0.5 0
|
|
edge test_edge test_vertex_1 test_vertex_2
|
|
|
|
splitshape test_shape test_face test_face test_edge
|
|
|
|
explode test_shape f
|
|
|
|
renamevar test_shape_1 test_face
|
|
|
|
vertex test_vertex_3 0.2 0.5 0
|
|
vertex test_vertex_4 0.8 0.5 0
|
|
edge test_edge_1 test_vertex_4 test_vertex_3
|
|
|
|
vertex test_vertex_5 0 1 0
|
|
edge test_edge_2 test_vertex_3 test_vertex_5
|
|
|
|
vertex test_vertex_6 1 1 0
|
|
edge test_edge_3 test_vertex_6 test_vertex_4
|
|
|
|
BUC60854 result test_shape test_face test_edge_2 test_edge_3 @ test_edge test_edge_1 # L
|
|
|
|
regexp {FACE +: +([-0-9.+eE]+)} [numshapes result] full FACE_num
|
|
|
|
if {${FACE_num} != 3} {
|
|
puts "BUC60854: Error"
|
|
}
|
|
|
|
BUC60854 result_2 test_shape test_face test_edge_2 test_edge_3 @ test_edge test_edge_1 # R
|
|
|
|
regexp {FACE +: +([-0-9.+eE]+)} [numshapes result_2] full FACE_num
|
|
|
|
if {${FACE_num} != 1} {
|
|
puts "BUC60854: Error"
|
|
}
|
|
|
|
erase test_plane
|
|
|
|
checkview -display result -2d -with ${result_2} -path ${imagedir}/${test_image}.png
|
|
|