MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0030760Community[OCCT] OCCT:Modeling Algorithmspublic2019-05-31 13:462019-06-08 13:21
Reporterlikewei92 
Assigned Tobugmaster 
PrioritynormalSeveritymajor 
StatusverifiedResolutionfixed 
PlatformLinuxOSDebian 6.0OS Version64 bit
Product Version[OCCT] 7.3.0 
Target VersionFixed in Version 
Summary0030760: [Regression to 7.2.0] Modeling Algorithms - Intersection fails in Occt 7.3.0
DescriptionI'm seeing a Boolean intersection fail in occt 7.3.0 that didn't fail in 7.2.0. I observed this in FreeCAD, and checked that the intersection fails with every version of 7.3.0. You can see more details with pictures here: https://forum.freecadweb.org/viewtopic.php?f=3&t=36711 [^]
Steps To Reproducerestore shapes.brep a
explode a so

bcommon r a_1 a_2
# no result

bcommon r a_2 a_1
# result is good
TagsNo tags attached.
Test case numberbugs/modalg_7/bug30760
Attached Files? file icon shapes.brep (69,262 bytes) 2019-05-31 18:02
? file icon wrong_intersect.brep (408 bytes) 2019-05-31 18:02
? file icon correct_intersect.brep (45,823 bytes) 2019-05-31 18:03

- Relationships

-  Notes
(0084734)
msv (developer)
2019-05-31 15:11

Dear likewei92, could you attach here the files to reproduce in BREP format?
(0084740)
likewei92 (reporter)
2019-05-31 18:05

Sure! shapes.brep shows the two shapes that are being intersected. wrong_intersect.brep is generated using 7.3.0 (there's nothing there...), and correct_intersect.brep is generated using 7.2.0.

Thanks for looking into it and let me know if you need anything else from me!
(0084742)
msv (developer)
2019-05-31 19:49

If you swap the operands then the result is good.
So, here we see instability connected with the order of arguments.
(0084743)
msv (developer)
2019-05-31 20:17

The shape contains some faces built on planar bspline surfaces (degree in both U and V is 1).
If we convert them to be built on canonical planes (I used Canonical Recognition component https://www.opencascade.com/content/canonical-recognition [^]) the result is good regardless of the order of the arguments.
(0084744)
likewei92 (reporter)
2019-06-01 10:05

Thanks for the workaround! Is it possible to fix the original instability?
(0084764)
msv (developer)
2019-06-01 21:56

There is nothing impossible. However, this task is not payed. Therefore it has very low priority.
(0084765)
likewei92 (reporter)
2019-06-02 09:48

Ok, what would be the process to turn this into a paid task? I can't seem to find a donation page or something
(0084767)
msv (developer)
2019-06-03 09:19

Please fill in contact form at https://www.opencascade.com/contact. [^] The support manager will communicate you to discuss the ways of putting the bug into paid status.
(0084768)
msv (developer)
2019-06-03 10:31

This bug is classified as a regression. It will be fixed on account of internal OCC resources.
(0084769)
git (administrator)
2019-06-03 11:37

Branch CR30760 has been created by emv.

SHA-1: 3a42f7ee9a42aceb45c6c503403493f8976d2c29


Detailed log of new commits:

Author: emv
Date: Mon Jun 3 11:36:18 2019 +0300

    0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
    
    Use FORWARD orientation of edges and face when attaching pcurve from one edge to another.
    Test case for the issue.
(0084787)
emv (developer)
2019-06-04 07:25

Dear Mikhail, could you please review the git branch CR30760?
Test results - http://vm-jenkins-test-12.nnov.opencascade.com:8080/view/CR30760-master-emv/view/COMPARE/ [^]
(0084813)
git (administrator)
2019-06-04 13:34

Branch CR30760 has been updated forcibly by emv.

SHA-1: 68fce0db696b6bf04765e52cbb080efd3ab9845c
(0084816)
msv (developer)
2019-06-04 15:22

Reviewed.
(0084822)
bugmaster (administrator)
2019-06-04 17:54

Combination -
OCCT branch : CR30760
master SHA - 3a42f7ee9a42aceb45c6c503403493f8976d2c29
d67d4b811012eef8913d3c535c29654d0acf3c4c
Products branch : master SHA - c337118ac41004248abf27585e4c0e972f1a923e
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: 16283.950000000004 / 16313.930000000051 [-0.18%]
Products
Total CPU difference: 10489.97000000005 / 10490.14000000005 [-0.00%]
Windows-64-VC14:
OCCT
Total CPU difference: 17720.8125 / 17714.90625 [+0.03%]
Products
Total CPU difference: 12062.0 / 12054.984375 [+0.06%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
(0084957)
git (administrator)
2019-06-08 13:21

Branch CR30760 has been deleted by inv.

SHA-1: 68fce0db696b6bf04765e52cbb080efd3ab9845c

- Related Changesets
occt: master 78005ffe
Timestamp: 2019-06-03 08:36:18
Author: emv
Committer: bugmaster
Details ] Diff ]
0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0

Use FORWARD orientation of edges and face when attaching pcurve from one edge to another.
Test case for the issue.
mod - src/BOPTools/BOPTools_AlgoTools2D_1.cxx Diff ] File ]
add - tests/bugs/modalg_7/bug30760 Diff ] File ]

- Issue History
Date Modified Username Field Change
2019-05-31 13:46 likewei92 New Issue
2019-05-31 13:46 likewei92 Assigned To => kgv
2019-05-31 13:51 kgv Assigned To kgv => msv
2019-05-31 13:51 kgv Category OCCT:Coding => OCCT:Modeling Algorithms
2019-05-31 15:11 msv Note Added: 0084734
2019-05-31 15:46 kgv Summary Intersection fails in Occt 7.3.0 => Modeling Algorithms - Intersection fails in Occt 7.3.0
2019-05-31 18:02 likewei92 File Added: shapes.brep
2019-05-31 18:02 likewei92 File Added: wrong_intersect.brep
2019-05-31 18:03 likewei92 File Added: correct_intersect.brep
2019-05-31 18:05 likewei92 Note Added: 0084740
2019-05-31 19:48 msv Steps to Reproduce Updated View Revisions
2019-05-31 19:49 msv Note Added: 0084742
2019-05-31 20:17 msv Note Added: 0084743
2019-06-01 10:05 likewei92 Note Added: 0084744
2019-06-01 21:56 msv Note Added: 0084764
2019-06-02 09:48 likewei92 Note Added: 0084765
2019-06-03 09:19 msv Note Added: 0084767
2019-06-03 10:31 msv Note Added: 0084768
2019-06-03 10:31 msv Summary Modeling Algorithms - Intersection fails in Occt 7.3.0 => [Regression to 7.2.0] Modeling Algorithms - Intersection fails in Occt 7.3.0
2019-06-03 10:31 msv Assigned To msv => emv
2019-06-03 10:31 msv Status new => assigned
2019-06-03 11:37 git Note Added: 0084769
2019-06-04 07:25 emv Note Added: 0084787
2019-06-04 07:25 emv Assigned To emv => msv
2019-06-04 07:25 emv Status assigned => resolved
2019-06-04 13:34 git Note Added: 0084813
2019-06-04 15:22 msv Note Added: 0084816
2019-06-04 15:22 msv Assigned To msv => bugmaster
2019-06-04 15:22 msv Status resolved => reviewed
2019-06-04 17:53 bugmaster Test case number => bugs/modalg_7/bug30760
2019-06-04 17:54 bugmaster Note Added: 0084822
2019-06-04 17:54 bugmaster Status reviewed => tested
2019-06-08 13:11 bugmaster Changeset attached => occt master 78005ffe
2019-06-08 13:11 bugmaster Status tested => verified
2019-06-08 13:11 bugmaster Resolution open => fixed
2019-06-08 13:21 git Note Added: 0084957


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker