From 9a8699d3410d08d080595fa6ebf6196f1e3e1e5c Mon Sep 17 00:00:00 2001 From: Yoann Audouin Date: Thu, 15 Sep 2022 15:12:50 +0200 Subject: [PATCH] Adding support for BRep for shape --- src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx | 2 +- src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx | 6 +++--- src/NETGENPlugin/NETGENPlugin_Runner.cxx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.39.2