summaryrefslogtreecommitdiff
path: root/src/export.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-01-24 02:51:15 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-01-24 02:51:15 (GMT)
commite82b056e811f7a72e7fb94ecbc1683420831b05e (patch)
tree87ee9f9ce2e660429115b0cabaee5ff78fa6429f /src/export.cc
parent2e65c6ddc5c73bfd3b76650c26268b5f54f7cd40 (diff)
basic parse of .png output filename. basic command line option "--render"
Diffstat (limited to 'src/export.cc')
-rw-r--r--src/export.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/export.cc b/src/export.cc
index 80670ea..2d5f5a4 100644
--- a/src/export.cc
+++ b/src/export.cc
@@ -195,6 +195,19 @@ void export_dxf(CGAL_Nef_polyhedron *root_N, std::ostream &output)
setlocale(LC_NUMERIC, ""); // Set default locale
}
+void export_png_with_cgal(CGAL_Nef_polyhedron *root_N, std::ostream &output)
+{
+ output << "solid OpenSCAD_Model\n";
+ output << "endsolid OpenSCAD_Model\n";
+}
+
+void export_png_with_opencsg(CGAL_Nef_polyhedron *root_N, std::ostream &output)
+{
+ output << "solid OpenSCAD_Model opencsg\n";
+ output << "endsolid OpenSCAD_Model opencsg\n";
+}
+
+
#endif
#ifdef DEBUG
contact: Jan Huwald // Impressum