Archived issue #0028672
Valid shape is written to STEP-file as invalid (self-intersected)
Description
See Steps To Reproduce.
The face a_1_20 really seems to be valid (see Attachment 2 (PNG) attached picture).
After write/read, we obtain the face, which is valid in terms of checkshape but is self-intersected indeed (see Attachment 1 (PNG) attached picture).
The face a_1_20 really seems to be valid (see Attachment 2 (PNG) attached picture).
After write/read, we obtain the face, which is valid in terms of checkshape but is self-intersected indeed (see Attachment 1 (PNG) attached picture).
Steps to reproduce
Test 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 Attachment 2 (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 Attachment 1 (PNG)
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 Attachment 2 (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 Attachment 1 (PNG)
Public activity
2 archived notes
Participants are labeled by their role within this record.
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.
After the fix #28211, problem face will be classified by checkshape as "Bad orientation".