MantisBT - Community
View Issue Details
0024097Community[OCCT] OCCT:Modeling Algorithmspublic2013-08-02 02:262015-10-23 20:50
Hayashi 
bugmaster 
normalminor 
closedfixed 
WindowsVC++ 201032 bit
[OCCT] 6.6.0 
[OCCT] 6.9.1[OCCT] 6.9.1 
0024097: BRepAlgoAPI_Section returns wrong result
The result of BRepAlgoAPI_Section of attached faces is wrong.
pload ALL
restore face1.brep a
mu4
fit
restore face2.brep b
bsection result1 a b
explode result1
vinit
vdisplay result1_1 result1_2
vfit
vdisplay b
No tags attached.
zip faces.zip (11,861) 2013-08-02 02:26
https://tracker.dev.opencascade.org/
Issue History
2013-08-02 02:26HayashiNew Issue
2013-08-02 02:26HayashiAssigned To => ifv
2013-08-02 02:26HayashiFile Added: faces.zip
2013-09-13 11:55ifvAssigned Toifv => Hayashi
2013-09-13 11:55ifvAssigned ToHayashi => ifv
2013-09-13 11:56ifvAssigned Toifv => emv
2013-09-20 10:40emvNote Added: 0025669
2013-10-04 09:46emvAssigned Toemv => ifv
2013-10-04 09:46emvStatusnew => assigned
2014-01-08 10:06HayashiNote Added: 0027390
2015-09-05 07:55HayashiNote Added: 0045102
2015-09-05 16:03abvNote Added: 0045103
2015-09-05 16:03abvTarget Version => 6.9.1
2015-09-05 16:10gitNote Added: 0045104
2015-09-05 16:12abvNote Added: 0045105
2015-09-05 16:12abvAssigned Toifv => bugmaster
2015-09-05 16:12abvStatusassigned => feedback
2015-09-07 07:57gitNote Added: 0045112
2015-09-07 09:01gitNote Added: 0045115
2015-09-07 12:04bugmasterStatusfeedback => tested
2015-09-11 14:09bugmasterChangeset attached => occt master 64652908
2015-09-11 14:09bugmasterStatustested => verified
2015-09-11 14:09bugmasterResolutionopen => fixed
2015-10-16 14:55aivStatusverified => closed
2015-10-16 16:37gitNote Added: 0046963
2015-10-23 20:50aivFixed in Version => 6.9.1

Notes
(0025669)
emv   
2013-09-20 10:40   
There is a problem in the intersection part.
restore face1.brep b1
restore face2.brep b2
mksurface s1 b1
mksurface s2 b2
# 1. intersection with default tolerance
intersect i s1 s2
# curve i is OK
# 2. intersection with the tolerances of faces
intersect i s1 s2 2.e-4
dump i_1
dump i_2
dump i_3
dump i_4
dump i_5
# result - 5 curves, each of those consists of two identical points.

This problem can be reproduced in BOP:
restore face1.brep b1
restore face2.brep b2
bsection r b1 b2
# r is incomplete

restore face1.brep b1
restore face2.brep b2
settolerance b1 1.e-5
settolerance b2 1.e-5
bsection r b1 b2
# r is OK
(0027390)
Hayashi   
2014-01-08 10:06   
Surely, the curve of one returns in 1.e-5.
However, the length of this curve is 0.125 and is very larger than the tolerance value 2.e-4.
Isn't it inaccurate that one curve cannot be returned?
(0045102)
Hayashi   
2015-09-05 07:55   
This problem seems to return a result to expect by OCC6.9.1 beta.
(0045103)
abv   
2015-09-05 16:03   
I confirm that this issue exists in OCCT 6.8.0 and 6.9.0, but not on current master and not in OCCT 6.9.1.beta
(0045104)
git   
2015-09-05 16:10   
Branch CR24097 has been created by abv.

SHA-1: ec8e990ef0ec4d589e91adbef3d084186136719c


Detailed log of new commits:

Author: abv
Date: Sat Sep 5 16:09:48 2015 +0300

    0024097: BRepAlgoAPI_Section returns wrong result
    
    Test case added: bugs modalg_6 bug24097
(0045105)
abv   
2015-09-05 16:12   
Test is put to CR24097, please integrate
(0045112)
git   
2015-09-07 07:57   
Branch CR24097 has been updated by abv.

SHA-1: 650c9806e3fb2a28aa94cd635d0ba7441575848e


Detailed log of new commits:

Author: abv
Date: Mon Sep 7 07:14:41 2015 +0300

    0026627: [Regression] Shape Healing hangs as of OCC 6.8.0
    
    Check for orientation of the solid corrected to ensure that cycle always finishes.
    
    Test case added

(0045115)
git   
2015-09-07 09:01   
Branch CR24097 has been updated forcibly by abv.

SHA-1: ec8e990ef0ec4d589e91adbef3d084186136719c
(0046963)
git   
2015-10-16 16:37   
Branch CR24097 has been deleted by kgv.

SHA-1: ec8e990ef0ec4d589e91adbef3d084186136719c