Commit Graph

66 Commits (master)

Author SHA1 Message Date
ankush1995 7e5394c6fa separate-compile 2015-04-15 14:56:19 +05:30
Marius Kintel 3cda1c6f5a bboxes should be recalculated after transformations. We could filter out rotation transforms but this is easier for now 2015-03-08 23:56:21 -04:00
Marius Kintel 7d1962b95a wops, forgot to set the dirty bit in one place 2015-03-08 20:41:56 -04:00
Marius Kintel 30f5343834 Optimization: Cache boundingbox, added append_poly with Polygon parameter 2015-03-08 19:32:10 -04:00
Marius Kintel d6f0b7dc50 Flip faces when transforming using a mirroring transform. Fixes #1174 2015-01-25 01:53:04 -05:00
Marius Kintel 1c52fad1d3 Moved libtess2-based tessellation to GeometryUtils, related refactoring 2015-01-15 14:47:05 -05:00
Marius Kintel 32b2d2ec97 Fixed buggy vertex quantizing and polygon tessellation. Should improve some corner cases 2015-01-05 18:22:58 -05:00
Marius Kintel cce016b97b Merge remote-tracking branch 'origin/master' into quantizevertices 2014-12-26 14:08:09 -05:00
Marius Kintel c5e4715575 bugfix: highlighted differences didn't render correctly 2014-12-23 00:37:43 -05:00
Marius Kintel d72c121fa6 Minor Grid3 refactoring 2014-12-19 02:40:17 -05:00
Marius Kintel 0aa215b90c Quantize vertices when building Nef polyhedrons from PolySets 2014-12-19 02:27:56 -05:00
Marius Kintel 73b6700b69 Empty polysets are convex. Fixes crash in is_approximately_convex() 2014-12-09 17:46:03 -05:00
Marius Kintel 6d9329966a #1061 fixed test build behaving differently from GUI build due to ENABLE_CGAL flag not being passed to all relevant sources. Added testcase 2014-12-09 16:42:02 -05:00
Marius Kintel 819f5d085f Moved Polygon typedef out of PolySet class 2014-11-26 15:22:15 -05:00
Marius Kintel e70bc04197 Colormap functionality from pull request #816, mostly by Don Bright, includes new colormaps by shaina 2014-08-14 17:16:24 -04:00
Oskar Linde 8c977a45e5 Make sure convex objects remain convex as Nef polyhedrons 2014-06-03 18:51:29 +02:00
Don Bright 0308a2c896 build on system without OpenGL. do cmake .. -DNULLGL=1 2014-01-30 18:21:32 -06:00
Marius Kintel 24986eec91 Added Geometry::isEmpty, some cleanups of CGAL_Nef_polyhedron, fixed some 2D-3D-mix issues 2014-01-09 02:06:37 -05:00
Marius Kintel 2edc0c214f Use CLipperLib's PolyTree to identify negative contours 2014-01-09 02:06:36 -05:00
Marius Kintel 0e5037dce3 Make CGALRenderer support all Geometries 2014-01-09 02:06:35 -05:00
Marius Kintel 669c30be6a Implemented resize 2014-01-09 02:06:35 -05:00
Marius Kintel 4e9de72779 Implemented 3D transform of PolySets, removed some Grid usage, improved PolySet -> Polyhedron conversion, optimized operations with only one child 2014-01-09 02:06:34 -05:00
Marius Kintel ef4c07cd78 Let PolySets tessellated from Polygon2d objects keep track of the original object, e.g. for edge rendering purposes 2014-01-09 02:06:33 -05:00
Marius Kintel 84ce5dbd5d Implemented import to Polygon2d, fixed twist bug, added convexity support 2014-01-09 02:06:33 -05:00
Marius Kintel d9ad3a60a0 Implemented rotate_extrude, basic support for 2D CSG, fixed some linear_extrude issues 2014-01-09 02:06:32 -05:00
Marius Kintel 064ee8f98a Basic linear_extrude now works 2014-01-09 02:06:32 -05:00
Marius Kintel b8c15cfb8a Preliminary large refactoring: Created GeometryEvaluator as a replacement for PolySetEvaluator. Use ClipperLib for 2D CSG (first baby steps). This design is far from perfect but sacrifice design for staying in the green. This version is broken, but can render primitives. 2014-01-09 02:06:32 -05:00
Marius Kintel acd08b6f1a Green refactoring, but uncertain if we should keep it 2014-01-09 02:06:32 -05:00
Marius Kintel 8cea6834f6 bugfix for recently introduced bug: Render negative 2D objects slightly thicker than positive objects to avoid z-buffer tearing with OpenCSG rendering 2013-01-08 13:24:54 -05:00
Marius Kintel a64f932693 Render all 2D objects 1mm high in OpenCSG/Throwntogether mode 2012-12-08 09:47:31 +01:00
Don Bright e747b0bfb5 fix tab spacing. comment out debugging line. 2012-02-13 19:54:33 -06:00
Don Bright 319364b597 use shared_ptr in shell visitor. add dump() code. hide debug cout. 2012-02-13 18:43:38 -06:00
Marius Kintel fe3362faf8 Started on cache size management: Let cache sizes be read from Preferences, measure cache sizes in bytes 2012-01-10 00:01:50 +01:00
Marius Kintel cbabbaed70 Merge branch 'master' into boost_filesystem
Conflicts:
	openscad.pro
	src/module.h
2011-12-26 16:37:00 +01:00
Marius Kintel 0d72f5a2d5 Updated documentation 2011-12-26 12:00:15 +01:00
Marius Kintel d71ec2a3db Removed unused include 2011-12-25 15:08:42 +01:00
Marius Kintel 9ed8d9a673 Some small refactoring of color handling to support using the color() module to change only alpha 2011-12-11 23:45:14 +01:00
Marius Kintel 86884456d9 Removed unnecessary CGAL defines 2011-11-06 19:52:17 +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 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 869231f752 Killed some warnings 2011-09-08 02:32:49 +02:00
Marius Kintel c48d12a352 bugfix: center vector was uninitialized 2011-09-02 02:14:24 +02: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 e3e31c0f4f some leftover conflicts from the last merge 2011-08-04 04:56:31 +02:00
Marius Kintel 2af5648eda Merge branch 'master' into visitor
Conflicts:
	src/OpenCSGRenderer.cc
	src/csgops.cc
	src/mainwin.cc
	src/polyset.cc
	src/projection.cc
2011-08-04 04:02:42 +02:00
Marius Kintel a35c801eec Improved (more detailed) CGAL error messages 2011-08-03 01:12:54 +02:00
Marius Kintel d24b3cc84d Ported recent changes to master into the visitor branch 2011-04-12 20:35:44 +02: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