Marius Kintel
4cd712d24d
Merge remote-tracking branch 'origin/master' into stack-size-hack
...
Conflicts:
src/context.h
src/control.cc
src/evalcontext.h
src/localscope.cc
src/module.cc
2014-11-25 11:25:37 -05:00
Marius Kintel
23c9dee265
bugfix: Correctly handle else scopes, handle overrides inside assign scopes
2014-11-25 00:45:00 -05:00
Marius Kintel
406e6e1bac
#409 Pass Value objects as shared_ptr instances instead of by Value to battle excess stack usage
2014-11-23 00:59:17 -05:00
Marius Kintel
ea1d561c46
Support variable assignment in local blocks. This should fix #347 but more testing is needed
2014-11-17 00:57:36 -05:00
Torsten Paul
d8a1b5f7eb
Convert Assignment to use shared pointers for Expressions ( fixes #709 ).
2014-03-30 19:16:50 +02:00
Marius Kintel
dc9429acac
Use GeometryEvaluator instead of CGALEvaluator. A bunch of refactoring and fixes as a result of that. Renamed GUI menu items to reflect preview vs. render
2014-01-09 02:06:35 -05:00
Marius Kintel
acd08b6f1a
Green refactoring, but uncertain if we should keep it
2014-01-09 02:06:32 -05:00
Marius Kintel
9a297ecee5
Refactoring: Split out FileModule from Module, Added LocalScope renamed some confusing 'evaluate' methods to 'instantiate', added FileContext (not yet used)
2013-04-26 17:45:03 -04:00
Marius Kintel
58bd9c9e3f
Cleaned up argument list handling, related to #116
2013-04-18 18:34:14 -04:00
Marius Kintel
a37813a899
Refactored context handling into using separate Module contexts and Eval contexts. This allows for recursive module calls, and cascading children. I believe this fixes issue #116
2013-04-09 00:28:16 -04:00
Marius Kintel
327310f190
Rewrote the Value class to be based on boost::variant - this should reduce memory footprint and improve performance
2012-03-28 00:05:58 +02:00
Marius Kintel
45161d4356
Slight refactoring of builtin function and module handling
2011-11-06 18:37:12 +01:00
Marius Kintel
84e98b178a
Cleaned up some unnecessary includes
2011-10-01 01:36:30 +02:00
Marius Kintel
cbba974d3a
Initial attempt of cleaning up polyset handling. PolySet no longer keeps a refcount, basic cache mechanism is in place, instantiating polysets are controlled through PolySetEvaluator
2011-09-09 05:53:05 +02:00
Marius Kintel
5417b4fa65
Ported use for Qt's foreach to BOOST_FOREACH
2011-09-04 20:35:23 +02:00
Marius Kintel
6f632190a0
Ported a bunch of stuff from Qt to STL
2011-09-03 06:10:36 +02:00
Marius Kintel
cf4821c589
De-Qt-ified AbstractNode
2011-08-04 04:58:17 +02:00
Marius Kintel
d24b3cc84d
Ported recent changes to master into the visitor branch
2011-04-12 20:35:44 +02:00
Marius Kintel
91c640fb5e
Copyright updates
2011-01-21 02:21:09 +01:00
Marius Kintel
c1c5d8174d
doc and cosmetics
2010-11-06 11:04:03 -04:00
kintel
e0c5673e1b
Reverted accidental commits
...
git-svn-id: http://svn.clifford.at/openscad/trunk@573 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31 01:58:50 +00:00
kintel
53337ff654
Committed current version of visitor refactoring
...
git-svn-id: http://svn.clifford.at/openscad/trunk@571 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31 01:19:06 +00:00
Marius Kintel
d0390c41a2
Added AbstractNode::name(), changed CSGTextRenderer to use this instead of the rtti name
2010-10-31 02:42:38 +02:00
Marius Kintel
f0b49ee9e9
Started refactoring of render_csg_term() into a visitor
2010-10-31 02:42:38 +02:00
Marius Kintel
e8e213b3c9
Another refactoring session:
...
o mk_cache_id() obsoleted by removing the node index from the dump
o node index output removed from each node and make optional in NodeDumper
o The visitors are no longer global, but associated with a tree
o Added Tree class to manage node trees and the (now implicit) dump cache
o Moved PolySet cache into PolySetRenderer
2010-10-31 02:42:35 +02:00
Marius Kintel
99f406d994
Removed temporary REMOVE_DUMP define
2010-10-31 02:42:35 +02:00
Marius Kintel
184d0e041f
Initial implementation of CGALRenderer
2010-10-31 02:42:35 +02:00
Marius Kintel
7468c94067
Mostly completed test implementation of text-based CGALRenderer
2010-10-31 02:42:34 +02:00
Marius Kintel
9bb4fc829a
Added REMOVE_DUMP define
2010-10-31 02:42:34 +02:00
Marius Kintel
393c5a19fe
Committed current version of visitor refactoring
2010-10-31 02:42:34 +02:00
kintel
3dbb23ce68
Call progress callback for each child node of boolean ops
...
git-svn-id: http://svn.clifford.at/openscad/trunk@479 b57f626f-c46c-0410-a088-ec61d464b74c
2010-03-03 04:00:31 +00:00
clifford
332e835f87
Clifford Wolf:
...
Added cgaladv.cc with advanced transformations via CGAL
(as of now only 3d minkowksi sum is implemented but more is planned)
git-svn-id: http://svn.clifford.at/openscad/trunk@446 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-20 14:37:20 +00:00
kintel
c7b9a49c15
Cleaned up progress handling, implemented cancel function. Needs more testing
...
git-svn-id: http://svn.clifford.at/openscad/trunk@420 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-09 13:48:09 +00:00
clifford
07bc7dbecd
Clifford Wolf:
...
Added CGAL exception to all copyright notes, as it is suggested on:
http://www.cgal.org/license.html
http://www.fsf.org/licensing/licenses/index_html
git-svn-id: http://svn.clifford.at/openscad/trunk@405 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-01 09:34:18 +00:00
kintel
191dc4857c
header file reorg
...
git-svn-id: http://svn.clifford.at/openscad/trunk@365 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 04:26:05 +00:00
kintel
6940d17181
reorganized file structure layout. more to follow...
...
git-svn-id: http://svn.clifford.at/openscad/trunk@364 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 04:17:05 +00:00