Skip to content
Snippets Groups Projects
Commit 1bf74433 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

visual fea

parent c9e4a9c5
No related branches found
No related tags found
No related merge requests found
...@@ -229,6 +229,8 @@ static int _save_mesh(const char *name){ return genericMeshFileDialog ...@@ -229,6 +229,8 @@ static int _save_mesh(const char *name){ return genericMeshFileDialog
static int _save_bdf(const char *name){ return bdfFileDialog(name); } static int _save_bdf(const char *name){ return bdfFileDialog(name); }
static int _save_p3d(const char *name){ return genericMeshFileDialog static int _save_p3d(const char *name){ return genericMeshFileDialog
(name, "P3D Options", FORMAT_P3D, false, false); } (name, "P3D Options", FORMAT_P3D, false, false); }
static int _save_fea(const char *name){ return genericMeshFileDialog
(name, "VisualFEA Options", FORMAT_FEA, false, true); }
static int _save_stl(const char *name){ return genericMeshFileDialog static int _save_stl(const char *name){ return genericMeshFileDialog
(name, "STL Options", FORMAT_STL, true, false); } (name, "STL Options", FORMAT_STL, true, false); }
static int _save_vrml(const char *name){ return genericMeshFileDialog static int _save_vrml(const char *name){ return genericMeshFileDialog
...@@ -266,6 +268,7 @@ static int _save_auto(const char *name) ...@@ -266,6 +268,7 @@ static int _save_auto(const char *name)
case FORMAT_BDF : return _save_bdf(name); case FORMAT_BDF : return _save_bdf(name);
case FORMAT_DIFF : return _save_diff(name); case FORMAT_DIFF : return _save_diff(name);
case FORMAT_P3D : return _save_p3d(name); case FORMAT_P3D : return _save_p3d(name);
case FORMAT_FEA : return _save_fea(name);
case FORMAT_STL : return _save_stl(name); case FORMAT_STL : return _save_stl(name);
case FORMAT_VRML : return _save_vrml(name); case FORMAT_VRML : return _save_vrml(name);
case FORMAT_EPS : return _save_eps(name); case FORMAT_EPS : return _save_eps(name);
...@@ -309,6 +312,7 @@ static void file_save_as_cb(Fl_Widget *w, void *data) ...@@ -309,6 +312,7 @@ static void file_save_as_cb(Fl_Widget *w, void *data)
{"Medit mesh" TT "*.mesh", _save_mesh}, {"Medit mesh" TT "*.mesh", _save_mesh},
{"Nastran bulk data file" TT "*.bdf", _save_bdf}, {"Nastran bulk data file" TT "*.bdf", _save_bdf},
{"Plot3D structured mesh" TT "*.p3d", _save_p3d}, {"Plot3D structured mesh" TT "*.p3d", _save_p3d},
{"VisualFEA mesh" TT "*.fea", _save_fea},
{"STL surface mesh" TT "*.stl", _save_stl}, {"STL surface mesh" TT "*.stl", _save_stl},
{"VRML surface mesh" TT "*.wrl", _save_vrml}, {"VRML surface mesh" TT "*.wrl", _save_vrml},
{"Encapsulated PostScript" TT "*.eps", _save_eps}, {"Encapsulated PostScript" TT "*.eps", _save_eps},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment