You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Object names aren't being escaped properly.
Work on a robust solution that takes any name thrown at it.
Currently name_compat in ./export_obj_simple.py simply replaces spaces with under scores.
Cannot accept raw spaces
Fails on names like Test-Test 10x20x30mm [1234]
Quick dirty hack that works:
Replace line 38return name.replace(' ', '_') in ./export_obj_simple.py
Object names aren't being escaped properly.
Work on a robust solution that takes any name thrown at it.
Currently
name_compat
in./export_obj_simple.py
simply replaces spaces with under scores.Test-Test 10x20x30mm [1234]
Quick dirty hack that works:
38
return name.replace(' ', '_')
in./export_obj_simple.py
replaceName = name.replace(' ', '_s__') replaceName = replaceName.replace('.', '_d__') replaceName = replaceName.replace('[', '_b__') replaceName = replaceName.replace(']', '_c__') return replaceName
./__init__.py
afterobTest = importObject
at line88
obTest.obName = obTest.obName.replace( '_s__', ' ') obTest.obName = obTest.obName.replace( '_d__', '.') obTest.obName = obTest.obName.replace( '_b__', '[') obTest.obName = obTest.obName.replace( '_c__', ']')
The text was updated successfully, but these errors were encountered: