DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0030760

[Regression to 7.2.0] Modeling Algorithms - Intersection fails in Occt 7.3.0

CommunityOCCT:Modeling Algorithmsclosed15 public notes

Search issues

Description

I'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 reproduce

restore Attachment 2 (BREP) a
explode a so

bcommon r a_1 a_2
# no result

bcommon r a_2 a_1
# result is good

Public activity

15 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Dear Author, could you attach here the files to reproduce in BREP format?
02Author
Sure! Attachment 2 (BREP) shows the two shapes that are being intersected. Attachment 3 (BREP) is generated using 7.3.0 (there's nothing there...), and Attachment 1 (BREP) is generated using 7.2.0.

Thanks for looking into it and let me know if you need anything else from me!
03Commenter 3
If you swap the operands then the result is good.
So, here we see instability connected with the order of arguments.
04Commenter 4
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.
05Author
Thanks for the workaround! Is it possible to fix the original instability?
06Commenter 6
There is nothing impossible. However, this task is not payed. Therefore it has very low priority.
07Author
Ok, what would be the process to turn this into a paid task? I can't seem to find a donation page or something
08Commenter 8
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.
09Commenter 9
This bug is classified as a regression. It will be fixed on account of internal OCC resources.
10Commenter 2
Branch [archived branch] has been created by Participant.

[revision removed]


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.
11Commenter 11
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/
12Commenter 2
Branch [archived branch] has been updated forcibly by Participant.

[revision removed]
13Commenter 13
Reviewed.
14Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
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
15Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]