mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-09 07:06:54 +08:00
30 lines
736 B
Plaintext
Executable File
30 lines
736 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC6766"
|
|
puts "================"
|
|
puts ""
|
|
#######################################################################################
|
|
# Invalid result of intersection of a bspline face with a plane
|
|
#######################################################################################
|
|
|
|
set BugNumber OCC6766
|
|
|
|
restore [locate_data_file OCC6766.brep] a
|
|
|
|
decho off
|
|
set che_a [checkshape a]
|
|
decho on
|
|
if { [regexp {Faulty} $che_a] } {
|
|
puts "Faulty ${BugNumber} : checkshape is wrong for a"
|
|
}
|
|
|
|
set Y 4
|
|
plane pl 0 ${Y} 0 0 1 0
|
|
mkface f pl
|
|
bop a f
|
|
bopsection result
|
|
|
|
|
|
checknbshapes result -vertex 4 -edge 3 -wire 0 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 1 -shape 8
|
|
set length 138.474
|
|
set 2dviewer 0
|