diff options
Diffstat (limited to 'src/dxfrotextrude.cc')
-rw-r--r-- | src/dxfrotextrude.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/dxfrotextrude.cc b/src/dxfrotextrude.cc index c1f8af1..a84097f 100644 --- a/src/dxfrotextrude.cc +++ b/src/dxfrotextrude.cc @@ -129,29 +129,6 @@ PolySet *DxfRotateExtrudeNode::render_polyset(render_mode_e mode) const return ps; } -#ifndef REMOVE_DUMP -QString DxfRotateExtrudeNode::dump(QString indent) const -{ - if (dump_cache.isEmpty()) { - QString text; - struct stat st; - memset(&st, 0, sizeof(struct stat)); - stat(filename.toAscii().data(), &st); - text.sprintf("rotate_extrude(file = \"%s\", cache = \"%x.%x\", layer = \"%s\", " - "origin = [ %g %g ], scale = %g, convexity = %d, " - "$fn = %g, $fa = %g, $fs = %g) {\n", - filename.toAscii().data(), (int)st.st_mtime, (int)st.st_size, - layername.toAscii().data(), origin_x, origin_y, scale, convexity, - fn, fa, fs); - foreach (AbstractNode *v, children) - text += v->dump(indent + QString("\t")); - text += indent + "}\n"; - ((AbstractNode*)this)->dump_cache = indent + QString("n%1: ").arg(idx) + text; - } - return dump_cache; -} -#endif - std::string DxfRotateExtrudeNode::toString() const { std::stringstream stream; |