Commit Graph

31 Commits (328897c1f28e0d438aa678891f8d5a45b114f267)

Author SHA1 Message Date
Marius Kintel 1e4e18c524 minkowski sums should now work again 2011-09-06 14:57:24 +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 1633fb0344 Refactoring of CGAL functionality to allow for forward-declaration of CGAL classes in header files, reducing coupling and thus compilation times 2011-09-01 04:09:06 +02:00
Marius Kintel cf4821c589 De-Qt-ified AbstractNode 2011-08-04 04:58:17 +02:00
Marius Kintel 580f41b47a bugfix: hull() was missing name() implementation 2011-04-29 11:17:33 -04:00
Marius Kintel d24b3cc84d Ported recent changes to master into the visitor branch 2011-04-12 20:35:44 +02:00
Marius Kintel b6e9179e48 misc. fixes: Now supports hull() in OpenCSG mode, dump supports hull(), convexity not needed for hull() 2011-04-11 01:51:16 +02:00
Marius Kintel 3fbadddeac Added warning about missing 3D version of hull() 2011-04-11 01:48:09 +02:00
Marius Kintel 06cc8b1d58 indentation 2011-04-11 01:47:06 +02:00
Giles Bathgate ded6d3b1b4 Convex hull now works properly with multiple children that do not neccecerily need to be touching. 2011-04-09 20:27:08 +01:00
Giles Bathgate 5d5c745fde Slight improvement. You no longer need an arbitary shape in the script for it to work.
See changes in testdata/scad/convex_hull.scad The square(2) was never
rendered it was just there because the hull is calculated when it
itterates onto the second child. I also removed the unneeded parameter.
2011-04-09 17:53:19 +01:00
Giles Bathgate 9cc441025c Basic implementation of convex hull for 2d polyhedra.
The code was provided to me by Len Trigg via email.
2011-04-09 10:27:50 +01:00
Giles Bathgate 9aa7b94459 WIP adding support for convex hull operations. 2011-04-08 22:19:06 +01:00
Marius Kintel 91c640fb5e Copyright updates 2011-01-21 02:21:09 +01:00
Marius Kintel e0a068a0e8 Refactored some QString usage in the backend to std::string 2010-11-07 16:29:34 -05: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
clifford 1cbb05babf Clifford Wolf:
Little progress with 2d minkowski code



git-svn-id: http://svn.clifford.at/openscad/trunk@480 b57f626f-c46c-0410-a088-ec61d464b74c
2010-03-03 19:27:22 +00: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
kintel 84ca6d84aa Fixed compile error when CGAL is disabled
git-svn-id: http://svn.clifford.at/openscad/trunk@465 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-28 18:22:28 +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