summaryrefslogtreecommitdiff
path: root/src/primitives.cc
AgeCommit message (Collapse)Author
2012-03-27Rewrote the Value class to be based on boost::variant - this should reduce ↵Marius Kintel
memory footprint and improve performance
2012-02-13Cleaned up unsigned int compiler warningsAndrew Plumb
2012-01-25Ported printutils away from QtMarius Kintel
2011-12-19bugfix: The parameter yielded half as many segments as expectedMarius Kintel
2011-12-13Improved sphere tesselation for low resolution spheresMarius Kintel
2011-12-04Killed some warningsMarius Kintel
2011-11-06Slight refactoring of builtin function and module handlingMarius Kintel
2011-09-30Cleaned up some unnecessary includesMarius Kintel
2011-09-09Initial attempt of cleaning up polyset handling. PolySet no longer keeps a ↵Marius Kintel
refcount, basic cache mechanism is in place, instantiating polysets are controlled through PolySetEvaluator
2011-09-03De-Qt-ification continues, almost done with DxfDataMarius Kintel
2011-09-03Ported a bunch of stuff from Qt to STLMarius Kintel
2011-09-02change: Always use r as fallback variable if either of r1 or r2 are missingMarius Kintel
2011-09-01Refactored some non-CGAL functionality into separate functions in ↵Marius Kintel
PolySetCGALEvaluator
2011-08-25Merge branch 'master' into visitorMarius Kintel
Conflicts: src/primitives.cc
2011-08-14Fix for crash caused by 0-sized square as reported by chrysn.Giles Bathgate
2011-08-05Started on getBoundingBox functionality, refactored some vector code as part ↵Marius Kintel
of this initiative
2011-07-30Merge branch 'master' into visitorMarius Kintel
Conflicts: src/GLView.h src/glview.cc src/mainwin.cc src/render-opencsg.cc
2011-07-11merged in recent changes in masterMarius Kintel
2011-06-05Windows build fixes from Kliment YanevMarius Kintel
2011-06-05Removed offset since it's always 0Marius Kintel
2011-06-04Restores rotation of cylinder to that of previous versions of openscad.Giles Bathgate
Fix for changes done in commit 8c95ac44629e699c842a883c79d0833c5b83475c
2011-04-28Merged with masterMarius Kintel
2011-04-13Changed circle calculation to match sphere tessellation; makes example022 ↵Marius Kintel
look better
2011-04-12Ported recent changes to master into the visitor branchMarius Kintel
2011-04-07Merge remote branch 'gitorious/sphere-cylinder-optimisation' into sphere-cylMarius Kintel
2011-04-07Bugfix: Clamp and to 0.01 to fix a crashMarius Kintel
2011-04-07Fixed for when rings <= 0.Giles Bathgate
2011-03-22Optimised sphere generation.Giles Bathgate
Simply use the same number of fragments for each ring, and use half the number of fragments to determine the number of rings This results in a sphere that has the same projection when viewed from above or from the front.
2011-03-22Optimised cylinder generation.Giles Bathgate
When the sides are vertical we can use 4 sided polygons instead of triangles to define the sides, this reduces the facet count for the sides of the cylinder by half.
2011-01-21Merge branch 'master' of https://github.com/meta23/openscadmeta
Conflicts: openscad.pro
2011-01-21Copyright updatesMarius Kintel
2011-01-18don't use C99 variable length arraysmeta
2010-11-07Allow render_polyset() to return NULLMarius Kintel
2010-11-07Refactored some QString usage in the backend to std::stringMarius Kintel
2010-11-03Fixed some issues with PolySetRenderer, causing e.g. extrusions to fail in ↵Marius Kintel
OpenCSG mode
2010-10-31Reverted accidental commitskintel
git-svn-id: http://svn.clifford.at/openscad/trunk@573 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31Committed current version of visitor refactoringkintel
git-svn-id: http://svn.clifford.at/openscad/trunk@571 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31Added AbstractNode::name(), changed CSGTextRenderer to use this instead of ↵Marius Kintel
the rtti name
2010-10-31CSGTermRenderer refactoring: Added matrix to traversal stateMarius Kintel
2010-10-31Another refactoring session:Marius Kintel
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-31Removed temporary REMOVE_DUMP defineMarius Kintel
2010-10-31Mostly completed test implementation of text-based CGALRendererMarius Kintel
2010-10-31Added REMOVE_DUMP defineMarius Kintel
2010-10-31Committed current version of visitor refactoringMarius Kintel
2010-10-30Compile fixes from Giles Bathgatekintel
git-svn-id: http://svn.clifford.at/openscad/trunk@569 b57f626f-c46c-0410-a088-ec61d464b74c
2010-06-14bugfix: Don't crash when giving 3D vectors or number to a parameter which ↵kintel
expects 2d vectors git-svn-id: http://svn.clifford.at/openscad/trunk@558 b57f626f-c46c-0410-a088-ec61d464b74c
2010-04-05Changed unnecessary if to assertkintel
git-svn-id: http://svn.clifford.at/openscad/trunk@510 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-10silence warning when drawing a default cylinderkintel
git-svn-id: http://svn.clifford.at/openscad/trunk@424 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-01Clifford Wolf:clifford
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-01clarify, simplifykintel
git-svn-id: http://svn.clifford.at/openscad/trunk@399 b57f626f-c46c-0410-a088-ec61d464b74c
contact: Jan Huwald // Impressum