1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0028715: Invalid shape produced by reading of attached STEP file. Regression from OCCT-6.9.1 to OCCT-7.0.0.

Corrections: to use fixed shape as result in the non-manifold mode was made.

Regression was due to using modified initial shape as result in the previous version OCCT. At present initial shape is not modified during ShapeProcessing. Therefore modification to use fixed result was made.

Additionally using of nonManifold flag is added to ShapeProcessing.
This commit is contained in:
skl
2017-07-31 17:20:25 +03:00
committed by bugmaster
parent a2456ed88a
commit 2bc6f71528
11 changed files with 108 additions and 27 deletions

View File

@@ -16,7 +16,7 @@ stepwrite 0 a $imagedir/bug27329_temp.stp
stepread $imagedir/bug27329_temp.stp b *
renamevar b_1 result
checknbshapes result -solid 3 -shell 3 -face 42
checknbshapes result -solid 1 -shell 5 -face 42
param write.step.nonmanifold 0
param read.step.nonmanifold 0

26
tests/bugs/step/bug28715 Normal file
View File

@@ -0,0 +1,26 @@
puts "========"
puts "OCC28715"
puts "========"
puts ""
##########################################################################
# Invalid shape after import STeP file
##########################################################################
stepread [locate_data_file bug28715_Ailette_mm.stp] a *
checkshape a_1
set nbshapes_expected "
Number of shapes in shape
VERTEX : 487
EDGE : 794
WIRE : 313
FACE : 313
SHELL : 3
SOLID : 0
COMPSOLID : 0
COMPOUND : 1
SHAPE : 1911
"
checknbshapes a_1 -ref ${nbshapes_expected} -t -m "importing file"
checkview -display a_1 -3d -path ${imagedir}/${test_image}.png