Search results

  1. B

    How can opencascade support chinese step file?

    Thanks for the tip. I have tried to convert the input string (Unicode) to wstring and then to utf8, and the parts are loaded correctly. code show as below: #include <windows.h> #include <string> char* Unicode2Utf8(std::string string) { std::wstring res; int len =...
  2. B

    How can opencascade support chinese step file?

    STEPControl_Reader stepReader; IFSelect_ReturnStatus status = stepReader.ReadFile("零件.step"); if (status >= IFSelect_RetError) { std::cout << "Open Failed" << std::endl; return NULL; } when I want to open a step file where the path has chinese characters like "零件" ,the status return...
Top