From: Yoann Audouin Date: Thu, 15 Sep 2022 13:12:50 +0000 (+0200) Subject: Adding support for BRep for shape X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9a8699d3410d08d080595fa6ebf6196f1e3e1e5c;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 d8db3de..a32f9fd 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx @@ -39,7 +39,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 bc89f9e..5b1b3e8 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