Commit Graph

44 Commits (cc4b633e436ce028b911345b987e48ba5e96fae8)

Author SHA1 Message Date
Marius Kintel fc436f6f9f #1233 Correctly handle homogeneous components in transformation matrices 2015-03-02 17:16:56 -05:00
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 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
don bright 61a4fc3031 solve some floating point comparison issues in multmatrix dump().
also indent some stuff properly
2013-02-15 17:42:45 -08:00
don bright d5019a964e deal with test suite issues under mingw-cross compile and wine 2013-02-13 22:55:19 -06:00
Marius Kintel 787572c07a Bugfix: rotate() with a vector argument with less that 3 elements used uninitialized variables, ending up being non-deterministic. Fixes #152 2012-08-22 00:13:19 -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 c5703b4407 bugfix: Fix crash bug when using zero scale factors. Reported by Alan Cox 2012-02-19 13:09:02 +01:00
Marius Kintel 45161d4356 Slight refactoring of builtin function and module handling 2011-11-06 18:37:12 +01:00
Marius Kintel f5e0f3a531 Rewrote some hard to read linear algebra code to use Eigen 2011-10-04 03:41:43 +02:00
Marius Kintel 0c2053caf9 Removed unused includes 2011-10-01 00:43:51 +02:00
Marius Kintel 7a139c2558 Removed some obsolete code 2011-09-08 05:13:55 +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 ed8a99ed55 Refactoring: Moved color functionality into separate module and node 2011-09-02 23:35:10 +02:00
Marius Kintel 1d4b36a5c6 Added FIXME for new alpha handling 2011-08-04 18:28:29 +02:00
Marius Kintel cf4821c589 De-Qt-ified AbstractNode 2011-08-04 04:58:17 +02:00
Marius Kintel dd9dfcb4ec fixed merge conflicts 2011-07-31 01:09:16 +02:00
Don Bright d5d0d31d84 add better alpha syntax for named colors 2011-07-13 13:45:56 -05:00
Marius Kintel 21ac6c05d1 merged in recent changes in master 2011-07-11 03:54:20 +02:00
Don Bright 5f8021e3e6 Allow the color() command to use names as well as numbers.
With fix for a bug where alpha of 0.0 was mishandled applied.
2011-07-04 22:22:43 +01: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
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 93f3d4a1b6 CSGTermRenderer refactoring: Added matrix to traversal state 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 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