Hi Louise,
I got rid of severale error with a re-installation of vtk.
Now I've one x86-x64 bit conflict error with a TKIGES.lib file, which is in the Opencascade folder (project _Export in VS2010).
In CMake, the variable OPENCASCADE_LIBRARY_DIR is set as "C:/.../ros/win32/vc8/lib". I guess the conflict issue comes from this, am I right?
How can I solve this problem?
What's about the error: error MSB6006: "cmd.exe" exited with code 1 (project TexGenGUI)?
Thanks for all.
Best regards,
Mathieu
Automatic interference treatment
Moderators: Martin, Developers
Re: Automatic interference treatment
Hi Mathieu,
You should have a ros/win64 folder in the OpenCASCADE software. If you use that then it should be ok.
I'm not sure about the other error. It might be that it disappears when everything else is working. If not it will be a case of hunting around to work out what the problem is.
Louise
You should have a ros/win64 folder in the OpenCASCADE software. If you use that then it should be ok.
I'm not sure about the other error. It might be that it disappears when everything else is working. If not it will be a case of hunting around to work out what the problem is.
Louise
Re: Automatic interference treatment
Hi Louise,
The end of the compilation is getting closer now!
All former errors has been resolved, but the "cmd.exe" error is still here when compiling the TexGenGUI Project.
As explained on the TexGen Compilation webpage, I performed the follwing step before compiling:
"Select Configuration Properties -> Manifest Tool -> Input and Output and change the Embed Manifest option to 'No'. "
The single error is:
Unable to open file D:/TexGen-src/bin/D:\TexGen-src\bin\Release\Embedded.py: Invalid argument
14>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" ended with Code 1.
I don't know why the file path is created like that but it's surely the reason for the error.
Furthermore I've not found the Embedded.py file in my TexGen folder, will this file be created when compiling?
Best regards,
Mathieu
The end of the compilation is getting closer now!
All former errors has been resolved, but the "cmd.exe" error is still here when compiling the TexGenGUI Project.
As explained on the TexGen Compilation webpage, I performed the follwing step before compiling:
"Select Configuration Properties -> Manifest Tool -> Input and Output and change the Embed Manifest option to 'No'. "
The single error is:
Unable to open file D:/TexGen-src/bin/D:\TexGen-src\bin\Release\Embedded.py: Invalid argument
14>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" ended with Code 1.
I don't know why the file path is created like that but it's surely the reason for the error.
Furthermore I've not found the Embedded.py file in my TexGen folder, will this file be created when compiling?
Best regards,
Mathieu
Re: Automatic interference treatment
Hi Mathieu,
I don't know why the path is being generated like that. It's clearly an issue so you need to track down what's generating the path - something in CMake maybe? The Embedded.py is a file which is generated automatically by SWIG. Mine is located in the Release folder, in your case it looks like it should be D:/TexGen-src/bin/Release. Do you have the file in that folder?
Just doing a bit of searching I've found that the Embedded file is generated by the GUI project. Can you check that you only changed the Embed Manifest option in the GUI project? Right click on the TexGenGUI project in the Solution Explorer and then select Properties from the drop down menu. That will give you the TexGenGUI Property Pages and from there change the Manifest Tool.
That's about all I can come up with at the moment. Let me know how you get on.
Louise
I don't know why the path is being generated like that. It's clearly an issue so you need to track down what's generating the path - something in CMake maybe? The Embedded.py is a file which is generated automatically by SWIG. Mine is located in the Release folder, in your case it looks like it should be D:/TexGen-src/bin/Release. Do you have the file in that folder?
Just doing a bit of searching I've found that the Embedded file is generated by the GUI project. Can you check that you only changed the Embed Manifest option in the GUI project? Right click on the TexGenGUI project in the Solution Explorer and then select Properties from the drop down menu. That will give you the TexGenGUI Property Pages and from there change the Manifest Tool.
That's about all I can come up with at the moment. Let me know how you get on.
Louise
Re: Automatic interference treatment
Hi Louise,
Now everything works fine. I just didn't compile the TexGenGUI project, which is still causing problems, apart from that I can perform python scripts without the TexGen GUI.
Thank you again for your great help!
Best regards,
Mathieu
Now everything works fine. I just didn't compile the TexGenGUI project, which is still causing problems, apart from that I can perform python scripts without the TexGen GUI.
Thank you again for your great help!
Best regards,
Mathieu
Re: Automatic interference treatment
Hi Louise,
After building the texgen software, I tried to modify the mesh parameters in order to increase the mesh quality. Due to the algorithm used for the mesh creation, it seems complicated to really improve this quality.
As a solution, I'm now trying to export my representative volume and mesh it with another software.
My problem is, that when trying to export a "smooth" step or iges file, it sometimes leads to an error. The faceted model can be exported more easily (even if TexGen sometimes returns an error), but its meshing is then quite hard (to obtain a homogen mesh).
What could explain the fact that the faceted exporting sometimes doesn't work?
Do you know if it's afterwards possible to smooth the faceted model with a CAD software? Until now, I found no software able to merge the faces correctly...
Has any user solved this issue in the past?
Regards,
Mathieu
After building the texgen software, I tried to modify the mesh parameters in order to increase the mesh quality. Due to the algorithm used for the mesh creation, it seems complicated to really improve this quality.
As a solution, I'm now trying to export my representative volume and mesh it with another software.
My problem is, that when trying to export a "smooth" step or iges file, it sometimes leads to an error. The faceted model can be exported more easily (even if TexGen sometimes returns an error), but its meshing is then quite hard (to obtain a homogen mesh).
What could explain the fact that the faceted exporting sometimes doesn't work?
Do you know if it's afterwards possible to smooth the faceted model with a CAD software? Until now, I found no software able to merge the faces correctly...
Has any user solved this issue in the past?
Regards,
Mathieu
Re: Automatic interference treatment
Hi Mathieu,
You should be able to change the mesh quality of the triangulated upper surface which is then projected vertically to form tetrahedral through the volume. The triangulation is carried out in CBasicVolumes::MeshProjectedAreas(). There is a description in the comment of what the flags do (and further documentation on the Triangle website if you want more information ). I think you can use the -q parameter with an minimum angle to change the mesh quality.
The STEP/IGES export is carried out using OpenCASCADE software. Unfortunately it doesn't seem to be as robust generating smooth models as it is with faceted. The 64-bit version seems to be more robust than the 32. When TexGen returns an error creating the export file it is because I've managed to catch an OpenCASCADE error and therefore stop TexGen from crashing. I'm currently trying to upgrade to a more recent version of OpenCASCADE which will hopefully improve things.
I'm afraid I can't help you with the issue of smoothing a faceted model. I think you would need to find a different forum for that - I think there may be an OpenCASCADE users forum. There is certainly a group on LinkedIn where there may be someone who could help.
Best regards,
Louise
You should be able to change the mesh quality of the triangulated upper surface which is then projected vertically to form tetrahedral through the volume. The triangulation is carried out in CBasicVolumes::MeshProjectedAreas(). There is a description in the comment of what the flags do (and further documentation on the Triangle website if you want more information ). I think you can use the -q parameter with an minimum angle to change the mesh quality.
The STEP/IGES export is carried out using OpenCASCADE software. Unfortunately it doesn't seem to be as robust generating smooth models as it is with faceted. The 64-bit version seems to be more robust than the 32. When TexGen returns an error creating the export file it is because I've managed to catch an OpenCASCADE error and therefore stop TexGen from crashing. I'm currently trying to upgrade to a more recent version of OpenCASCADE which will hopefully improve things.
I'm afraid I can't help you with the issue of smoothing a faceted model. I think you would need to find a different forum for that - I think there may be an OpenCASCADE users forum. There is certainly a group on LinkedIn where there may be someone who could help.
Best regards,
Louise