1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

13 lines
252 B
Plaintext

polyline w 0 0 0 1 0 0 1 1 0 0 1 0 0 0 0
getanasurf res w pln 1.e-3
if {[isdraw res]} {
set log [dump res]
if { [regexp {Plane} $log ] != 1 } {
puts "Error: surface is not a plane"
}
} else {
puts "Error: required surface is not got"
}