summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dxflinextrude.cc17
1 files changed, 17 insertions, 0 deletions
diff --git a/dxflinextrude.cc b/dxflinextrude.cc
index 76261cb..8afbcf2 100644
--- a/dxflinextrude.cc
+++ b/dxflinextrude.cc
@@ -142,6 +142,23 @@ PolySet *DxfLinearExtrudeNode::render_polyset(render_mode_e) const
h2 = height;
}
+ bool first_open_path = true;
+ for (int i = 0; i < dxf.paths.count(); i++)
+ {
+ if (dxf.paths[i].is_closed)
+ continue;
+ if (first_open_path) {
+ PRINTF("WARING: Open paths in dxf_liniear_extrude(file = \"%s\", layer = \"%s\"):",
+ filename.toAscii().data(), layername.toAscii().data());
+ first_open_path = false;
+ }
+ PRINTF(" %9.5f %10.5f ... %10.5f %10.5f",
+ dxf.paths[i].points.first()->x / scale + origin_x,
+ dxf.paths[i].points.first()->y / scale + origin_y,
+ dxf.paths[i].points.last()->x / scale + origin_x,
+ dxf.paths[i].points.last()->y / scale + origin_y);
+ }
+
for (int i = 0; i < dxf.paths.count(); i++)
{
if (!dxf.paths[i].is_closed)
contact: Jan Huwald // Impressum