MantisBT - Community
View Issue Details
0024811Community[OCCT] OCCT:Modeling Algorithmspublic2014-04-09 11:582014-09-11 11:47
Hayashi 
abv 
normalminor 
closedfixed 
WindowsVC++ 201032 bit
[OCCT] 6.7.0 
[OCCT] 6.7.1[OCCT] 6.7.1 
bugs modalg_5 bug24811
0024811: Intersection is insufficient
Only two points can be found although there must be three intersections of attached edge and edge.

The intersection to expect:
1: -2.22458486160362e-016, 1, 0
2: 0.0202691578002498, 0.999794559518151, 0
3: 0.826489786965127, -0.562951713775114, 0

But, one of the two of 1 or 2 cannot be found.
The result returns three edges although I want four edges at bopcut.
Draw[1]> pload ALL
1
Draw[2]> restore e1.brep curve
curve
Draw[3]> restore e2.brep circle
circle
Draw[4]> distmini dm curve circle
dm_val dm dm2
Draw[5]> dump dm

*********** Dump of dm *************
Shape : 1, FORWARD
Dump of 1 TShapes
-----------------
Flags : Free, Modified, Checked, Orientable, Closed, Infinite, Convex
TShape # 1 : VERTEX 1101101 00F0D700
    Tolerance : 1e-007
    - Point 3D : -2.22458486160362e-016, 1, 0

Draw[6]> dump dm2

*********** Dump of dm2 *************
Shape : 1, FORWARD
Dump of 1 TShapes
-----------------
Flags : Free, Modified, Checked, Orientable, Closed, Infinite, Convex
TShape # 1 : VERTEX 1101101 00F0D748
    Tolerance : 1e-007
    - Point 3D : 0.826489786965127, -0.562951713775114, 0

Draw[7]> bop curve circle
Draw[8]> bopcut result
Draw[9]> explode result
result_1
Draw[10]> explode result_1
result_1_1 result_1_2 result_1_3
Draw[11]> explode result_1_2
result_1_2_1 result_1_2_2
Draw[12]> dump result_1_2_1

*********** Dump of result_1_2_1 *************
Shape : 1, FORWARD
Dump of 1 TShapes
-----------------
Flags : Free, Modified, Checked, Orientable, Closed, Infinite, Convex
TShape # 1 : VERTEX 0101101 00F0D868
    Tolerance : 1.00000012437293e-007
    - Point 3D : 0.0202691578002498, 0.999794559518151, 0

Draw[13]> dump result_1_2_2

*********** Dump of result_1_2_2 *************
Shape : 1, REVERSED
Dump of 1 TShapes
-----------------
Flags : Free, Modified, Checked, Orientable, Closed, Infinite, Convex
TShape # 1 : VERTEX 0101101 00F0D820
    Tolerance : 1.00000347198856e-007
    - Point 3D : 0.826489786965101, -0.562951713774536, 0

Draw[14]>
No tags attached.
zip edges.zip (681) 2014-04-09 11:58
https://tracker.dev.opencascade.org/
Issue History
2014-04-09 11:58HayashiNew Issue
2014-04-09 11:58HayashiAssigned To => ifv
2014-04-09 11:58HayashiFile Added: edges.zip
2014-04-23 09:21HayashiNote Added: 0029027
2014-04-25 19:37abvNote Added: 0029085
2014-04-25 19:37abvAssigned Toifv => mkv
2014-04-25 19:37abvStatusnew => feedback
2014-04-25 19:37abvTarget Version => 6.7.1
2014-04-28 12:02bugmasterAssigned Tomkv => apn
2014-04-28 15:17apnNote Added: 0029098
2014-04-28 15:17apnTest case number => bugs modalg_5 bug24811
2014-04-28 15:17apnAssigned Toapn => bugmaster
2014-04-28 15:17apnStatusfeedback => tested
2014-05-05 17:24abvChangeset attached => occt master 1a25084d
2014-05-05 17:24abvAssigned Tobugmaster => abv
2014-05-05 17:24abvStatustested => verified
2014-05-05 17:24abvResolutionopen => fixed
2014-09-11 11:47bugmasterStatusverified => closed
2014-09-11 11:47bugmasterFixed in Version => 6.7.1

Notes
(0029027)
Hayashi   
2014-04-23 09:21   
It seems that this issue is solved by OCC6.7.1 beta.
Four edges returns.

The result:(on VC9)

--OCC6.7.0
Draw[2]> restore e1.brep curve
curve
Draw[3]> restore e2.brep circle
circle
Draw[4]> bop curve circle
Draw[5]> bopcut result
Draw[6]> explode result
result_1
Draw[7]> explode result_1
result_1_1 result_1_2 result_1_3


--OCC6.7.1 beta
Draw[2]> restore e1.brep curve
curve
Draw[3]> restore e2.brep circle
circle
Draw[4]> bop curve circle
Draw[5]> bopcut result
Draw[6]> explode result
result_1
Draw[7]> explode result_1
result_1_1 result_1_2 result_1_3 result_1_4

Draw[8]> explode result_1_2
result_1_2_1 result_1_2_2
Draw[9]> dump result_1_2_1
*********** Dump of result_1_2_1 *************
TShape # 1 : VERTEX 0101101 02F47808

    Tolerance : 1.00000000333126e-007
    - Point 3D : 2.27537646288857e-015, 1, 0
Draw[10]> dump result_1_2_2
*********** Dump of result_1_2_2 *************
TShape # 1 : VERTEX 0101101 02F47850

    Tolerance : 1.00000000889323e-007
    - Point 3D : 0.0202691578003621, 0.999794559518137, 0
(0029085)
abv   
2014-04-25 19:37   
Please add a test case and close the issue if it is Ok
(0029098)
apn   
2014-04-28 15:17   
Branch CR24811 was created.
Testing case:
bugs modalg_5 bug24811 - OK