From: Yoann Audouin Date: Thu, 15 Sep 2022 13:12:50 +0000 (+0200) Subject: Adding support for BRep for shape X-Git-Tag: V9_10_0b1~4^2~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eb6fde768717d6141329680be7b46b05b1313394;p=plugins%2Fnetgenplugin.git Adding support for BRep for shape --- diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx index 36e0d84..3212043 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx @@ -40,7 +40,7 @@ #include #include #include -#include "SMESH_DriverStep.hxx" +#include "SMESH_DriverShape.hxx" #include "SMESH_DriverMesh.hxx" diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx index c69f50f..0937ca9 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx @@ -48,7 +48,7 @@ #include #include #include -#include +#include #include @@ -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; } diff --git a/src/NETGENPlugin/NETGENPlugin_Runner.cxx b/src/NETGENPlugin/NETGENPlugin_Runner.cxx index a9b2a00..24038db 100644 --- a/src/NETGENPlugin/NETGENPlugin_Runner.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Runner.cxx @@ -50,7 +50,7 @@ namespace fs = boost::filesystem; #include #include #include -#include +#include #include