summaryrefslogtreecommitdiff
path: root/src/dxfdata.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-26 15:37:45 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-26 15:37:45 (GMT)
commite502fab71d998c0bd025512c0c3884a1117479d1 (patch)
tree5fb916cf36fcf418b8f384c3429b8342855e9f17 /src/dxfdata.cc
parentc4bffdaf37fdf72a84a225ec584d3698fe398857 (diff)
parent4ff2d1af446c1f276c644b12e6ec4cc6db0b6d65 (diff)
Merge branch 'master' into color-priority
Conflicts: openscad.pro
Diffstat (limited to 'src/dxfdata.cc')
-rw-r--r--src/dxfdata.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/dxfdata.cc b/src/dxfdata.cc
index cf9248f..2bc21e2 100644
--- a/src/dxfdata.cc
+++ b/src/dxfdata.cc
@@ -42,6 +42,20 @@
#include <QDir>
#include "value.h"
+/*! \class DxfData
+
+ The DxfData class fulfils multiple tasks, partially for historical reasons.
+ FIXME: It's a bit messy and is a prime target for refactoring.
+
+ 1) Read DXF file from disk
+ 2) Store contents of DXF files as points, paths and dims
+ 3) Store 2D polygons, both from the polygon() module and from 2D CSG operations.
+ Used for tesselation into triangles
+ 4) Store 2D polygons before exporting to DXF
+
+
+ */
+
struct Line {
int idx[2]; // indices into DxfData::points
bool disabled;
contact: Jan Huwald // Impressum