View Issue Details

IDProjectCategoryView StatusLast Update
0026716CommunityOCCT:Shape Healingpublic2018-11-14 17:34
ReporterDamir Bogrov Assigned Tobugmaster  
Status closedResolutionfixed 
Product Version6.9.0 
Target Version7.4.0Fixed in Version7.4.0 
Summary0026716: Mesher cannot create a mesh of brep model due to ShapeFix_Wire::FixShifted()
DescriptionA model obtained after conversion of external file, forms a solid sphere.

The model contains a face which lies on surface of revolution. Basis curve of surface is a trimmed circle. Trim has a domain [-pi/2; pi/2].

Brep checker said that the result model is valid and fixshape does nothing.
But mesher cannot create a mesh.

The root cause is that ShapeFix_Wire::FixShifted() shifts domain of trim to [3pi/2; 5pi/2], but pcurve of edges still forming a rectangle with diagonal corner (0;-pi/2) and (2pi;pi/2).

To address this issue could be to extend FixShifted.
Steps To Reproducerestore rev.brep m
vsetdispmode 1
vdisplay m
TagsNo tags attached.
Test case numberbugs heal bug26716

Attached Files

  • rev.brep (1,173 bytes)
  • viewer.png (10,484 bytes)


related to 0026106 closedbugmaster Open CASCADE BRepMesh - revision of data model 


Damir Bogrov

2015-09-22 17:18


rev.brep (1,173 bytes)

Damir Bogrov

2015-09-22 17:18


viewer.png (10,484 bytes)

Damir Bogrov

2015-09-29 11:10

reporter   ~0046245

The further analysis showed that the root cause is shifts of incoming domain in the constructor of trimmed curve.
If set the domain of trim to [-pi/2; pi/2] on the periodic curve with domain [0, 2pi], then the trim actually will be have a domain [3pi/2; 5pi/2]. Therefore trim's domain is inconsistent with pcurve's domain and the mesher cannot create a mesh.


2017-08-11 13:14

tester   ~0069317

Problem described in issue is reproduced on current state of OCCT.


2018-08-21 09:35

developer   ~0078698

The problem is fixed in frame of the issue 0026106.


2018-11-14 17:34

administrator   ~0081096

Fixed by 0026106.

Test case:
bugs heal bug26716 - OK

Issue History

Date Modified Username Field Change
2015-09-22 17:18 Damir Bogrov New Issue
2015-09-22 17:18 Damir Bogrov Assigned To => gka
2015-09-22 17:18 Damir Bogrov File Added: rev.brep
2015-09-22 17:18 Damir Bogrov File Added: viewer.png
2015-09-29 11:10 Damir Bogrov Note Added: 0046245
2015-11-16 16:59 abv Target Version => 7.1.0
2016-10-26 12:01 gka Target Version 7.1.0 => 7.2.0
2017-07-27 09:33 abv Target Version 7.2.0 => 7.4.0
2017-08-11 13:14 mkv Test case number => bugs heal bug26716
2017-08-11 13:14 mkv Note Added: 0069317
2018-08-21 09:35 nbv Note Added: 0078698
2018-08-21 09:36 nbv Assigned To gka => nbv
2018-08-21 09:36 nbv Status new => feedback
2018-08-21 09:38 nbv Relationship added related to 0026106
2018-10-26 10:18 nbv Assigned To nbv => bugmaster
2018-11-14 17:34 apn Note Added: 0081096
2018-11-14 17:34 apn Status feedback => verified
2018-11-14 17:34 apn Resolution open => fixed