MantisBT - Open CASCADE
View Issue Details
0030092Open CASCADE[OCCT] OCCT:Modeling Algorithmspublic2018-08-29 11:072018-09-22 18:33
emv 
bugmaster 
normalminor 
closedfixed 
[OCCT] 7.3.0 
[OCCT] 7.4.0[OCCT] 7.4.0 
bugs/modalg_2/bug472_1, bugs/modalg_2/bug472_3, bugs/modalg_7/bug30092
0030092: Modeling Algorithms - Invalid result of Section operation
The result of Section operation is invalid (invalid point on curve).

The problem has been discovered while working on the fix for the issue 0027928 in the test case bugs/modalg_7/bug26795.
restore [locate_data_file bug26795_c.brep] c
explode c f

# modify c_2 face
line l 20004.7983876926 2164.22470816234 210.858020395251 -0.716336050762455 0.65536108806844 0.239508886314894
mkedge e l -0.2 0.2
settolerance e 0.04

bclearobjects
bcleartools
baddobjects c_2
baddtools e
bfillds
bsplit c_2

# perform section operation
bclearobjects
bcleartools
baddobjects e c_1
baddtools c_2
bfillds
bbop result 4
checkshape result
No tags attached.
related to 0027928closed bugmaster BOP common produces empty compound 
related to 0026795closed bugmaster Unable to perform General Fuse operation on the attached faces 
Issue History
2018-08-29 11:07emvNew Issue
2018-08-29 11:07emvAssigned To => msv
2018-08-29 11:07emvRelationship addedrelated to 0027928
2018-08-29 11:08emvRelationship addedrelated to 0026795
2018-08-29 11:08emvAssigned Tomsv => emv
2018-08-29 11:08emvStatusnew => assigned
2018-08-29 11:53gitNote Added: 0078826
2018-08-29 15:52gitNote Added: 0078834
2018-09-03 11:47gitNote Added: 0078923
2018-09-04 10:09emvNote Added: 0078969
2018-09-04 10:09emvAssigned Toemv => msv
2018-09-04 10:09emvStatusassigned => resolved
2018-09-11 12:23msvNote Added: 0079112
2018-09-11 12:23msvAssigned Tomsv => bugmaster
2018-09-11 12:23msvStatusresolved => reviewed
2018-09-11 12:24msvNote Added: 0079113
2018-09-11 12:24msvAssigned Tobugmaster => emv
2018-09-11 12:24msvStatusreviewed => assigned
2018-09-11 12:29gitNote Added: 0079114
2018-09-11 14:47emvNote Added: 0079122
2018-09-11 14:47emvAssigned Toemv => msv
2018-09-11 14:47emvStatusassigned => resolved
2018-09-11 15:07msvAssigned Tomsv => bugmaster
2018-09-11 15:07msvStatusresolved => reviewed
2018-09-11 20:13bugmasterTest case number => bugs/modalg_2/bug472_1, bugs/modalg_2/bug472_3, bugs/modalg_7/bug30092
2018-09-11 20:19bugmasterNote Added: 0079135
2018-09-11 20:19bugmasterStatusreviewed => tested
2018-09-15 17:11bugmasterChangeset attached => occt master 241a6133
2018-09-15 17:11bugmasterStatustested => verified
2018-09-15 17:11bugmasterResolutionopen => fixed
2018-09-22 18:33gitNote Added: 0079325

Notes
(0078826)
git   
2018-08-29 11:53   
Branch CR30092 has been created by emv.

SHA-1: ad9871766c929079d04d9f8792f6322e1f098e11


Detailed log of new commits:

Author: emv
Date: Wed Aug 29 11:51:43 2018 +0300

    0030092: Modeling Algorithms - Invalid result of Section operation
    
    The following improvements have been made in Boolean operations algorithm in order to fix the problem:
    1. Initialization of the pave blocks which vertices have acquired the SD ones.
    2. Removing from Data Structure the small edges having the same vertices on both ends (either initially or acquired).
    3. Avoid adding empty SD connections when one vertex points to itself.
    
    Test case for the issue.
(0078834)
git   
2018-08-29 15:52   
Branch CR30092 has been updated forcibly by emv.

SHA-1: a09ae04afa049186c3ce5b81e64d009a5facb7b3
(0078923)
git   
2018-09-03 11:47   
Branch CR30092 has been updated forcibly by emv.

SHA-1: 567be03a89d2557727f0632747b7165537510379
(0078969)
emv   
2018-09-04 10:09   
Dear Mikhail, could you please review the git branch CR30092?

Test results - http://vm-jenkins-test-12.nnov.opencascade.com:8080/view/CR30092-master-emv/view/COMPARE/ [^]
(0079112)
msv   
2018-09-11 12:23   
Reviewed.
(0079113)
msv   
2018-09-11 12:24   
Please rebase.
(0079114)
git   
2018-09-11 12:29   
Branch CR30092 has been updated forcibly by emv.

SHA-1: 938158de2ae4f1ed13fdb3651c7729a262af3917
(0079122)
emv   
2018-09-11 14:47   
Done.
(0079135)
bugmaster   
2018-09-11 20:19   
Combination -
OCCT branch : CR30092 SHA - 938158de2ae4f1ed13fdb3651c7729a262af3917
Products branch : master SHA - 1cfd7530b31d67df5934df8f8482970efcc7aae9
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17685.67999999978 / 17645.18999999985 [+0.23%]
Products
Total CPU difference: 7441.820000000066 / 7452.260000000036 [-0.14%]
Windows-64-VC14:
OCCT
Total CPU difference: 17429.804528798573 / 17465.887560098538 [-0.21%]
Products
Total CPU difference: 8330.125797899973 / 8296.913184999985 [+0.40%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0079325)
git   
2018-09-22 18:33   
Branch CR30092 has been deleted by inv.

SHA-1: 938158de2ae4f1ed13fdb3651c7729a262af3917