1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/step/bug28715
skl 2bc6f71528 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.
2017-08-17 15:47:32 +03:00

27 lines
647 B
Plaintext

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