DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0024299

Wrong section curve

Open CASCADEOCCT:Modeling Algorithmsclosed7 public notes

Search issues

Description

The intersection algorithm produces wrong section curve.

The problem has been detected in the test case bugs modalg_4 pro19653.

Steps to reproduce

restore [locate_data_file pro19653a.brep] b1
restore [locate_data_file pro19653b.brep] b2
explode b1 f
explode b2 f
mksurface s1 b1_1
mksurface s2 b2_1
intersect i s1 s2
# four curves created, but i_2 is not valid
xdistcs i_2 s1 0 1 10
# T=0. D=5.11591e-013
# T=0.111111 D=7.19085e-005
# T=0.222222 D=0.000121097
# T=0.333333 D=0.000149614
# T=0.444444 D=0.000159502
# T=0.555556 D=0.000152787
# T=0.666667 D=0.000131486
# T=0.777778 D=9.76002e-005
# T=0.888889 D=5.31176e-005
# T=1. D=3.76033e-008


Public activity

7 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Dear Eugeny.

Please check, if branch CR24472 returns correct intersection line? If "YES", then bug can be considered as "Resolved".
02Commenter 2
The result seems to be correct.
03Commenter 3
Dear Igor.

Please review branch CR24472. See [archived tracker link removed] before.

04Commenter 4
Bad formatting of file IntPatch_PrmPrmIntersection.cxx
05Commenter 5
Ok
06Commenter 6
Corrected.

If all is OK, I set "duplicate of bug#24472". Test for this bug should be attached to CR24472 branch (for bug #24472). And no code change required.

07Commenter 2
Closed as duplicate of CR24472. Test case bugs modalg_4(009) bug24299 is in branch CR24472.

Related records