mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
23 lines
520 B
Plaintext
Executable File
23 lines
520 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC8"
|
|
puts "================"
|
|
puts ""
|
|
###################################################
|
|
## BRepTools_WireExplorere gives not all edges from a wire
|
|
###################################################
|
|
|
|
pload XDE
|
|
restore [locate_data_file OCC8.brep] result
|
|
|
|
puts [checkshape result]
|
|
|
|
explode result w
|
|
set info [expwire result_1 sh]
|
|
|
|
if { [regexp "BRepTools_WireExplorer donne 16 Edges" $info] != 1 } {
|
|
puts "Error : BRepTools_WireExplorer gives WRONG number of edges."
|
|
}
|
|
|
|
set 2dviewer 0
|
|
|