View Issue Details

IDProjectCategoryView StatusLast Update
0029860Open CASCADEOCCT:Modeling Algorithmspublic2023-08-01 15:06
ReporternbvAssigned Toemv 
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Target VersionUnscheduled 
Summary0029860: Modeling Algorithms - BOPAlgo_BuilderFace cannot build new faces correctly
DescriptionBOPAlgo_BuilderFace cannot build new faces correctly. The source face contains cone with degenerated edge.
Steps To Reproducerestore cfe_47.brep cfe
bopbf f cfe
# 2 faces were built ==> WRONG (must be 3 faces)
TagsNo tags attached.
Test case number

Attached Files

  • cfe_47.brep (15,693 bytes)
  • InvFace.bin (4,645 bytes)
  • NotTrimmedDE.PNG (14,962 bytes)

Relationships

related to 0029807 closedbugmaster [Regression to 7.0.0] Impossible to cut cone from prism 
parent of 0029883 assignedemv Boolean operation with prism and cone produces invalid result when tolerance of vertex in cone apex is too big 
related to 0029421 feedbackmsv Make face classifier algorithm stable and robust 
related to 0029922 newmsv Boolean operation with conical argument loses degenerated edge 
Not all the children of this issue are yet resolved or closed.

Activities

nbv

2018-06-13 10:26

developer  

cfe_47.brep (15,693 bytes)

nbv

2018-07-19 15:21

developer   ~0077827

Last edited: 2018-07-19 17:15

The fix for the issue 0029421 creates three faces (as it is needed). However, the face f_3 is invalid in terms of BRepCheck.

I have attached it in the file InvFace.bin (is opened by "binrestore" DRAW-command).

Please note, that visually this face seems to be OK. So, maybe here BRepCheck algorithm works wrongly. It should be analyzed.

Faulty status is returned by BRepCheck_Wire::Closed2d() method. It uses BRepTools_WireExplorer algorithm, which finds only one edge in the wire (in spite of wire's containing 4 edges).

binrestore InvFace.bin ff
explode ff w
wexplo ff_1 ff
puts [llength [directory WEDGE_*]]
# 1 but must be 4


Please note, if we use BRepTools_WireExplorer only for 3D-space then it works correctly:

binrestore InvFace.bin ff
explode ff w
wexplo ff_1
puts [llength [directory WEDGE_*]]
# 4 ==> OK


nbv

2018-07-19 16:21

developer  

InvFace.bin (4,645 bytes)

nbv

2018-07-19 16:26

developer   ~0077828

Last edited: 2018-07-19 16:29

As result, the tests "bugs modalg_7 bug29807_b5a" and "bugs modalg_7 bug29807_b4a" changes self behavior. The number of entities has become as expected but

checkshape result 


finds faulty entities.

nbv

2018-10-04 10:38

developer  

NotTrimmedDE.PNG (14,962 bytes)

nbv

2018-10-04 10:41

developer   ~0079668

Last edited: 2018-10-04 10:42

Please note that the degenerated edge is not trimmed by the intersection point with another edge. See NotTrimmedDE.PNG attached picture, where p-curve of InvFace.bin is shown.

I think, it is a problem of Boolean operation in "bugs modalg_7 bug29807_b5a" and "bugs modalg_7 bug29807_b4a" test cases.

Issue History

Date Modified Username Field Change
2018-06-13 10:26 nbv New Issue
2018-06-13 10:26 nbv Assigned To => msv
2018-06-13 10:26 nbv File Added: cfe_47.brep
2018-06-13 10:26 nbv Relationship added related to 0029807
2018-06-19 10:16 nbv Relationship added parent of 0029883
2018-07-19 15:21 nbv Note Added: 0077827
2018-07-19 15:22 nbv Assigned To msv => nbv
2018-07-19 15:22 nbv Status new => feedback
2018-07-19 15:34 nbv Relationship added related to 0029421
2018-07-19 16:06 nbv Relationship added related to 0029922
2018-07-19 16:19 nbv Note Edited: 0077827
2018-07-19 16:20 nbv Assigned To nbv => emv
2018-07-19 16:20 nbv Status feedback => assigned
2018-07-19 16:21 nbv File Added: InvFace.bin
2018-07-19 16:26 nbv Note Added: 0077828
2018-07-19 16:29 nbv Note Edited: 0077828
2018-07-19 17:10 nbv Note Edited: 0077827
2018-07-19 17:15 nbv Note Edited: 0077827
2018-10-04 10:38 nbv File Added: NotTrimmedDE.PNG
2018-10-04 10:41 nbv Note Added: 0079668
2018-10-04 10:42 nbv Note Edited: 0079668
2019-08-12 18:01 emv Target Version 7.4.0 => 7.5.0
2019-09-04 12:21 kgv Summary BOPAlgo_BuilderFace cannot build new faces correctly => Modeling Algorithms - BOPAlgo_BuilderFace cannot build new faces correctly
2020-08-28 13:25 emv Target Version 7.5.0 => 7.6.0
2021-08-29 18:51 msv Target Version 7.6.0 => 7.7.0
2022-10-24 10:43 szy Target Version 7.7.0 => 7.8.0
2023-08-01 15:06 dpasukhi Target Version 7.8.0 => Unscheduled