Files
OCCT/tests/bugs/modalg_6/bug26513
emv a8232603a0 0028273: Inefficient implementation of the BRepOffset_MakeOffset::BuildSplitsOfFace function
The method for building splits of the face BRepOffset_MakeOffset::BuildSplitsOfFace has been redesigned to use the BOPAlgo_BuilderFace algorithm directly.
The methods FindInvalidFaces and TrimNewIntersectionEdges have been corrected to avoid possible instabilities.
The filtering of invalid edges by existing bounding edges has been corrected to avoid removal of valid splits.
The method BRepOffset_Analyse::Correct2dPoint has been modified to avoid unnecessary initialization of BRepAdaptor_Surface.

Adjustment of the test cases.
Test case bugs modalg_6 bug26513 has been modified to unify faces of the input shape before operation.
2016-12-29 14:50:24 +03:00

28 lines
628 B
Plaintext

puts "========"
puts "OCC26513"
puts "========"
puts ""
###########################################################
# Offset API not returning result (seems to be "hanging")
###########################################################
set max_time 10
smallview
restore [locate_data_file bug26513-offset_input.brep] a
unifysamedom s a -a 1.e-8
offsetparameter 1.e-7 c i
offsetload s 5
offsetperform result
checkshape result
checkprops result -s 3.28125e+008 -v 3.07334e+010
unifysamedom result_unif result
checknbshapes result_unif -face 114 -shell 1
checkview -display result_unif -2d -path ${imagedir}/${test_image}.png