Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0026716Community[OCCT] OCCT:Shape Healingpublic2015-09-22 17:182017-08-11 13:14
ReporterDamir Bogrov 
Assigned Togka 
PlatformOSOS Version
Product Version[OCCT] 6.9.0 
Target Version[OCCT] 7.4.0*Fixed in Version 
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? file icon rev.brep (1,173 bytes) 2015-09-22 17:18
png file icon viewer.png (10,484 bytes) 2015-09-22 17:18

- Relationships

-  Notes
Damir Bogrov (reporter)
2015-09-29 11:10

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.
mkv (tester)
2017-08-11 13:14

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

- 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

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker