mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
Modify method IsPlanar of BRepOffset_MakeOffset: try to make planar all possible faces to simplify the input shape.
21 lines
521 B
Plaintext
21 lines
521 B
Plaintext
puts "================"
|
|
puts "OCC25406"
|
|
puts "================"
|
|
puts ""
|
|
##################################
|
|
# BRepOffset_MakeOffset algorithm fails on the face with two degenerated edges on u-iso null curves
|
|
##################################
|
|
|
|
restore [locate_data_file bug25406_offset_shape.brep] a
|
|
|
|
offsetshape result a -10
|
|
|
|
checkprops result -l 1875.31
|
|
checkshape result
|
|
checksection result
|
|
|
|
checknbshapes result -t -wire 1 -face 1 -shell 1
|
|
smallview
|
|
fit
|
|
checkview -screenshot -2d -path ${imagedir}/${test_image}.png
|