mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
The main idea of the fix is to forbid check if intersection curve lies in the some face (with input tolerance) if we have 2D-intersection curve on this face (we consider that necessary tolerance has been computed in intersection algorithm honestly). If we do not have 2D-curve on this face then we need check as before. New algorithm is implemented in IntTools_Context::IsValidBlockForFaces(...) method. ------ src\Extrema\Extrema_GenExtPS.cxx No principled changes have been made.
25 lines
572 B
Plaintext
25 lines
572 B
Plaintext
puts "========"
|
|
puts "OCC24094"
|
|
puts "========"
|
|
puts ""
|
|
##########################################
|
|
## Issure by option of BRepAlgoAPI_Section
|
|
##########################################
|
|
|
|
|
|
restore [locate_data_file bug24094_face.brep] a
|
|
plane p 183.6 0 0 1 0 0 0 1 0
|
|
mkface f p
|
|
|
|
bsection r1 a f
|
|
bsection r2 a f -na
|
|
bsection r3 a f -n2d2
|
|
bsection r4 a f -n2d
|
|
bsection r5 a f -n2d -na
|
|
|
|
checknbshapes r1 -vertex 2 -edge 1 -t
|
|
checknbshapes r2 -vertex 2 -edge 1 -t
|
|
checknbshapes r3 -vertex 2 -edge 1 -t
|
|
checknbshapes r4 -vertex 2 -edge 1 -t
|
|
checknbshapes r5 -vertex 2 -edge 1 -t
|