]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
Adding support for BRep for shape
authorYoann Audouin <yoann.audouin@edf.fr>
Thu, 15 Sep 2022 13:12:50 +0000 (15:12 +0200)
committerYoann Audouin <yoann.audouin@edf.fr>
Thu, 15 Sep 2022 13:12:50 +0000 (15:12 +0200)
src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx
src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx
src/NETGENPlugin/NETGENPlugin_Runner.cxx

index d8db3dec805548acb416412752e7fd962d40740f..a32f9fd193215b307906de44eadff00670cb0342 100644 (file)
@@ -39,7 +39,7 @@
 #include <StdMeshers_MaxElementArea.hxx>
 #include <StdMeshers_QuadranglePreference.hxx>
 #include <StdMeshers_ViscousLayers2D.hxx>
-#include "SMESH_DriverStep.hxx"
+#include "SMESH_DriverShape.hxx"
 #include "SMESH_DriverMesh.hxx"
 
 
index bc89f9edf62acec0406c49012c9aa793e0f4dcec..5b1b3e8c39aca845fb5bd475800f19a5b9005752 100644 (file)
@@ -48,7 +48,7 @@
 #include <StdMeshers_QuadToTriaAdaptor.hxx>
 #include <StdMeshers_ViscousLayers.hxx>
 #include <SMESH_subMesh.hxx>
-#include <SMESH_DriverStep.hxx>
+#include <SMESH_DriverShape.hxx>
 #include <SMESH_DriverMesh.hxx>
 
 
@@ -317,7 +317,7 @@ int NETGENPlugin_NETGEN_3D::RemoteCompute(SMESH_Mesh&         aMesh,
   fs::path tmp_mesh_file=tmp_folder / fs::path("tmp_mesh.med");
   // TODO: Remove that file we do not use it
   fs::path output_mesh_file=tmp_folder / fs::path("output_mesh.med");
-  fs::path shape_file=tmp_folder / fs::path("shape.step");
+  fs::path shape_file=tmp_folder / fs::path("shape.brep");
   fs::path param_file=tmp_folder / fs::path("netgen3d_param.txt");
   fs::path log_file=tmp_folder / fs::path("run.log");
   //TODO: Handle variable mesh_name
@@ -399,7 +399,7 @@ int NETGENPlugin_NETGEN_3D::RemoteCompute(SMESH_Mesh&         aMesh,
   if(ret != 0){
     // Run crahed
     std::cout << "Issue with command: " << std::endl;
-    std::cout << "See log for more detail: " << log_file.string() << std::endl;
+    std::cout << "See log for more details: " << log_file.string() << std::endl;
     std::cout << cmd << std::endl;
     return false;
   }
index a9b2a00dd524d294dd0192bb7402f74141d9ea72..24038dbbaf03822d93eae7bcaef72c97dd390a18 100644 (file)
@@ -50,7 +50,7 @@ namespace fs = boost::filesystem;
 #include <StdMeshers_QuadToTriaAdaptor.hxx>
 #include <StdMeshers_ViscousLayers.hxx>
 #include <StdMeshers_ViscousLayers2D.hxx>
-#include <SMESH_DriverStep.hxx>
+#include <SMESH_DriverShape.hxx>
 #include <SMESH_DriverMesh.hxx>