mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08:00
class IntTools_EdgeEdge
method
void IntTools_EdgeEdge::FindSolutions(const IntTools_Range& theR1,
const IntTools_Range& theR2,
const Bnd_Box& theBox2,
IntTools_SequenceOfRanges& theRanges1,
IntTools_SequenceOfRanges& theRanges2)
Looking for the solutions of the intersection between edges with greater precision.
Test cases for the issue.
35 lines
605 B
Plaintext
35 lines
605 B
Plaintext
puts "================"
|
|
puts "OCC25337"
|
|
puts "================"
|
|
puts ""
|
|
####################################
|
|
# Regression to version 6.7.1 : boolean operations fail on two planar circular faces lying in the same plane
|
|
####################################
|
|
|
|
circle c1 -50 0 0 10
|
|
circle c2 -35 0 0 10
|
|
mkedge e1 c1
|
|
mkedge e2 c2
|
|
wire w1 e1
|
|
wire w2 e2
|
|
mkplane f1 w1
|
|
mkplane f2 w2
|
|
|
|
bop f1 f2
|
|
bopcommon result
|
|
|
|
set square 45.3312
|
|
|
|
set nb_v_good 3
|
|
set nb_e_good 3
|
|
set nb_w_good 1
|
|
set nb_f_good 1
|
|
set nb_sh_good 1
|
|
set nb_sol_good 0
|
|
set nb_compsol_good 0
|
|
set nb_compound_good 1
|
|
set nb_shape_good 10
|
|
|
|
set 2dviewer 1
|
|
|