View Revisions: Issue #2908

Summary 0002908: stp file import name mismatch (due to some limitation into UTF-8 support & naming convention)
Revision 2018-07-03 02:26 by Kunda1
Description The import of stp files changes the part names stored in the stp file ie:
# 7 = PRODUCT('000-123_q234 23','000-123_q234 23','',(# 8));
is changed to
_00_123_q234_23

The first character is changed to _ if the name begins with a number
Spaces are changed to _
- is changed to _

I believe this happens only if the part has children

The attached stp file is artificial but the problem occurs on real stp files exported from other cad tools
 

git revision FreeCAD master 2780edd9

Can you please write the import code location to a comment thanks
Revision 2017-05-31 00:47 by Kunda1
Description The import of stp files changes the part names stored in the stp file ie:
0000007 = PRODUCT('000-123_q234 23','000-123_q234 23','',(0000008));
is changed to
_00_123_q234_23

The first character is changed to _ if the name begins with a number
Spaces are changed to _
- is changed to _

I believe this happens only if the part has children

The attached stp file is artificial but the problem occurs on real stp files exported from other cad tools
 

git revision FreeCAD master 2780edd9

Can you please write the import code location to a comment thanks
Revision 2017-05-31 00:44 by Kunda1
Description The import of stp files changes the part names stored in the stp file ie:
0000007 = PRODUCT('000-123_q234 23','000-123_q234 23','',(0000008));
is changed to
_00_123_q234_23

The first character is changed to _ if the name begins with a number
Spaces are changed to _
- is changed to _

I believe this happens only if the part has children

The attached stp file is artificial but the problem occurs on real stp files exported from other cad tools
 

git revision FreeCAD master 2780edd9

Can you please write the import code location to a comment thanks
Revision 2017-02-20 22:18 by Kunda1
Description The import of stp files changes the part names stored in the stp file ie:
0000007 = PRODUCT('000-123_q234 23','000-123_q234 23','',(0000008));
is changed to
_00_123_q234_23

The first character is changed to _ if the name begins with a number
Spaces are changed to _
- is changed to _

I believe this happens only if the part has children

The attached stp file is artificial but the problem occurs on real stp files exported from other cad tools
 

git revision 2780edd903e9819eb0d0940ca0e754f1124ac188

Can you please write the import code location to a comment thanks
Revision 2017-02-20 12:16 by sherif
Description The import of stp files changes the part names stored in the stp file ie:
0000007 = PRODUCT('000-123_q234 23','000-123_q234 23','',(0000008));
is changed to
_00_123_q234_23

The first character is changed to _ if the name begins with a number
Spaces are changed to _
- is changed to _

I believe this happens only if the part has children

The attached stp file is artificial but the problem occurs on real stp files exported from other cad tools
 

git revision 2780edd903e9819eb0d0940ca0e754f1124ac188

Can you please write the import code location to a comment thanks