View Issue Details

IDProjectCategoryView StatusLast Update
0024874Open CASCADEOCCT:Modeling Algorithmspublic2014-04-29 15:27
ReporternbvAssigned Toifv 
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Summary0024874: sprops algorithm computes a different values for shapes, which are got on Windows and Linux platforms
DescriptionThis bug appeared in "boolean bopfuse_complex J6" test case after applying fix from CR24613_1 branch.

There are two shapes in attached files "rwin.brep" and "rlin.brep", which are result of "bopfuse" operation in the test case "boolean bopfuse_complex J6".

Steps To ReproduceOn the one hand, try the following script:
Draw[]> restore rwin.brep sh1
Draw[]> restore rlin.brep sh2

Draw[]> sprops sh1 1.0e-12
#Mass : 325.882

Draw[]> sprops sh2 1.0e-12
Mass : 175.227




Values are different. But on the other hand:
Draw[]> restore rwin.brep sh1
Draw[]> restore rlin.brep sh2

Draw[]> explode sh1 f
sh1_1 ... sh1_22

Draw[6]> explode sh2 f
sh2_1 ... sh2_22

#I.e. both sh1 and sh2 contains 22 faces

#Try the script from attached file
Draw[]> source script
Expected square of sh1 = 164.14876500000003
Expected square of sh2 = 164.14876500000003
Delta = 0.0

I.e. both shapes have equal squares (because Delta = 0), which are 164.14876500000003.

TagsNo tags attached.
Test case number

Attached Files

Activities

nbv

2014-04-28 11:11

developer  

rlin.brep (88,300 bytes)

nbv

2014-04-28 11:22

developer  

rwin.brep (89,398 bytes)

nbv

2014-04-28 11:28

developer  

script (461 bytes)   

nbv

2014-04-29 14:30

developer   ~0029137

Last edited: 2014-04-29 14:33

Dear Igor!
Please review branch CR24874.



Dear testers!
Ask to pay attention to that very many regressions are expected, because square will compute in a new fashion. Differences in squares should not be considered as regressions and corresponding testes must be corrected according to their new behavior.

ifv

2014-04-29 15:20

developer   ~0029139

The reason of sprops difference is different shapes on Wind and Lin, but not algo of sprops.
It is necessary to find out why bopfuse produces different result.

nbv

2014-04-29 15:21

developer   ~0029140

Well!

TopExp_Explorer in area computing algorithm applied correctly and shared faces must be computed repeatedly.

It is not a bug. Issue can be closed without fix.

Issue History

Date Modified Username Field Change
2014-04-28 11:11 nbv New Issue
2014-04-28 11:11 nbv Assigned To => nbv
2014-04-28 11:11 nbv File Added: rlin.brep
2014-04-28 11:22 nbv File Added: rwin.brep
2014-04-28 11:28 nbv File Added: script
2014-04-28 11:31 nbv Status new => assigned
2014-04-29 14:30 nbv Note Added: 0029137
2014-04-29 14:30 nbv Assigned To nbv => ifv
2014-04-29 14:30 nbv Status assigned => resolved
2014-04-29 14:33 nbv Note Edited: 0029137
2014-04-29 15:20 ifv Note Added: 0029139
2014-04-29 15:20 ifv Assigned To ifv => nbv
2014-04-29 15:20 ifv Status resolved => feedback
2014-04-29 15:21 nbv Note Added: 0029140
2014-04-29 15:23 nbv Assigned To nbv => ifv
2014-04-29 15:23 nbv Status feedback => resolved
2014-04-29 15:27 abv Status resolved => closed
2014-04-29 15:27 abv Resolution open => no change required