diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-07-20 17:45:39 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-07-20 17:45:39 (GMT) |
commit | bd89f254ef1a2c62ca13cbed98feabd13ea7d6ae (patch) | |
tree | e70f57dbfa31bfb0d73c16fe82351dd03a757212 /openscad.h | |
parent | 4c03dac385cfe9f48336b138336fddd0d179704e (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.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); }; |