summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-23 20:39:46 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-02-23 20:39:46 (GMT)
commit64c3be3fd7734f94f1057825ad66ba4ac2393134 (patch)
tree2e791bd4626aa046d03fe5fb7d5ec19958dffd74 /src
parent6c1c040941e8e3f3f939b16db202b1eac1bab3d9 (diff)
some doc
git-svn-id: http://svn.clifford.at/openscad/trunk@450 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'src')
-rw-r--r--src/export.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/export.cc b/src/export.cc
index 2469947..13f544f 100644
--- a/src/export.cc
+++ b/src/export.cc
@@ -70,6 +70,9 @@ void cgal_nef3_to_polyset(PolySet *ps, CGAL_Nef_polyhedron *root_N)
}
}
+/*!
+ Saves the current 3D CGAL Nef polyhedron as STL to the given absolute filename.
+ */
void export_stl(CGAL_Nef_polyhedron *root_N, QString filename, QProgressDialog *pd)
{
CGAL_Polyhedron P;
@@ -143,6 +146,9 @@ void export_off(CGAL_Nef_polyhedron*, QString, QProgressDialog*)
PRINTF("WARNING: OFF import is not implemented yet.");
}
+/*!
+ Saves the current 2D CGAL Nef polyhedron as DXF to the given absolute filename.
+ */
void export_dxf(CGAL_Nef_polyhedron *root_N, QString filename, QProgressDialog *)
{
FILE *f = fopen(filename.toUtf8().data(), "w");
contact: Jan Huwald // Impressum