mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
windows port
This commit is contained in:
parent
4d43188368
commit
3cd9dd3663
@ -889,7 +889,7 @@ SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMeshesFromUNV( const char* theFileName
|
||||
aStudyBuilder->CommitCommand();
|
||||
if ( !aSO->_is_nil() ) {
|
||||
// Update Python script
|
||||
TPythonDump() << aSO << " = smeshgen.CreateMeshesFromUNV('" << theFileName << "')";
|
||||
TPythonDump() << aSO << " = smeshgen.CreateMeshesFromUNV(r'" << theFileName << "')";
|
||||
}
|
||||
}
|
||||
|
||||
@ -978,7 +978,7 @@ SMESH::mesh_array* SMESH_Gen_i::CreateMeshesFromMED( const char* theFileName,
|
||||
}
|
||||
|
||||
// Update Python script
|
||||
aPythonDump << "], status) = " << this << ".CreateMeshesFromMED('" << theFileName << "')";
|
||||
aPythonDump << "], status) = " << this << ".CreateMeshesFromMED(r'" << theFileName << "')";
|
||||
}
|
||||
// Dump creation of groups
|
||||
for ( int i = 0; i < aResult->length(); ++i )
|
||||
@ -1012,7 +1012,7 @@ SMESH::SMESH_Mesh_ptr SMESH_Gen_i::CreateMeshesFromSTL( const char* theFileName
|
||||
aStudyBuilder->CommitCommand();
|
||||
if ( !aSO->_is_nil() ) {
|
||||
// Update Python script
|
||||
TPythonDump() << aSO << " = " << this << ".CreateMeshesFromSTL('" << theFileName << "')";
|
||||
TPythonDump() << aSO << " = " << this << ".CreateMeshesFromSTL(r'" << theFileName << "')";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2390,7 +2390,7 @@ void SMESH_Mesh_i::ExportToMEDX (const char* file,
|
||||
// check names of groups
|
||||
checkGroupNames();
|
||||
|
||||
TPythonDump() << _this() << ".ExportToMEDX( '"
|
||||
TPythonDump() << _this() << ".ExportToMEDX( r'"
|
||||
<< file << "', " << auto_groups << ", " << theVersion << ", " << overwrite << " )";
|
||||
|
||||
_impl->ExportMED( file, aMeshName, auto_groups, theVersion );
|
||||
@ -2419,7 +2419,7 @@ void SMESH_Mesh_i::ExportDAT (const char *file)
|
||||
// Update Python script
|
||||
// check names of groups
|
||||
checkGroupNames();
|
||||
TPythonDump() << _this() << ".ExportDAT( '" << file << "' )";
|
||||
TPythonDump() << _this() << ".ExportDAT( r'" << file << "' )";
|
||||
|
||||
// Perform Export
|
||||
PrepareForWriting(file);
|
||||
@ -2434,7 +2434,7 @@ void SMESH_Mesh_i::ExportUNV (const char *file)
|
||||
// Update Python script
|
||||
// check names of groups
|
||||
checkGroupNames();
|
||||
TPythonDump() << _this() << ".ExportUNV( '" << file << "' )";
|
||||
TPythonDump() << _this() << ".ExportUNV( r'" << file << "' )";
|
||||
|
||||
// Perform Export
|
||||
PrepareForWriting(file);
|
||||
@ -2449,7 +2449,7 @@ void SMESH_Mesh_i::ExportSTL (const char *file, const bool isascii)
|
||||
// Update Python script
|
||||
// check names of groups
|
||||
checkGroupNames();
|
||||
TPythonDump() << _this() << ".ExportSTL( '" << file << "', " << isascii << " )";
|
||||
TPythonDump() << _this() << ".ExportSTL( r'" << file << "', " << isascii << " )";
|
||||
|
||||
// Perform Export
|
||||
PrepareForWriting(file);
|
||||
|
Loading…
Reference in New Issue
Block a user