Archived issue #0026426
Draft angle algorithm modifies input argument + the result of the operation have very large tolerance values
Description
Draft Angle operation increases dramatically the tolerance values of the sub-shapes of input argument. The tolerance values of the sub-shapes of the result of the operation are very large.
Steps to reproduce
restore Attachment 1 (BREP) b1
tolerance b1
# Tolerance MAX=2.[revision removed]-007 MIN=9.[revision removed]-008
# FACE : MAX=9.[revision removed]-008 MIN=9.[revision removed]-008
# EDGE : MAX=2.[revision removed]-007 MIN=9.[revision removed]-008
# VERTEX : MAX=2.[revision removed]-007 MIN=1.[revision removed]-007
explode b1 f
depouille r b1 0 0 -1 b1_1 -10 0 0 -40 0 0 1
tolerance b1
# Tolerance MAX=5.289809421253965 MIN=9.[revision removed]-008
# FACE : MAX=9.[revision removed]-008 MIN=9.[revision removed]-008
# EDGE : MAX=2.[revision removed]-007 MIN=9.[revision removed]-008
# VERTEX : MAX=5.289809421253965 MIN=1.[revision removed]-007
tolerance r
# Tolerance MAX=5.289809421253965 MIN=9.[revision removed]-008
# FACE : MAX=9.[revision removed]-008 MIN=9.[revision removed]-008
# EDGE : MAX=5.2898094212539633 MIN=9.[revision removed]-008
# VERTEX : MAX=5.289809421253965 MIN=1.[revision removed]-007
tolerance b1
# Tolerance MAX=2.[revision removed]-007 MIN=9.[revision removed]-008
# FACE : MAX=9.[revision removed]-008 MIN=9.[revision removed]-008
# EDGE : MAX=2.[revision removed]-007 MIN=9.[revision removed]-008
# VERTEX : MAX=2.[revision removed]-007 MIN=1.[revision removed]-007
explode b1 f
depouille r b1 0 0 -1 b1_1 -10 0 0 -40 0 0 1
tolerance b1
# Tolerance MAX=5.289809421253965 MIN=9.[revision removed]-008
# FACE : MAX=9.[revision removed]-008 MIN=9.[revision removed]-008
# EDGE : MAX=2.[revision removed]-007 MIN=9.[revision removed]-008
# VERTEX : MAX=5.289809421253965 MIN=1.[revision removed]-007
tolerance r
# Tolerance MAX=5.289809421253965 MIN=9.[revision removed]-008
# FACE : MAX=9.[revision removed]-008 MIN=9.[revision removed]-008
# EDGE : MAX=5.2898094212539633 MIN=9.[revision removed]-008
# VERTEX : MAX=5.289809421253965 MIN=1.[revision removed]-007
Public activity
26 archived notes
Participants are labeled by their role within this record.
This issue is one more case for the general task "Non-destructive principle in algorithms".
Branch [archived branch] has been created by Participant.
[revision removed]
Detailed log of new commits:
Author: ifv
Date: Fri Jul 17 09:43:21 2015 +0300
0026426: Draft angle algorithm modifies input argument + the result of the operation have very large tolerance values
[revision removed]
Detailed log of new commits:
Author: ifv
Date: Fri Jul 17 09:43:21 2015 +0300
0026426: Draft angle algorithm modifies input argument + the result of the operation have very large tolerance values
Please, review branch CR26426
Reviewed.
Dear Commenter 1,
Branch CR26426 from occt git-repository (and IR-2015-07-09 from products git-repository) was compiled on Linux and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 24 (24 on master)
Windows: 0 (0 on master)
products component:
Linux: 37 (37 on master)
Windows: 0 (0 on master)
Regressions/Differences:
http://occt-tests/CR26426-IR-2015-07-09-occt-64/Debian70-64/summary.html
http://occt-tests/CR26426-IR-2015-07-09-occt-64/Windows-64-VC10/summary.html
bugs modalg_2 bug422_1, bug422_2
bugs modalg_4 bug712_1
draft angle A9, B1, D9, E6, E7, E9, F1, F2, F3, F4, F5, F7, F8, G1, G3, G6, G9, H1, H2, H3, H5, H6, H7, I2, I3, I5, I6, I9, J1, J2, J3, K1, K2, K3, K4, K5, K7, K8, K9, L8, M2, M3, M4
Branch CR26426 from occt git-repository (and IR-2015-07-09 from products git-repository) was compiled on Linux and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 24 (24 on master)
Windows: 0 (0 on master)
products component:
Linux: 37 (37 on master)
Windows: 0 (0 on master)
Regressions/Differences:
http://occt-tests/CR26426-IR-2015-07-09-occt-64/Debian70-64/summary.html
http://occt-tests/CR26426-IR-2015-07-09-occt-64/Windows-64-VC10/summary.html
bugs modalg_2 bug422_1, bug422_2
bugs modalg_4 bug712_1
draft angle A9, B1, D9, E6, E7, E9, F1, F2, F3, F4, F5, F7, F8, G1, G3, G6, G9, H1, H2, H3, H5, H6, H7, I2, I3, I5, I6, I9, J1, J2, J3, K1, K2, K3, K4, K5, K7, K8, K9, L8, M2, M3, M4
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
CR26426 is updated and ready to review and test
Remarks:
src\BRepOffsetAPI\BRepOffsetAPI_DraftAngle.hxx:
- the following comments have duplicate sentences:
//! Exceptions
//! Standard_NoSuchObject if S is not the initial shape or
//! a subshape of the initial shape to which the
//! transformation has been applied. Raises NoSuchObject from Standard
//! if S is not the initial shape or a sub-shape
//! of the initial shape.
src\BRepOffsetAPI\BRepOffsetAPI_DraftAngle.hxx:
- the following comments have duplicate sentences:
//! Exceptions
//! Standard_NoSuchObject if S is not the initial shape or
//! a subshape of the initial shape to which the
//! transformation has been applied. Raises NoSuchObject from Standard
//! if S is not the initial shape or a sub-shape
//! of the initial shape.
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Branch CR26426 is updated according to note 45256 and ready for tests
Dear Commenter 1,
Branch CR26426 from occt git-repository (and master from products git-repository) was compiled on Linux and Windows platforms and tested.
[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:
http://occt-tests/CR26426-master-occt-64/Debian70-64/summary.html
draft angle G1, J3
Testing on Linux:
Total MEMORY difference: 91159555 / 91940613 [-0.85%]
Total CPU difference: 17848.559999999103 / 17715.28999999897 [+0.75%]
Testing on Windows:
Total MEMORY difference: 57135643 / 57144818 [-0.02%]
Total CPU difference: 16435.500955098993 / 16584.559910599328 [-0.90%]
Branch CR26426 from occt git-repository (and master from products git-repository) was compiled on Linux and Windows platforms and tested.
[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:
http://occt-tests/CR26426-master-occt-64/Debian70-64/summary.html
draft angle G1, J3
Testing on Linux:
Total MEMORY difference: 91159555 / 91940613 [-0.85%]
Total CPU difference: 17848.559999999103 / 17715.28999999897 [+0.75%]
Testing on Windows:
Total MEMORY difference: 57135643 / 57144818 [-0.02%]
Total CPU difference: 16435.500955098993 / 16584.559910599328 [-0.90%]
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Branch CR26426 was updated in order to merge fixes for 26426 and 26396
Branch CR26426 was updated in order to merge fixes for 26426 and 26396
Please test it.
Please test it.
Dear Commenter 1,
Branch CR26426 from occt git-repository (and master from products git-repository) was compiled on Linux, Windows and MacOS platforms and tested.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 8 (8 on master)
Windows: 0 (0 on master)
products component:
Linux: 39 (39 on master)
Windows: 0 (0 on master)
Regressions/Differences:
http://occt-tests/CR26426-master-occt-64/Debian70-64/summary.html
draft angle G1, G6, J2, J3
Testing on Linux:
Total MEMORY difference: 92096228 / 92266300 [-0.18%]
Total CPU difference: 19666.079999999798 / 19656.73999999973 [+0.05%]
Testing on Windows:
Total MEMORY difference: 58026168 / 58040693 [-0.03%]
Total CPU difference: 18007.60103259898 / 17972.407206998967 [+0.20%]
Branch CR26426 from occt git-repository (and master from products git-repository) was compiled on Linux, Windows and MacOS platforms and tested.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 8 (8 on master)
Windows: 0 (0 on master)
products component:
Linux: 39 (39 on master)
Windows: 0 (0 on master)
Regressions/Differences:
http://occt-tests/CR26426-master-occt-64/Debian70-64/summary.html
draft angle G1, G6, J2, J3
Testing on Linux:
Total MEMORY difference: 92096228 / 92266300 [-0.18%]
Total CPU difference: 19666.079999999798 / 19656.73999999973 [+0.05%]
Testing on Windows:
Total MEMORY difference: 58026168 / 58040693 [-0.03%]
Total CPU difference: 18007.60103259898 / 17972.407206998967 [+0.20%]
Dear ifv,
Branch [archived branch] has been rejected due to:
- regressions/differences/improvement
Branch [archived branch] has been rejected due to:
- regressions/differences/improvement
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Branch CR26426 was updated to fix regressions, please test
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been rebased on the current master
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: apv
Date: Tue Oct 27 15:01:01 2015 +0300
Test-case for issue #0026426
[revision removed]
Detailed log of new commits:
Author: apv
Date: Tue Oct 27 15:01:01 2015 +0300
Test-case for issue #0026426
Dear Commenter 1,
Branch CR26426 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 1 (1 on master)
Windows: 0 (0 on master)
products component:
Linux: 39 (39 on master)
Windows: 0 (0 on master)
Regressions/Differences:
Not detected
Testing cases:
bugs modalg_6 bug26426 - OK
http://occt-tests/CR26426-master-occt-64/Debian70-64/bugs/modalg_6/bug26426.html
http://occt-tests/CR26426-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug26426.html
Testing on Linux:
Total MEMORY difference: 92196894 / 92336834 [-0.15%]
Total CPU difference: 19725.799999999763 / 19731.589999999687 [-0.03%]
Testing on Windows:
Total MEMORY difference: 58096060 / 58090849 [+0.01%]
Total CPU difference: 18472.047209798835 / 18494.870156099 [-0.12%]
Branch CR26426 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
[revision removed]
Number of compiler warnings:
occt component:
Linux: 1 (1 on master)
Windows: 0 (0 on master)
products component:
Linux: 39 (39 on master)
Windows: 0 (0 on master)
Regressions/Differences:
Not detected
Testing cases:
bugs modalg_6 bug26426 - OK
http://occt-tests/CR26426-master-occt-64/Debian70-64/bugs/modalg_6/bug26426.html
http://occt-tests/CR26426-master-occt-64/Windows-64-VC10/bugs/modalg_6/bug26426.html
Testing on Linux:
Total MEMORY difference: 92196894 / 92336834 [-0.15%]
Total CPU difference: 19725.799999999763 / 19731.589999999687 [-0.03%]
Testing on Windows:
Total MEMORY difference: 58096060 / 58090849 [+0.01%]
Total CPU difference: 18472.047209798835 / 18494.870156099 [-0.12%]
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records