Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nico Schlömer
gmsh
Commits
93becd47
Commit
93becd47
authored
7 years ago
by
Larry Price
Browse files
Options
Downloads
Patches
Plain Diff
Export GAMBIT neutral file from UI
parent
5e11fc31
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Fltk/graphicWindow.cpp
+4
-0
4 additions, 0 deletions
Fltk/graphicWindow.cpp
with
4 additions
and
0 deletions
Fltk/graphicWindow.cpp
+
4
−
0
View file @
93becd47
...
@@ -316,6 +316,8 @@ static int _save_vrml(const char *name){ return genericMeshFileDialog
...
@@ -316,6 +316,8 @@ static int _save_vrml(const char *name){ return genericMeshFileDialog
(
name
,
"VRML Options"
,
FORMAT_VRML
,
false
,
false
);
}
(
name
,
"VRML Options"
,
FORMAT_VRML
,
false
,
false
);
}
static
int
_save_ply2
(
const
char
*
name
){
return
genericMeshFileDialog
static
int
_save_ply2
(
const
char
*
name
){
return
genericMeshFileDialog
(
name
,
"PLY2 Options"
,
FORMAT_PLY2
,
false
,
false
);
}
(
name
,
"PLY2 Options"
,
FORMAT_PLY2
,
false
,
false
);
}
static
int
_save_neu
(
const
char
*
name
){
return
genericMeshFileDialog
(
name
,
"NEU Options"
,
FORMAT_NEU
,
false
,
false
);
}
static
int
_save_eps
(
const
char
*
name
){
return
gl2psFileDialog
static
int
_save_eps
(
const
char
*
name
){
return
gl2psFileDialog
(
name
,
"EPS Options"
,
FORMAT_EPS
);
}
(
name
,
"EPS Options"
,
FORMAT_EPS
);
}
static
int
_save_gif
(
const
char
*
name
){
return
gifFileDialog
(
name
);
}
static
int
_save_gif
(
const
char
*
name
){
return
gifFileDialog
(
name
);
}
...
@@ -380,6 +382,7 @@ static int _save_auto(const char *name)
...
@@ -380,6 +382,7 @@ static int _save_auto(const char *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_PLY2
:
return
_save_ply2
(
name
);
case
FORMAT_PLY2
:
return
_save_ply2
(
name
);
case
FORMAT_NEU
:
return
_save_neu
(
name
);
case
FORMAT_EPS
:
return
_save_eps
(
name
);
case
FORMAT_EPS
:
return
_save_eps
(
name
);
case
FORMAT_GIF
:
return
_save_gif
(
name
);
case
FORMAT_GIF
:
return
_save_gif
(
name
);
case
FORMAT_JPEG
:
return
_save_jpeg
(
name
);
case
FORMAT_JPEG
:
return
_save_jpeg
(
name
);
...
@@ -436,6 +439,7 @@ static void file_export_cb(Fl_Widget *w, void *data)
...
@@ -436,6 +439,7 @@ static void file_export_cb(Fl_Widget *w, void *data)
{
"Mesh - Tochnog"
TT
"*.dat"
,
_save_tochnog
},
{
"Mesh - Tochnog"
TT
"*.dat"
,
_save_tochnog
},
{
"Mesh - PLY2 Surface"
TT
"*.ply2"
,
_save_ply2
},
{
"Mesh - PLY2 Surface"
TT
"*.ply2"
,
_save_ply2
},
{
"Mesh - SU2"
TT
"*.su2"
,
_save_su2
},
{
"Mesh - SU2"
TT
"*.su2"
,
_save_su2
},
{
"Mesh - GAMBIT Neutral File"
TT
"*.neu"
,
_save_neu
},
{
"Post-processing - Gmsh POS"
TT
"*.pos"
,
_save_view_pos
},
{
"Post-processing - Gmsh POS"
TT
"*.pos"
,
_save_view_pos
},
{
"Post-processing - X3D (X3D)"
TT
"*.x3d"
,
_save_view_x3d
},
{
"Post-processing - X3D (X3D)"
TT
"*.x3d"
,
_save_view_x3d
},
#if defined(HAVE_MED)
#if defined(HAVE_MED)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment