MantisBT - Open CASCADE
View Issue Details
0032310Open CASCADE[OCCT] OCCT:Data Exchangepublic2021-04-19 10:332021-07-05 10:01
mpv 
gka 
normalminor 
newopen 
[OCCT] 7.5.0 
[OCCT] 7.6.0* 
0032310: Data Exchange - Invalid STEP export/import of backslashes in names [Regression since OCCT 7.5.0]
The number of '\' symbols in name of a shape or an assembly is doubled after STEP export and import.

In the provided script the original name is "a\b", but after step import it is "a\\b".
pload XDE OCAF MODELING
XNewDoc doc
box b 1 1 1
XAddShape doc b
SetName doc 0:1:1:1 "a\\b"
set original_name [GetName doc 0:1:1:1]
WriteStep doc box.step
Close doc
ReadStep doc2 box.step
set imported_name [GetName doc2 0:1:1:1]
Close doc2
if {$original_name!=$imported_name} { puts "Error: '$original_name'!='$imported_name'" }
No tags attached.
Issue History
2021-04-19 10:33mpvNew Issue
2021-04-19 10:33mpvAssigned To => gka
2021-04-19 11:09kgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=25074#r25074
2021-04-19 11:09kgvSummaryInvalid STEP export/import of backslashes in names => Data Exchange - Invalid STEP export/import of backslashes in names
2021-07-05 09:54kgvNote Added: 0102274
2021-07-05 10:01kgvSummaryData Exchange - Invalid STEP export/import of backslashes in names => Data Exchange - Invalid STEP export/import of backslashes in names [Regression since OCCT 7.5.0]

Notes
(0102274)
kgv   
2021-07-05 09:54   
...and each re-export of STEP file doubles the number of slashes in the name.