summaryrefslogtreecommitdiff
path: root/openscad.h
diff options
context:
space:
mode:
Diffstat (limited to 'openscad.h')
-rw-r--r--openscad.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/openscad.h b/openscad.h
index 0f565c9..5345e7c 100644
--- a/openscad.h
+++ b/openscad.h
@@ -30,6 +30,7 @@
#include <QCache>
#include <QVector>
#include <QMainWindow>
+#include <QProgressDialog>
#include <QSplitter>
#include <QTextEdit>
#include <QLineEdit>
@@ -751,6 +752,7 @@ private slots:
void actionDisplayAST();
void actionDisplayCSGTree();
void actionDisplayCSGProducts();
+ void actionExportSTLorOFF(bool stl_mode);
void actionExportSTL();
void actionExportOFF();
@@ -800,6 +802,12 @@ extern int get_fragments_from_r(double r, double fn, double fs, double fa);
extern QPointer<MainWindow> current_win;
+#ifdef ENABLE_CGAL
+void export_stl(CGAL_Nef_polyhedron *root_N, QString filename, QProgressDialog *pd);
+void export_off(CGAL_Nef_polyhedron *root_N, QString filename, QProgressDialog *pd);
+#endif
+extern void handle_dep(QString filename);
+
#define PRINT(_msg) do { if (current_win.isNull()) fprintf(stderr, "%s\n", QString(_msg).toAscii().data()); else current_win->console->append(_msg); } while (0)
#define PRINTF(_fmt, ...) do { QString _m; _m.sprintf(_fmt, ##__VA_ARGS__); PRINT(_m); } while (0)
#define PRINTA(_fmt, ...) do { QString _m = QString(_fmt).arg(__VA_ARGS__); PRINT(_m); } while (0)
contact: Jan Huwald // Impressum