Archived issue #0026243
Boolean operations failed on shapes with fillets
Description
The attached BRep file contains a complex model with fillets at junction of model parts.
Try to copy and rotate new shape on 90 degrees as it described in Steps to reproduce (variables are defined in the script). BOP failed on such arguments.
A result of bfuse, bcut or bcommon is an empty compound:
Output of bopargcheck:
Draw[300]> bopargcheck _model _copy #F
Made faulty shape: s1be_1
Made faulty shape: s2be_1
Made faulty shape: s1be_2
Made faulty shape: s2be_2
Made faulty shape: s1be_3
Made faulty shape: s2be_3
Made faulty shape: s1be_4
Made faulty shape: s2be_4
Made faulty shape: s1be_5
Made faulty shape: s2be_5
Made faulty shape: s1be_6
Made faulty shape: s2be_6
Made faulty shape: s1be_7
Made faulty shape: s2be_7
Made faulty shape: s1be_8
Made faulty shape: s2be_8
Made faulty shape: s2COnS_1 (MaxDist = 1.[revision removed]-006, MaxPar = 0.586004
84552583931)
Faulties for FIRST shape found : 8
---------------------------------
Shapes are not suppotrted by BOP: NO
Self-Intersections : NO
Check for SI has been aborted : NO
Too small edges : NO
Bad faces : NO
Too close vertices : NO
Too close edges : YES Cases(8) Total shapes(12)
Shapes with Continuity C0 : NO
Invalid Curve on Surface : NO
Faulties for SECOND shape found : 9
---------------------------------
Shapes are not suppotrted by BOP: NO
Self-Intersections : NO
Check for SI has been aborted : NO
Too small edges : NO
Bad faces : NO
Too close vertices : NO
Too close edges : YES Cases(8) Total shapes(14)
Shapes with Continuity C0 : NO
Invalid Curve on Surface : YES Cases(1) Total shapes(2)
8 cases of "Too close edges" all are edges at fillets.
Try to copy and rotate new shape on 90 degrees as it described in Steps to reproduce (variables are defined in the script). BOP failed on such arguments.
A result of bfuse, bcut or bcommon is an empty compound:
Output of bopargcheck:
Draw[300]> bopargcheck _model _copy #F
Made faulty shape: s1be_1
Made faulty shape: s2be_1
Made faulty shape: s1be_2
Made faulty shape: s2be_2
Made faulty shape: s1be_3
Made faulty shape: s2be_3
Made faulty shape: s1be_4
Made faulty shape: s2be_4
Made faulty shape: s1be_5
Made faulty shape: s2be_5
Made faulty shape: s1be_6
Made faulty shape: s2be_6
Made faulty shape: s1be_7
Made faulty shape: s2be_7
Made faulty shape: s1be_8
Made faulty shape: s2be_8
Made faulty shape: s2COnS_1 (MaxDist = 1.[revision removed]-006, MaxPar = 0.586004
84552583931)
Faulties for FIRST shape found : 8
---------------------------------
Shapes are not suppotrted by BOP: NO
Self-Intersections : NO
Check for SI has been aborted : NO
Too small edges : NO
Bad faces : NO
Too close vertices : NO
Too close edges : YES Cases(8) Total shapes(12)
Shapes with Continuity C0 : NO
Invalid Curve on Surface : NO
Faulties for SECOND shape found : 9
---------------------------------
Shapes are not suppotrted by BOP: NO
Self-Intersections : NO
Check for SI has been aborted : NO
Too small edges : NO
Bad faces : NO
Too close vertices : NO
Too close edges : YES Cases(8) Total shapes(14)
Shapes with Continuity C0 : NO
Invalid Curve on Surface : YES Cases(1) Total shapes(2)
8 cases of "Too close edges" all are edges at fillets.
Steps to reproduce
restore Attachment 2 (BREP) _model
tcopy _model _copy
trotate _copy 155. 100.75 0 0 0 1 90
bcommon res _model _copy
tcopy _model _copy
trotate _copy 155. 100.75 0 0 0 1 90
bcommon res _model _copy
Public activity
21 archived notes
Participants are labeled by their role within this record.
Dear msv.
The attempt to run the script:
source ANC101Compile.tcl
leads to exception on Debian Linux 7:
An exception was caught 0x7f7b71e72540 : Standard_Failure: There are no suitable edges for chamfer or fillet
** Exception ** 0x7f7b71e72540 : Standard_Failure: There are no suitable edges for chamfer or fillet
Tcl Exception: ** Exception ** 0x7f7b71e72540 : Standard_Failure: There are no suitable edges for chamfer or fillet
at line 259:
blend _model _model 2 _model_29
So, the next "Steps to reproduce" can not be done.
Please provide the normal execution of "Steps to reproduce"
cat /etc/issue
Debian GNU/Linux 7 \n \l
The attempt to run the script:
source ANC101Compile.tcl
leads to exception on Debian Linux 7:
An exception was caught 0x7f7b71e72540 : Standard_Failure: There are no suitable edges for chamfer or fillet
** Exception ** 0x7f7b71e72540 : Standard_Failure: There are no suitable edges for chamfer or fillet
Tcl Exception: ** Exception ** 0x7f7b71e72540 : Standard_Failure: There are no suitable edges for chamfer or fillet
at line 259:
blend _model _model 2 _model_29
So, the next "Steps to reproduce" can not be done.
Please provide the normal execution of "Steps to reproduce"
cat /etc/issue
Debian GNU/Linux 7 \n \l
Dear akz, please update the script to avoid exception.
I've updated script with correct blending, as i thing. However, I'd like to notice that original script is correctly executed on Windows without any exceptions.
Last revision of OCCT version i've used:
[revision removed]
Author: apn <[email removed]>
Date: 15-May-15 3:30:41 PM
Message:
Update of testing cases for Debian 7.0 64 bit
Last revision of OCCT version i've used:
[revision removed]
Author: apn <[email removed]>
Date: 15-May-15 3:30:41 PM
Message:
Update of testing cases for Debian 7.0 64 bit
May be the source of incorrect work on Linux is due to instability of sequence of edges that blend algorithm puts into result.
Anton, in this case, as the bug is focused on Booleans, I suggest that you save the result of blend on windows and attach it here, and modify the steps to reproduce to restore the operand instead of creation it anew.
Anton, in this case, as the bug is focused on Booleans, I suggest that you save the result of blend on windows and attach it here, and modify the steps to reproduce to restore the operand instead of creation it anew.
BRep model had uploaded
Branch [archived branch] has been created by Participant.
[revision removed]
No new revisions were added by this update.
[revision removed]
No new revisions were added by this update.
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: pkv
Date: Fri Jul 31 09:52:43 2015 +0300
0026243: Boolean operations failed on shapes with fillets
I. New features:
No new features
II. Changes:
II.1. class IntAna_QuadQuadGeo
- method:
void IntAna_QuadQuadGeo::Perform(const gp_Pln& Pln,
const gp_Torus& Tor,
const Standard_Real Tol)
the condition to obtain the one solution
for the case when the torus touches the plane
has been changed to overcome round-off errors.
III. Modified entities:
packages:
IntAna
[revision removed]
Detailed log of new commits:
Author: pkv
Date: Fri Jul 31 09:52:43 2015 +0300
0026243: Boolean operations failed on shapes with fillets
I. New features:
No new features
II. Changes:
II.1. class IntAna_QuadQuadGeo
- method:
void IntAna_QuadQuadGeo::Perform(const gp_Pln& Pln,
const gp_Torus& Tor,
const Standard_Real Tol)
the condition to obtain the one solution
for the case when the torus touches the plane
has been changed to overcome round-off errors.
III. Modified entities:
packages:
IntAna
Git branch CR26243 is ready to review.
Reviewed.
Branch [archived branch] has been created by Participant.
[revision removed]
No new revisions were added by this update.
[revision removed]
No new revisions were added by this update.
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: pkv
Date: Mon Aug 3 13:14:53 2015 +0300
0026243: Boolean operations failed on shapes with fillets
Detected bugs have been fixed.
[revision removed]
Detailed log of new commits:
Author: pkv
Date: Mon Aug 3 13:14:53 2015 +0300
0026243: Boolean operations failed on shapes with fillets
Detected bugs have been fixed.
Git branch CR26243_1 is ready to review.
Reviewed.
Dear Commenter 1,
Branch CR26243_1 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 15 (15 on master)
Windows: 0 (0 on master)
products component :
Linux: 39 (39 on master)
Windows: 0 (0 on master)
Regressions/Differences/Improvements:
No regressions/differences
Testing cases:
bugs modalg_6 bug26243: FAILED
http://occt-tests/CR26243-1-master-occt-64/Debian70-64/bugs/modalg_6/bug26243.html
http://occt-tests/CR26243-1-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug26243.html
Testing on Linux:
occt component :
Total MEMORY difference: 91795756 / 91600831 [+0.21%]
Total CPU difference: 17890.809999999172 / 18131.509999999096 [-1.33%]
products component :
Total MEMORY difference: 24829418 / 24843720 [-0.06%]
Total CPU difference: 7180.299999999987 / 6151.349999999959 [+16.73%]
Testing on Windows:
occt component :
Total MEMORY difference: 57612340 / 57633878 [-0.04%]
Total CPU difference: 16180.798122399014 / 16352.040420099176 [-1.05%]
products component :
Total MEMORY difference: 16011870 / 16018438 [-0.04%]
Total CPU difference: 5174.880772099959 / 5283.23906669996 [-2.05%]
There are no differences in images found by testdiff.
Branch CR26243_1 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 15 (15 on master)
Windows: 0 (0 on master)
products component :
Linux: 39 (39 on master)
Windows: 0 (0 on master)
Regressions/Differences/Improvements:
No regressions/differences
Testing cases:
bugs modalg_6 bug26243: FAILED
http://occt-tests/CR26243-1-master-occt-64/Debian70-64/bugs/modalg_6/bug26243.html
http://occt-tests/CR26243-1-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug26243.html
Testing on Linux:
occt component :
Total MEMORY difference: 91795756 / 91600831 [+0.21%]
Total CPU difference: 17890.809999999172 / 18131.509999999096 [-1.33%]
products component :
Total MEMORY difference: 24829418 / 24843720 [-0.06%]
Total CPU difference: 7180.299999999987 / 6151.349999999959 [+16.73%]
Testing on Windows:
occt component :
Total MEMORY difference: 57612340 / 57633878 [-0.04%]
Total CPU difference: 16180.798122399014 / 16352.040420099176 [-1.05%]
products component :
Total MEMORY difference: 16011870 / 16018438 [-0.04%]
Total CPU difference: 5174.880772099959 / 5283.23906669996 [-2.05%]
There are no differences in images found by testdiff.
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: mkv
Date: Tue Aug 4 17:12:15 2015 +0300
Test case for issue CR26243
[revision removed]
Detailed log of new commits:
Author: mkv
Date: Tue Aug 4 17:12:15 2015 +0300
Test case for issue CR26243
Dear pkv,
could you please review following test case
bugs modalg_6 bug26243
could you please review following test case
bugs modalg_6 bug26243
OK with the test case
bugs modalg_6 bug26243
bugs modalg_6 bug26243
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: mkv
Date: Wed Aug 5 13:49:15 2015 +0300
Test cases for issue CR26243
[revision removed]
Detailed log of new commits:
Author: mkv
Date: Wed Aug 5 13:49:15 2015 +0300
Test cases for issue CR26243
Dear Commenter 1,
New test cases for issue CR26243 are created, tested and pushed to branch CR26243_1 of occt git-repository.
bugs modalg_6 bug26243_1: OK
http://occt-tests/CR26243-1-master-occt-64/Debian70-64/bugs/modalg_6/bug26243_1.html
http://occt-tests/CR26243-1-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug26243_1.html
bugs modalg_6 bug26243_2: OK
http://occt-tests/CR26243-1-master-occt-64/Debian70-64/bugs/modalg_6/bug26243_2.html
http://occt-tests/CR26243-1-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug26243_2.html
bugs modalg_6 bug26243_3: OK
http://occt-tests/CR26243-1-master-occt-64/Debian70-64/bugs/modalg_6/bug26243_3.html
http://occt-tests/CR26243-1-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug26243_3.html
New test cases for issue CR26243 are created, tested and pushed to branch CR26243_1 of occt git-repository.
bugs modalg_6 bug26243_1: OK
http://occt-tests/CR26243-1-master-occt-64/Debian70-64/bugs/modalg_6/bug26243_1.html
http://occt-tests/CR26243-1-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug26243_1.html
bugs modalg_6 bug26243_2: OK
http://occt-tests/CR26243-1-master-occt-64/Debian70-64/bugs/modalg_6/bug26243_2.html
http://occt-tests/CR26243-1-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug26243_2.html
bugs modalg_6 bug26243_3: OK
http://occt-tests/CR26243-1-master-occt-64/Debian70-64/bugs/modalg_6/bug26243_3.html
http://occt-tests/CR26243-1-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug26243_3.html
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records