IfcBlender: provide a temporary workaround for interfacing from a UCS2 Blender Python

A real solution could be to compile IfcGeom into a dynamic library and compile multiple versions of _IfcImport.so for different configurations which are selected based on sys.maxunicode
Another alternative would be not to rely on strings when exchanging textual data but vectors of int that contain the string character codes
This commit is contained in:
Thomas Krijnen
2011-12-04 13:33:16 +00:00
parent 950dd93c4f
commit cab44ce754
4 changed files with 20 additions and 1 deletions
+1
View File
@@ -49,6 +49,7 @@ namespace IfcGeomObjects {
bool Next();
const IfcGeomObject* Get();
bool Init(const std::string fn);
bool InitUCS2(char* fn);
void Settings(int setting, bool value);
int Progress();
const IfcObject* GetObject(int id);