mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 11:06:26 +08:00
22 lines
514 B
Plaintext
Executable File
22 lines
514 B
Plaintext
Executable File
puts "========"
|
|
puts "OCC450"
|
|
puts "========"
|
|
puts "(case 2)"
|
|
puts ""
|
|
#################################################################
|
|
## After reading file5.igs, the surface of revolution written in this file becomes a plane.
|
|
#################################################################
|
|
|
|
igesbrep [locate_data_file NIC_file5.igs] a *
|
|
|
|
mksurface result a
|
|
|
|
set info [dump result]
|
|
|
|
if { [regexp "SurfaceOfRevolution" $info] != 1 } {
|
|
puts "Error : surface of revolution becomes a plane"
|
|
}
|
|
|
|
set 2dviewer 0
|
|
|