summaryrefslogtreecommitdiff
path: root/openscad.h
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-20 17:45:39 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-07-20 17:45:39 (GMT)
commitbd89f254ef1a2c62ca13cbed98feabd13ea7d6ae (patch)
treee70f57dbfa31bfb0d73c16fe82351dd03a757212 /openscad.h
parent4c03dac385cfe9f48336b138336fddd0d179704e (diff)
Clifford Wolf:
Improved DXF support git-svn-id: http://svn.clifford.at/openscad/trunk@61 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'openscad.h')
-rw-r--r--openscad.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/openscad.h b/openscad.h
index 191df31..9676947 100644
--- a/openscad.h
+++ b/openscad.h
@@ -124,6 +124,7 @@ public:
Value inv() const;
bool getnum(double &v) const;
+ bool getv2(double &x, double &y) const;
bool getv3(double &x, double &y, double &z) const;
QString dump() const;
@@ -284,7 +285,7 @@ public:
void args(const QVector<QString> &argnames, const QVector<Expression*> &argexpr, const QVector<QString> &call_argnames, const QVector<Value> &call_argvalues);
void set_variable(QString name, Value value);
- Value lookup_variable(QString name) const;
+ Value lookup_variable(QString name, bool silent = false) const;
Value evaluate_function(QString name, const QVector<QString> &argnames, const QVector<Value> &argvalues) const;
AbstractNode *evaluate_module(const ModuleInstanciation *inst) const;
@@ -312,7 +313,7 @@ public:
QList<Point> points;
QList<Path> paths;
- DxfData(double fn, double fs, double fa, QString filename, QString layername = QString());
+ DxfData(double fn, double fs, double fa, QString filename, QString layername = QString(), double xorigin = 0.0, double yorigin = 0.0, double scale = 1.0);
Point *p(double x, double y);
};
contact: Jan Huwald // Impressum