]> 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>
Wed, 28 Sep 2022 06:17:53 +0000 (08:17 +0200)
src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx
src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx
src/NETGENPlugin/NETGENPlugin_Runner.cxx

index 36e0d849760bb70c3e888aca3d823e58254ddc2a..321204348f1f8fb41236340af3308b62c4cecc06 100644 (file)
@@ -40,7 +40,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 c69f50f0ad4e6408c50b37268d590791a14f7e9a..0937ca9851be2fbe46027d671c59253d2fc62e49 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>