Commit Graph

58 Commits (58e09b1351a53bef508786f78e5cf8f8e6bbe8c3)

Author SHA1 Message Date
Marius Kintel adffb9121f Added support for 2D scaling in linear_extrude 2013-05-10 18:01:50 +02:00
Marius Kintel 130e10778e Initial code to support scaling of linear_extrude(). Part of Issue #273 2013-05-10 13:45:28 +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
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
Andrew Plumb d4efb54284 Cleaned up unsigned int compiler warnings 2012-02-13 11:23:18 -05:00
Marius Kintel eff1f7f8c9 Ported printutils away from Qt 2012-01-25 03:11:12 +01:00
Marius Kintel 80f50f0883 bugfix: The parameter yielded half as many segments as expected 2011-12-19 16:31:38 +01:00
Marius Kintel 3f6a2f0fbb Improved sphere tesselation for low resolution spheres 2011-12-13 01:24:53 +01:00
Marius Kintel faf4a64851 Killed some warnings 2011-12-04 22:20:19 +01: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 6096f2734a De-Qt-ification continues, almost done with DxfData 2011-09-03 22:44:41 +02:00
Marius Kintel 6f632190a0 Ported a bunch of stuff from Qt to STL 2011-09-03 06:10:36 +02:00
Marius Kintel c555a9646a change: Always use r as fallback variable if either of r1 or r2 are missing 2011-09-02 02:32:07 +02:00
Marius Kintel 6041c34f0b Refactored some non-CGAL functionality into separate functions in PolySetCGALEvaluator 2011-09-01 17:03:34 +02:00
Marius Kintel 08c83d306e Merge branch 'master' into visitor
Conflicts:
	src/primitives.cc
2011-08-25 17:46:21 +02:00
Giles Bathgate 8196385438 Fix for crash caused by 0-sized square as reported by chrysn. 2011-08-14 20:59:22 +01:00
Marius Kintel 80e526880a Started on getBoundingBox functionality, refactored some vector code as part of this initiative 2011-08-05 02:11:20 +02:00
Marius Kintel 6882228058 Merge branch 'master' into visitor
Conflicts:
	src/GLView.h
	src/glview.cc
	src/mainwin.cc
	src/render-opencsg.cc
2011-07-31 01:58:51 +02:00
Marius Kintel 21ac6c05d1 merged in recent changes in master 2011-07-11 03:54:20 +02:00
Marius Kintel c807f9bbd1 Windows build fixes from Kliment Yanev 2011-06-05 19:55:50 +02:00
Marius Kintel 33a660f173 Removed offset since it's always 0 2011-06-05 17:40:53 +02:00
Giles Bathgate 82b1216ad2 Restores rotation of cylinder to that of previous versions of openscad.
Fix for changes done in commit 8c95ac4462
2011-06-04 11:35:32 +01:00
Marius Kintel 2f740380dc Merged with master 2011-04-28 17:36:56 -04:00
Marius Kintel 8c95ac4462 Changed circle calculation to match sphere tessellation; makes example022 look better 2011-04-13 14:30:55 +02:00
Marius Kintel d24b3cc84d Ported recent changes to master into the visitor branch 2011-04-12 20:35:44 +02:00
Marius Kintel c9093c0ad5 Merge remote branch 'gitorious/sphere-cylinder-optimisation' into sphere-cyl 2011-04-08 00:43:08 +02:00
Marius Kintel 496cc66cf2 Bugfix: Clamp and to 0.01 to fix a crash 2011-04-08 00:36:13 +02:00
Giles Bathgate 9d94eaddc8 Fixed for when rings <= 0. 2011-04-07 23:34:57 +01:00
Giles Bathgate 9357469cce Optimised sphere generation.
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-22 20:38:48 +00:00
Giles Bathgate 5eed043d53 Optimised cylinder generation.
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-03-22 19:50:59 +00:00
meta 52a474eb52 Merge branch 'master' of https://github.com/meta23/openscad
Conflicts:
	openscad.pro
2011-01-21 22:09:18 +01:00
Marius Kintel 91c640fb5e Copyright updates 2011-01-21 02:21:09 +01:00
meta a117735f76 don't use C99 variable length arrays 2011-01-19 00:17:31 +01:00
Marius Kintel 93c00f9efe Allow render_polyset() to return NULL 2010-11-07 17:50:57 -05:00
Marius Kintel e0a068a0e8 Refactored some QString usage in the backend to std::string 2010-11-07 16:29:34 -05:00
Marius Kintel 264608981c Fixed some issues with PolySetRenderer, causing e.g. extrusions to fail in OpenCSG mode 2010-11-03 19:26:06 +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 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 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 487dace74e Compile fixes from Giles Bathgate
git-svn-id: http://svn.clifford.at/openscad/trunk@569 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-30 15:24:49 +00:00