mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
28 lines
700 B
Plaintext
Executable File
28 lines
700 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC25298"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# New option of BRepOffsetAPI_MakeOffset algorithm: processing of sharp corners in mode GeomAbs_Intersection
|
|
#######################################################################
|
|
|
|
restore [locate_data_file bug25225_2869_open.brep] a
|
|
|
|
smallview
|
|
display a
|
|
fit
|
|
|
|
if [catch { openoffset resoffset a 1 -10 i } ] {
|
|
puts "Error : mkoffset is wrong"
|
|
} else {
|
|
renamevar resoffset_1 result
|
|
|
|
set length 159.96
|
|
|
|
checknbshapes result -vertex 3 -edge 2 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 6
|
|
display result
|
|
fit
|
|
}
|
|
|
|
set only_screen_axo 1
|