Commit Graph

58 Commits (8cea6834f68cbbfb85c2568d388bf3b2e707cca5)

Author SHA1 Message Date
don bright 73d8d3cca4 fix possible crash bug 2012-10-29 11:46:40 +01:00
don bright ec41b7e432 move failure-detection so there is only one reset of error behavior. 2012-10-28 13:01:10 -05:00
don bright 0473a0eff3 put eps and inf back in 2012-10-28 12:43:53 -05:00
don bright 434ebe017d more cleanup 2012-10-28 12:40:16 -05:00
don bright 66b6433ffe cleanup 2012-10-28 12:37:27 -05:00
don bright 66b9efb35e reduce linecount of bigbox code. minor cleaning. 2012-10-28 12:14:34 -05:00
don bright f39cb81549 remove debugging. cleanup 2012-10-28 11:51:43 -05:00
don bright 4ecd9fa8a4 refactor, cleanup, put code where it belongs, make simple logging class 2012-10-28 08:56:23 -05:00
don bright 1dbcd7f468 use a thin box, union the intersection w top of box and bottom of box 2012-10-24 05:45:40 -05:00
don bright 45a99bfe36 use target(), not source(), making 'simple' the 2d polygon
created during the 'flattening' process from 3d to 2d.
not sure why this works, but it does.
2012-10-24 04:14:52 -05:00
don bright 5b92e171ea this svg-prints the 'marked' faces as dashed lines, revealing CGAL issues
with mark() and union() operations on Nef Polyhedron 2 objects.
2012-10-22 23:44:54 -05:00
don bright 30fad0d4e4 remove old dump code. improve debugging svg output. 2012-10-21 12:10:06 -05:00
don bright ddbdd58d16 add OpenSCAD version to about dialog title.
improve SVG debugging output for Nef3 and Nef2 polyhedra.
2012-10-18 22:31:37 -05:00
don bright 56def4aef2 projection: fallback to 'large thin box' if intersection with plane fails.
also implement SVG debugging output for 2d + 3d Nef Polyhedrons.
2012-10-15 20:17:12 -05:00
Marius Kintel 08e7ce3036 Catch CGAL assertion for projection nodes. Fixes #202 2012-10-08 21:05:23 -04:00
Don Bright dd2002a816 Tidy up code. Generate proper test png images. Merge branch 'master' into caliston1.
Conflicts:
	src/PolySetCGALEvaluator.cc
2012-05-28 11:48:46 -05:00
Marius Kintel dda5195130 Align tesselation of cylinders and rotate_extrude. Fixes #108 2012-04-22 19:35:15 -04: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 8a5f6a4abd Minor unsigned fixes 2012-02-15 00:13:07 +01:00
Don Bright 4381762f5a rewrite documentation of visitor() 2012-02-13 20:42:36 -06:00
Don Bright 662da67571 fix debug printing 2012-02-13 19:56:38 -06:00
Don Bright e747b0bfb5 fix tab spacing. comment out debugging line. 2012-02-13 19:54:33 -06:00
Don Bright 7cca215cbe improve documentation 2012-02-13 19:48:18 -06:00
Don Bright 7fda151957 cleanup tabs + wording. 2012-02-13 19:31:11 -06:00
Don Bright fe06b3b034 fix crash. 2012-02-13 19:22:11 -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
Andrew Plumb d4efb54284 Cleaned up unsigned int compiler warnings 2012-02-13 11:23:18 -05:00
Don Bright a76d5b02bd use Nef_polyhedron3 intersection to do projection(cut). 2012-02-10 20:15:16 -06:00
Marius Kintel cb363df358 Added test case and source code comments related to issue #80 2012-02-03 23:05:42 +01:00
Marius Kintel 34a5f89184 Gracefully handle errors converting a Nef polyhedron to a polyset. Fixes #77 2012-02-03 03:19:56 +01:00
Marius Kintel eff1f7f8c9 Ported printutils away from Qt 2012-01-25 03:11:12 +01:00
Marius Kintel 4ff2d1af44 Some light refactoring attempts, didn't get very far.. 2011-12-26 16:34:47 +01:00
Marius Kintel 6fd779c2be bugfix: render() statement containing only 2D geometry caused a crash 2011-12-21 18:03:23 +01:00
Marius Kintel f211077d25 Fixed render() crash reported by tjhowse. It still fails, but at least doesn't crash anymore 2011-12-12 00:48:07 +01:00
Marius Kintel 45bbac8686 bugfix: convexity wasn't passed on to polysets for Cgaladv and Render nodes 2011-11-08 03:38:18 +01:00
Marius Kintel 7cfd61c53e typo 2011-11-06 02:19:27 +01:00
Marius Kintel 6b8fd15ff7 Improved quality of linear_extrude with twist by forcing all quads to be tessellated the same direction 2011-10-27 15:23:55 +02:00
Marius Kintel bf3fb9634c Renamed some files and classnames for clarification 2011-09-30 03:11:28 +02:00
Marius Kintel 95949cf961 Implemented CGAL caching 2011-09-11 10:51:55 +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 2013390aa3 Better 2d/3d test for projection 2011-09-07 02:33:16 +02:00
Marius Kintel 8176b06fd0 bugfix: typo in last commit 2011-09-07 01:12:27 +02:00
Marius Kintel 9ec9111dcb Fixed another projection() crash bug; only 3D children 2011-09-07 00:47:01 +02:00
Marius Kintel ac01975b02 bugfix: fixed crash bugs on empty projection() 2011-09-07 00:10:21 +02:00
Marius Kintel f9b026a2f0 bugfix: fixed crash bugs on empty or 3D child list of linear_extrude() and rotate_extrude() 2011-09-06 23:59:08 +02:00
Marius Kintel cd6299922d projection() now works 2011-09-06 20:37:07 +02:00
Marius Kintel 0e7c6473fa Implemented render() 2011-09-06 18:31:22 +02:00
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 6096f2734a De-Qt-ification continues, almost done with DxfData 2011-09-03 22:44:41 +02:00