View Issue Details

IDProjectCategoryView StatusLast Update
0028672Open CASCADEOCCT:Data Exchangepublic2022-10-24 10:39
ReporternbvAssigned Togka  
PrioritynormalSeverityminor 
Status newResolutionopen 
Target Version7.8.0 
Summary0028672: Valid shape is written to STEP-file as invalid (self-intersected)
DescriptionSee Steps To Reproduce.

The face a_1_20 really seems to be valid (see Valid face.PNG attached picture).

After write/read, we obtain the face, which is valid in terms of checkshape but is self-intersected indeed (see Invalid face.PNG attached picture).
Steps To ReproduceTest de step_2 O9

stepread [locate_data_file pe_soapbox-B.stp] a *
checkshape a_1
# This shape seems to be valid ==> OK

explode a_1 f
don a_1_20
# see Valid face.PNG

stepwrite 0 a_1 d:/file.stp
stepread d:/file.stp b *

checkshape b_2
# This shape seems to be valid ==> WRONG

explode b_2 f
don b_2_20
# see Invalid face.PNG
TagsNo tags attached.
Test case number

Attached Files

  • Valid face.PNG (9,998 bytes)
  • Invalid face.PNG (13,696 bytes)

Activities

nbv

2017-04-21 11:54

developer  

Valid face.PNG (9,998 bytes)

nbv

2017-04-21 11:54

developer  

Invalid face.PNG (13,696 bytes)

nbv

2017-04-21 11:57

developer   ~0065415

If we try to write single face only to stp-file it will be written as valid. I.e. the face becomes invalid after write full source shape as it has been done in Steps To Reproduce.

nbv

2017-04-21 11:58

developer   ~0065417

After the fix #28211, problem face will be classified by checkshape as "Bad orientation".

Issue History

Date Modified Username Field Change
2017-04-21 11:54 nbv New Issue
2017-04-21 11:54 nbv Assigned To => gka
2017-04-21 11:54 nbv File Added: Valid face.PNG
2017-04-21 11:54 nbv File Added: Invalid face.PNG
2017-04-21 11:57 nbv Note Added: 0065415
2017-04-21 11:58 nbv Note Added: 0065417
2017-07-27 11:15 abv Target Version 7.2.0 => 7.4.0
2019-09-04 12:58 abv Target Version 7.4.0 => 7.5.0
2020-09-17 19:54 gka Target Version 7.5.0 => 7.6.0
2021-10-06 17:11 szy Target Version 7.6.0 => 7.7.0
2022-10-24 10:39 szy Target Version 7.7.0 => 7.8.0