1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/modalg_7/bug29845
emv cf12784f94 0029845: UnifySameDomain does not account the accumulated angle when unifying edges
Check that the accumulated angle does not exceed the given angular tolerance while merging the linear edges.
Test case for the issue.
2018-06-14 14:03:12 +03:00

22 lines
629 B
Plaintext

puts "========"
puts "OCC29845:UnifySameDomain does not account the accumulated angle when unifying edges"
puts "========"
puts ""
brestore [locate_data_file bug29845_wire.brep] w
# set the linear deflection very high, so the unification
# will be controlled by the angular deflection only.
# with the angular deflection of 5 degrees the resulting
# wire should preserve all the features of the original wire
unifysamedom result w -t 10000 -a 5
checkshape result
checknbshapes result -vertex 77 -edge 77
checkprops result -l 2805.11
smallview +X+Z
don result
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}.png