mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-15 04:04:07 +08:00
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.
28 lines
628 B
Plaintext
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
|