MantisBT - Open CASCADE
View Issue Details
0024319Open CASCADE[OCCT] OCCT:Modeling Algorithmspublic2013-11-05 15:182017-10-19 18:50
vro 
gka 
normalminor 
assignedopen 
WindowsVC++ 201032 bit
[OCCT] 6.6.0 
 
bugs modalg_7 bug24319
0024319: Sewing makes a solid transparent
A sewing operation (a call to BRepBuilderAPI_Sewing)makes transparent a set of faces read from an IGES file (see an attached picture).
igesread Rohteil_Pmod.igs s
sewing r s
vinit
vdisplay s
No tags attached.
related to 0024421new ifv Sewing changes orientations of some subshapes. 
zip Rohteil_Pmod.zip (22,536) 2013-11-05 15:18
https://tracker.dev.opencascade.org/
png sewWrong.png (33,671) 2013-11-05 15:19
https://tracker.dev.opencascade.org/
? sewOK.bmp (544,414) 2013-11-21 12:56
https://tracker.dev.opencascade.org/
Issue History
2013-11-05 15:18vroNew Issue
2013-11-05 15:18vroAssigned To => ifv
2013-11-05 15:18vroFile Added: Rohteil_Pmod.zip
2013-11-05 15:19vroFile Added: sewWrong.png
2013-11-21 12:05ifvAssigned Toifv => nbv
2013-11-21 12:05ifvStatusnew => assigned
2013-11-21 12:56nbvFile Added: sewOK.bmp
2013-11-21 13:02nbvNote Added: 0026820
2013-11-21 13:02nbvAssigned Tonbv => vro
2013-11-21 13:02nbvStatusassigned => feedback
2013-11-21 13:26nbvNote Added: 0026822
2013-11-21 13:26nbvAssigned Tovro => nbv
2013-11-21 13:26nbvStatusfeedback => assigned
2013-11-28 17:55nbvNote Added: 0026987
2013-11-29 17:43nbvRelationship addedrelated to 0024421
2013-11-29 17:47nbvNote Added: 0027009
2013-11-29 17:47nbvAssigned Tonbv => vro
2013-11-29 17:47nbvStatusassigned => feedback
2013-12-02 08:15vroNote Added: 0027017
2013-12-02 08:15vroStatusfeedback => resolved
2013-12-02 09:16nbvAssigned Tovro => ifv
2013-12-02 09:17nbvNote Added: 0027018
2013-12-02 10:03ifvNote Added: 0027020
2013-12-02 10:03ifvStatusresolved => reviewed
2013-12-02 10:08mkvAssigned Toifv => bugmaster
2013-12-02 10:08mkvStatusreviewed => tested
2013-12-02 10:09mkvStatustested => feedback
2013-12-02 11:09abvNote Added: 0027026
2013-12-02 11:09abvAssigned Tobugmaster => gka
2013-12-02 11:09abvStatusfeedback => assigned
2013-12-02 11:17ifvNote Added: 0027027
2013-12-02 11:23nbvNote Added: 0027028
2017-10-19 18:50mkvTest case number => bugs modalg_7 bug24319
2017-10-19 18:50mkvNote Added: 0071650

Notes
(0026820)
nbv   
2013-11-21 13:02   
Dear Vladislav.

In sewOK.bmp attached file there is shape, which is got from current master. I think, it is OK.

Check it, please?

P.S.
Script:

igesread Rohteil_Pmod.igs s *
sewing r s
vinit
vdisplay s
vsetdispmode 1
(0026822)
nbv   
2013-11-21 13:26   
Sorry. Script is wrong.

In correct script it is necessary to write
   vdisplay r
(not s).
(0026987)
nbv   
2013-11-28 17:55   
Following fix can be used for correct drawing:

igesread Rohteil_Pmod.igs s *
sewing r s -c
vinit
vdisplay s
vsetdispmode 1

"-c" option switches off "Cutting mode".
(0027009)
nbv   
2013-11-29 17:47   
Dear vro!

Try to use above described workaround. Sewing works incorrect in this case.
(0027017)
vro   
2013-12-02 08:15   
Ok, thank you!
(0027018)
nbv   
2013-12-02 09:17   
No code changes required.
(0027020)
ifv   
2013-12-02 10:03   
Dear Bugmaster
please close this issue.
(0027026)
abv   
2013-12-02 11:09   
The problem is not solved, so there is no reason to close the issue.
The proposed "work-around" just avoids a problem on this particular case; as far as I can see no analysis has been done to understand the real cause of the bug.

It might be also useful to improve sewing so as to create solids from closed shells and orient them consistently (perhaps by option), so that they can be used without additional post-processing.
(0027027)
ifv   
2013-12-02 11:17   
Now there is issue 24421, which is directly dedicated to the corresponding problem of sewing algorithm.
(0027028)
nbv   
2013-12-02 11:23   
I agree, that the problem is not solved. "Sewing works incorrect in this case." (see http://tracker.dev.opencascade.org/view.php?id=24319#c27009 [^]). In related bug 0024421 I have tried to represent problem more restrictedly.

I think, problem is in bad orientation.

Therefore, this bug can be closed, in my opinion, if vro agrees to use workaround. But Sewing's problem should be solved. That's right.
(0071650)
mkv   
2017-10-19 18:50   
Not reproduced on the current master.