MantisBT - Community
View Issue Details
0024094Community[OCCT] OCCT:Modeling Algorithmspublic2013-08-01 03:282017-09-29 16:24
Hayashi 
bugmaster 
normalminor 
closedfixed 
WindowsVC++ 201032 bit
[OCCT] 6.6.0 
[OCCT] 7.2.0[OCCT] 7.2.0 
bugs modalg_6 bug24094
0024094: Issure by option of BRepAlgoAPI_Section
At attached Face and the plane of a specific position, the intersection results of BRepAlgoAPI_Section differ by option of ComputePCurveOn and Approximation.
Draw[1]> pload ALL
1
Draw[2]> restore face.brep a
a
Draw[3]> plane p 183.6 0 0 1 0 0 0 1 0
Draw[4]> mkface f p
Draw[5]> bsection result1 a f
Draw[6]> explode result1
result1_1
Draw[7]> bsection result2 a f -na
Draw[8]> explode result2
result2_1
Draw[9]> bsection result3 a f -n2d2
Draw[10]> explode result3
Draw[11]> bsection result4 a f -n2d
Draw[12]> explode result4
Draw[13]> bsection result5 a f -n2d -na
Draw[14]> explode result5
result5_1
Draw[15]>
Method
   Standard_Boolean
      BOPInt_Context::IsValidBlockForFaces (const Standard_Real aT1,
                                            const Standard_Real aT2,
                                            const IntTools_Curve& aC,
                                            const TopoDS_Face& aF1,
                                            const TopoDS_Face& aF2,
                                            const Standard_Real aTol)

 To conclude that the curve is valid for the face checking only 2d curve is not enough.
 Also, it is necessary to check the 3d curve.
No tags attached.
parent of 0024418assigned nbv Open CASCADE Wrong section curves when intersecting analytical surfaces 
related to 0028544new msv Open CASCADE Big tolerance value is returned by Implicit-parametric algorithm 
Not all the children of this issue are yet resolved or closed.
? face.brep (10,225) 2013-08-01 03:28
https://tracker.dev.opencascade.org/
Issue History
2013-08-01 03:28HayashiNew Issue
2013-08-01 03:28HayashiAssigned To => ifv
2013-08-01 03:28HayashiFile Added: face.brep
2013-09-13 11:58ifvAssigned Toifv => emv
2013-10-30 17:40emvNote Added: 0026374
2013-10-30 17:40emvAssigned Toemv => pkv
2013-10-30 17:40emvStatusnew => resolved
2013-10-30 17:40emvAdditional Information Updatedbug_revision_view_page.php?rev_id=6133#r6133
2013-11-06 11:10pkvNote Added: 0026466
2013-11-06 11:11pkvAssigned Topkv => mkv
2013-11-06 11:11pkvStatusresolved => reviewed
2013-11-11 13:42mkvNote Added: 0026532
2013-11-11 13:43mkvTest case number => bugs modalg_5(010) bug24094_1, bug24094_2, bug24094_3, bug24094_4, bug24094_5
2013-11-11 13:43mkvAssigned Tomkv => emv
2013-11-11 13:43mkvStatusreviewed => assigned
2013-11-29 11:27emvRelationship addedparent of 0024418
2014-12-11 12:10gitNote Added: 0035316
2014-12-11 12:12emvNote Added: 0035317
2014-12-11 12:12emvAssigned Toemv => mkv
2014-12-11 12:12emvStatusassigned => feedback
2014-12-11 13:47mkvStatusfeedback => reviewed
2014-12-15 14:53mkvNote Added: 0035407
2014-12-15 14:53mkvAssigned Tomkv => emv
2014-12-15 14:53mkvStatusreviewed => assigned
2015-04-27 12:18HayashiNote Added: 0040267
2015-04-27 12:19HayashiNote Edited: 0040267bug_revision_view_page.php?bugnote_id=40267#r10224
2017-03-01 15:02msvRelationship addedrelated to 0028491
2017-03-02 12:47nbvNote Added: 0064074
2017-03-02 12:47nbvAssigned Toemv => bugmaster
2017-03-02 12:47nbvStatusassigned => feedback
2017-03-06 11:30bugmasterStatusfeedback => tested
2017-03-06 11:35bugmasterTest case numberbugs modalg_5(010) bug24094_1, bug24094_2, bug24094_3, bug24094_4, bug24094_5 => bugs modalg_6 bug24094
2017-03-06 11:35bugmasterStatustested => verified
2017-03-06 11:35bugmasterResolutionopen => fixed
2017-03-06 11:35bugmasterTarget Version => 7.2.0
2017-03-13 17:16nbvRelationship addedrelated to 0028544
2017-03-20 14:37gitNote Added: 0064531
2017-09-29 16:20aivFixed in Version => 7.2.0
2017-09-29 16:24aivStatusverified => closed

Notes
(0026374)
emv   
2013-10-30 17:40   
Git branch CR24094 is ready to be reviewed.
(0026466)
pkv   
2013-11-06 11:10   
reviewed
(0026532)
mkv   
2013-11-11 13:42   
Dear BugMaster,

Branch CR24094 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
SHA-1: 9569a571194d54ac2e51562a871f53dee87cd29f

Number of compiler warnings:

occt component :
Linux: 318 (318 on master)
Windows: 0 (0 on master)

products component :
Linux: 188 (188 on master)
Windows: 287 (287 on master)

Regressions/Differences:
http://occt-tests/CR24094-master-occt/Debian60-64/summary.html [^]
http://occt-tests/CR24094-master-occt/Windows-32-VC9/summary.html [^]
boolean bfuse_complex(013) E6, F8
bugs modalg_2(007) bug20964_1, bug20964_2, bug20964_3, bug20964_4, bug20964_5
draft angle(001) F9

Testing cases:
http://occt-tests/CR24094-master-occt/Debian60-64/bugs/modalg_5/bug24094_1.html [^]
http://occt-tests/CR24094-master-occt/Windows-32-VC9/bugs/modalg_5/bug24094_1.html [^]
bugs modalg_5(010) bug24094_1: FAILED

http://occt-tests/CR24094-master-occt/Debian60-64/bugs/modalg_5/bug24094_2.html [^]
http://occt-tests/CR24094-master-occt/Windows-32-VC9/bugs/modalg_5/bug24094_2.html [^]
bugs modalg_5(010) bug24094_2: FAILED

http://occt-tests/CR24094-master-occt/Debian60-64/bugs/modalg_5/bug24094_3.html [^]
http://occt-tests/CR24094-master-occt/Windows-32-VC9/bugs/modalg_5/bug24094_3.html [^]
bugs modalg_5(010) bug24094_3: FAILED

http://occt-tests/CR24094-master-occt/Debian60-64/bugs/modalg_5/bug24094_4.html [^]
http://occt-tests/CR24094-master-occt/Windows-32-VC9/bugs/modalg_5/bug24094_4.html [^]
bugs modalg_5(010) bug24094_4: FAILED

http://occt-tests/CR24094-master-occt/Debian60-64/bugs/modalg_5/bug24094_5.html [^]
http://occt-tests/CR24094-master-occt/Windows-32-VC9/bugs/modalg_5/bug24094_5.html [^]
bugs modalg_5(010) bug24094_5: FAILED

Testing on Linux:
Total MEMORY difference: 356476760 / 356394768
Total CPU difference: 44082.600000000915 / 42435.870000001574

Testing on Windows:
Total MEMORY difference: 411236000 / 410605332
Total CPU difference: 32170.234375 / 30167.78125

There are not differences in images found by testdiff.
(0035316)
git   
2014-12-11 12:10   
Branch CR24094 has been updated forcibly by emv.

SHA-1: cfc16cf7c945c94546afd4ea3d2a94988bc8952f
(0035317)
emv   
2014-12-11 12:12   
I have rebased the git branch CR24094 on the current master. Could you please test it once more.
(0035407)
mkv   
2014-12-15 14:53   
Dear BugMaster,

Branch CR24094 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
SHA-1: cfc16cf7c945c94546afd4ea3d2a94988bc8952f

Number of compiler warnings:

occt component :
Linux: 18 (18 on master)
Windows: 0 (0 on master)

products component :
Linux: 11 (11 on master)
Windows: 1 (1 on master)

Regressions/Differences:
http://occt-tests/CR24094-master-occt/Debian60-64/summary.html [^]
http://occt-tests/CR24094-master-occt/Windows-32-VC9/summary.html [^]
boolean bfuse_complex(013) E6, F8
bugs modalg_2(007) bug20964_1, bug20964_2, bug20964_3, bug20964_4, bug20964_5
bugs modalg_5(010) bug24558, bug25002
draft angle(001) F9

http://occt-tests.nnov.opencascade.com/CR24094-master-occt/Windows-32-VC10/draft/angle/F9.html [^]
boolean bsection(015) R9 - only on Windows platform

Testing cases:
http://occt-tests/CR24094-master-occt/Debian60-64/bugs/modalg_5/bug24094_1.html [^]
http://occt-tests/CR24094-master-occt/Windows-32-VC9/bugs/modalg_5/bug24094_1.html [^]
bugs modalg_5(010) bug24094_1: FAILED

http://occt-tests/CR24094-master-occt/Debian60-64/bugs/modalg_5/bug24094_2.html [^]
http://occt-tests/CR24094-master-occt/Windows-32-VC9/bugs/modalg_5/bug24094_2.html [^]
bugs modalg_5(010) bug24094_2: FAILED

http://occt-tests/CR24094-master-occt/Debian60-64/bugs/modalg_5/bug24094_3.html [^]
http://occt-tests/CR24094-master-occt/Windows-32-VC9/bugs/modalg_5/bug24094_3.html [^]
bugs modalg_5(010) bug24094_3: FAILED

http://occt-tests/CR24094-master-occt/Debian60-64/bugs/modalg_5/bug24094_4.html [^]
http://occt-tests/CR24094-master-occt/Windows-32-VC9/bugs/modalg_5/bug24094_4.html [^]
bugs modalg_5(010) bug24094_4: FAILED

http://occt-tests/CR24094-master-occt/Debian60-64/bugs/modalg_5/bug24094_5.html [^]
http://occt-tests/CR24094-master-occt/Windows-32-VC9/bugs/modalg_5/bug24094_5.html [^]
bugs modalg_5(010) bug24094_5: FAILED

Testing on Linux:
occt component :
Total MEMORY difference: 363846372 / 363243276
Total CPU difference: 44624.840000000106 / 47495.1899999999
products component :
Total MEMORY difference: 112418060 / 112909436
Total CPU difference: 15435.029999999992 / 16263.849999999975

Testing on Windows:
occt component :
Total MEMORY difference: 277354892 / 276869236
Total CPU difference: 40893.828125 / 41621.890625
products component :
Total MEMORY difference: 72455312 / 71216368
Total CPU difference: 15566.71875 / 13037.484375

There are following differences in images found by testdiff.
http://occt-tests.nnov.opencascade.com/CR24094-master-occt/Debian60-64/diff-Debian60-64.html [^]
http://occt-tests.nnov.opencascade.com/CR24094-master-occt/Windows-32-VC10/diff-Windows-32-VC10.html [^]
IMAGE boolean bsection M8: M8.png differs
IMAGE boolean bsection N4: N4.png differs
IMAGE boolean bsection N7: N7.png differs
IMAGE boolean bsection M9: M9.png differs
(0040267)
Hayashi   
2015-04-27 12:18   
(edited on: 2015-04-27 12:19)
result on OCCT 6.9.0 beta:

Draw[1]> pload ALL
1
Draw[2]> restore face.brep a
a
Draw[3]> plane p 183.6 0 0 1 0 0 0 1 0
Draw[4]> mkface f p
Draw[5]> bsection result1 a f
Draw[6]> explode result1
result1_1
Draw[7]> whatis result1_1
result1_1 is a shape EDGE FORWARD Modified Orientable

Draw[8]> bsection result2 a f -na
Draw[9]> explode result2
result2_1
Draw[10]> bsection result3 a f -n2d2
Draw[11]> explode result3
result3_1 result3_2
Draw[12]> whatis result3_1
result3_1 is a shape VERTEX FORWARD Modified Orientable Closed Convex

Draw[13]> whatis result3_2
result3_2 is a shape VERTEX FORWARD Modified Orientable Closed Convex

Draw[14]> bsection result4 a f -n2d
Draw[15]> explode result4
result4_1 result4_2
Draw[16]> bsection result5 a f -n2d -na
Draw[17]> explode result5
result5_1 result5_2
Draw[18]>

(0064074)
nbv   
2017-03-02 12:47   
Dear Bugmaster,

This bug is fixed in frame of the issue #28491.
Test has been included to the branch CR28491_1.

So, please close this issue as it is fixed.
(0064531)
git   
2017-03-20 14:37   
Branch CR24094 has been deleted by inv.

SHA-1: cfc16cf7c945c94546afd4ea3d2a94988bc8952f