[TD] Fix win file spec backslash (fix #16646) (#16689)

* [TD]add method to clean win filespecs

- '\' in strings passed to Python as filespecs is interpreted as
  an escape of the following character.
- replace '\' with '/'

* [TD]remove '\' from filespecs before use
This commit is contained in:
WandererFan
2024-09-23 11:40:05 -04:00
committed by GitHub
parent 1ce5fca06b
commit c9beae7ef3
8 changed files with 58 additions and 20 deletions

View File

@@ -277,6 +277,8 @@ public:
static bool isWithinRange(double actualAngleIn, double targetAngleIn, double allowableError);
static std::string cleanFilespecBackslash(const std::string& filespec);
//debugging routines
static void dumpVertexes(const char* text, const TopoDS_Shape& s);