Commit Graph

943 Commits (0f977609b40d5a6b6b5237060198e6dd97df06c5)

Author SHA1 Message Date
Marius Kintel faeebb18e4 Merge pull request #173 from openscad/issue160
Issue160
2012-08-13 12:55:57 -07:00
don bright 029f0f2ba9 rearrange to check once at init, then use set variable 2012-08-08 21:23:13 -05:00
don bright a57637e195 check if running under wine, then run swapbuffers() if so 2012-08-08 20:42:39 -05:00
don bright c825692a60 fix issue160 by adding updateGL() call after 'f5' (opencsg) 2012-08-05 22:09:15 -05:00
Don Bright 3ac131d39d QT minimum version was incorrect and did not match README. fixing. 2012-08-05 10:16:53 -05:00
don bright 967f5a57ab add nsis to list of tools 2012-08-05 06:12:51 -05:00
don bright 4cc87c32f4 Add info to 'about' window with acknowledgements, etc. 2012-08-04 11:49:45 -05:00
don bright fddad68a73 give Kintel and Wolf permission to alter the license 2012-08-03 20:11:13 -05:00
don bright 8e4bc5d598 change value so that ECHO works more like old Qstring.sprintf 2012-08-01 18:43:39 -05:00
don bright 24fbfdf955 fix broken mousewheel scrolling (bug introduced by ctrl-wheel-zoom feature) 2012-08-01 14:57:38 -05:00
Marius Kintel 1a02158ddc Merge pull request #150 from openscad/issue148
Issue148
2012-07-27 08:15:19 -07:00
Marius Kintel 67eeed386c bugfix: 3D initializer was used for 2D Vector2d 2012-07-26 10:05:41 -04:00
Marius Kintel f1634d545d Merge branch 'master' of github.com:openscad/openscad
Conflicts:
	scripts/linux-build-dependencies.sh
2012-07-23 22:43:43 -04:00
Marius Kintel dcb8c20119 Merge pull request #155 from openscad/fontsize_save
Fontsize save
2012-07-23 19:40:22 -07:00
don bright 7f64312172 clarify comment 2012-07-22 20:58:07 -05:00
don bright 86b5fc02f5 on control + mousewheel, zoomin/zoomout text (like firefox, IE, etc) 2012-07-22 20:56:01 -05:00
don bright b33a02b372 remove debugging statements 2012-07-22 20:45:12 -05:00
don bright 3c7a85af57 debugging and rearranging to find issue 2012-07-22 20:16:37 -05:00
don bright 2551905895 fix OpenCSG Warning bug where slots were not connected 2012-07-20 21:55:14 -05:00
don bright eda7a41335 cgal 4.0.2 has a bugfix re clang and gcc 4.7 ( issue #117 ) 2012-07-20 14:36:17 -05:00
don bright 8e9b2d2c49 fix typo 2012-07-20 09:00:14 +02:00
don bright 4750709867 fix crashbug, rept by MichaelAtOz, issue 148. add test. 2012-07-20 08:49:27 +02:00
don bright 8cc442369f fix bugs in build 2012-07-15 14:29:14 -05:00
Marius Kintel 1b38030f7e Merge branch 'master' of github.com:openscad/openscad 2012-07-14 21:58:55 -04:00
Marius Kintel 2495df6bab Add timestamp to cache key for modules importing files. Fixes #141 2012-07-14 21:57:41 -04:00
Marius Kintel 2aaccdcfac Don't use grabMouse() and setFocus(). Attempt to fix #53 2012-07-14 21:05:17 -04:00
don bright e1fe9a33a6 improve wording of CGAL warning + env var warning 2012-07-12 21:51:38 -05:00
don bright 018211a863 check versions of libraries at compile time - warn users. fix FIXME in openscad.pro 2012-07-13 03:40:07 +02:00
Marius Kintel 3085bcc65c port to new value class after merge 2012-07-10 21:52:38 -04:00
Marius Kintel 5e47342406 Merge branch 'master' into value
Conflicts:
	src/linearextrude.cc
2012-07-10 21:42:59 -04:00
Marius Kintel deaeafea8d coding style 2012-07-07 16:30:04 -04:00
Marius Kintel 0d619e5ac1 Merge branch 'master' into linear_extrude_argument 2012-07-07 16:02:51 -04:00
Marius Kintel 694382bba9 Merge branch 'master' into value
Conflicts:
	src/parsersettings.cc
2012-07-05 09:41:15 -04:00
don bright cc9fd5b33e Add link to Wikibooks manual for 'not 2-manifold' error on export. 2012-07-01 17:07:39 +02:00
Marius Kintel 54067c635d Fixed normalization bug: node limit wasn't checked properly and some cases triggered exponential expansion of nodes during normalization. Fixes #127 2012-07-01 02:08:45 +02:00
Marius Kintel 22c5f37424 Search for libraries from a list of paths. Preparations for issue #125 2012-06-24 16:29:28 +02:00
Marius Kintel 0e6b800155 Output filenames relative to document path when exporting .csg files from the command-line. Fixes #128 2012-06-23 23:05:46 +02:00
Marius Kintel 197a4e4d36 Merge branch 'master' into value 2012-06-04 11:34:27 +02:00
Marius Kintel 9698d1d2fb Don't prefix filenames which are already absolute with document path. Fixed #123 2012-06-04 11:23:37 +02:00
Marius Kintel 2836f0c372 Merge branch 'master' into caliston1 2012-06-04 07:48:42 +02:00
don bright a2902a527a fix glview to work with QT versions less than 4.7 2012-06-02 18:29:50 +02:00
don bright bf5eac6880 tweaks, add more documentation, fix opencsg.h bug 2012-05-29 01:50:31 +02:00
Don Bright aa8aee623a fix crash bug 2012-05-28 16:30:19 -05:00
Don Bright 352af3eab0 removed debugging 2012-05-28 14:33:20 -05:00
Don Bright e63218f2de remove debugging 2012-05-28 14:33:05 -05:00
Don Bright e1e2fac61b enable linear_extrude to use first unnamed parameter as height, if number 2012-05-28 14:32:24 -05:00
Don Bright f4d9383d29 cleanup unneeded #include, documentation 2012-05-28 12:05:35 -05: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 3217bba6cb Merge branch 'master' into value 2012-05-09 13:25:47 -04:00
Marius Kintel dc82399ce2 cosmetics 2012-05-02 11:56:39 -04:00
Marius Kintel b4d467ceda Moved examplesdir to mainwin 2012-05-02 11:55:24 -04:00
Marius Kintel 52a4607f32 Ported away from Qt 2012-05-02 11:54:27 -04:00
Marius Kintel c0d5a9bb30 Caught a CGAL precondition error which caused OpenSCAD to crash. Reported by Eric Packman 2012-04-26 21:43:57 -04:00
Marius Kintel 42c6751806 cosmetics 2012-04-24 23:55:25 -04:00
Clifford Wolf 6d53b35f5b Actually lock X for middle mouse button panning 2012-04-24 11:50:41 +02:00
Marius Kintel 04947a8905 Merge branch 'master' into value 2012-04-23 22:18:29 -04:00
Clifford Wolf f5a7e92367 Fixed x/y panning (middle mouse button) 2012-04-24 01:33:22 +02:00
Clifford Wolf 940946c060 Fixed rendering of crosshairs position 2012-04-24 01:20:48 +02:00
Clifford Wolf a718c4a59d Some trivial fixes for compiler warnings 2012-04-24 01:17:21 +02:00
Clifford Wolf dde401cadb Fixed build for old OpenCSG versions (no OPENCSG_VERSION_STRING) 2012-04-24 01:16:22 +02:00
Marius Kintel dda5195130 Align tesselation of cylinders and rotate_extrude. Fixes #108 2012-04-22 19:35:15 -04:00
Marius Kintel cab12ccb86 Merge branch 'master' into value 2012-04-04 01:47:55 +02:00
Marius Kintel 2c2731598a Missing NULL check on some normalization corner cases. Fixes #95 2012-04-04 01:46:50 +02:00
Marius Kintel d755dd61de Killed some warnings 2012-04-04 01:45:38 +02:00
Marius Kintel 3b375d8c11 Merge branch 'master' into value 2012-03-31 23:22:41 +02:00
Marius Kintel a13b9009c6 Implemented vector and matrix multiplication 2012-03-31 23:22:07 +02:00
Marius Kintel c869c6e6b2 Remove superfluous debug output. Fixes #103 2012-03-29 02:04:47 +02:00
Marius Kintel 3019295737 Less debug output 2012-03-28 03:53:09 +02: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
Marius Kintel f8228a61d0 fixed crash bug introduced in previous commit 2012-02-25 06:01:29 +01:00
Marius Kintel 6a9b8a56c1 Fix for missing GLU include by chrysn 2012-02-22 14:00:10 +01:00
Marius Kintel 70d9332902 bugfix: include dependency trackng didn't work for top-level includes. Reported by Gordon Wrigley 2012-02-22 13:50:38 +01: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 03bbd55c93 Fixed recently introduced bug: Don't clear console unless something is being compiled 2012-02-19 11:40:33 +01:00
Marius Kintel bddf392281 Bugfix: Unknown cmd-line options caused a crash. Reported by nop head. 2012-02-19 11:17:24 +01:00
Marius Kintel 6652ede2c2 nan vs. -nan fix to make inf-tests work under Linux 2012-02-18 18:37:26 +01:00
Marius Kintel 6038c8d6b1 Merge branch 'master' of github.com:openscad/openscad 2012-02-18 14:47:14 +01:00
Marius Kintel 5870c462d6 Reenable output in the OpenSCAD console 2012-02-18 14:48:11 +01:00
Marius Kintel 3300d3f85d Kill warnings 2012-02-18 14:47:08 +01:00
Marius Kintel 9d7446de46 minor fixes: Don't copy input vectors, fixed a leak of a Value object + some cosmetics 2012-02-18 13:44:24 +01:00
Marius Kintel 4f8c89ecf0 Merge branch 'search_function' of https://github.com/clothbot/openscad into clothbot-search_function 2012-02-18 12:51:51 +01:00
Marius Kintel 4b54876b7a Merge branch 'master' into modulecache 2012-02-17 23:08:29 +01:00
Marius Kintel 2316127e62 Handle include dependencies 2012-02-17 23:05:36 +01:00
Marius Kintel f71e9cf792 missing include boost/version.hpp 2012-02-17 21:08:55 +01:00
Marius Kintel 6845399e49 Print info about module cache size 2012-02-15 12:36:13 +01:00
Andrew Plumb 505e808067 Added search function
Search for characters, strings and integers in a lookup table and
return the index (or indices) for matches.
2012-02-14 23:04:40 -05:00
Andrew Plumb 5d6a259a8b Added vector math support.
Added vector dot-product, matrix*vec, vec*matrix and matrix*matrix
support.
2012-02-14 21:22:48 -05:00
Marius Kintel 7b9b798fdc Started on sanitizing compile handling in mainwindow 2012-02-15 01:32:38 +01:00
Marius Kintel abcd702a68 Minor clarification, cleanup file reading 2012-02-15 01:32:38 +01:00
Marius Kintel accb71b546 Simplify file reading 2012-02-15 01:32:37 +01:00
Marius Kintel 06ad8b5150 Reenable console output 2012-02-15 01:32:37 +01:00
Marius Kintel eaeec7aa9a Comment out some debug info to let tests pass 2012-02-15 01:32:37 +01:00
Marius Kintel 061c157547 Recursively handle dependencies after parsing 2012-02-15 01:32:37 +01:00
Marius Kintel caa6272fe8 Don't try to handle non-existing use'd libraries 2012-02-15 01:32:37 +01:00
Marius Kintel b9d218e137 Initial implementation of ModuleCache and dependency tracking of used modules 2012-02-15 01:32:37 +01:00
Marius Kintel 44ff853990 Renamed OpenGL Info to Library Info and added version info of other libraries there 2012-02-15 01:26:38 +01:00
Marius Kintel 68a10954cf Merge branch 'clothbot-master' 2012-02-15 00:53:13 +01:00
Marius Kintel 8a5f6a4abd Minor unsigned fixes 2012-02-15 00:13:07 +01:00
Marius Kintel 25f6593484 Fix bug including files from within an included file inside a folder. Reported by nop head. 2012-02-14 21:01:51 +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
Marius Kintel f61c9c9fbc Merge branch 'master' of https://github.com/clothbot/openscad into clothbot-master
Conflicts:
	scripts/macosx-build-dependencies.sh
2012-02-14 01:33:44 +01: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 a83fda0c3d Fixes #87 - don't mix positional and non-positional parameters with boost::format 2012-02-09 00:48:41 +01:00
Andrew Plumb c6807d4c57 Bugs ID'd by Qt Creator & setup for Mac OS X.
- Removing user-dependency in dep-build path.
- QT Creator complains about entries in Preferences.ui
- File opescad.pro.user by QT Creator on Mac OS X 10.7.
2012-02-06 09:12:15 -05:00
Marius Kintel e725437a5a Use unsigned int for count 2012-02-04 14:38:42 +01:00
Marius Kintel c2c67f2eac Added debug function for exporting a PolySet to STL 2012-02-03 23:06:16 +01: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 1ce1b88249 bugfix: Nested use and included of files inside libraries was broken. Fixes #78 2012-02-02 23:11:54 +01:00
Marius Kintel 2def247b1b Minor refactor: use set/get_librarydir() to access global variable 2012-02-02 22:50:51 +01:00
Marius Kintel 5056de8d1c bugfix: scad files without a newline as the last character could leave a commented out line open, shadowing command-line parameters. Fixes #76 2012-01-31 22:00:00 +01:00
Don Bright fcd0629a12 Merge branch 'master' of github.com:openscad/openscad 2012-01-29 08:33:52 -06:00
Don Bright 85fbe5073e signed int -> unsigned int, fix for loop warnings 2012-01-29 08:33:01 -06:00
Marius Kintel e6222d9520 Merge pull request #74 from openscad/orthofix
fix ortho projection bug rept by nop head + Triffid Hunter
2012-01-29 06:00:14 -08:00
Don Bright e342fa734a fix ortho projection bug rept by nop head + Triffid Hunter 2012-01-29 07:24:36 -06:00
Marius Kintel 65181c9ad6 Windows compile fix. Fixes #73 2012-01-29 13:20:40 +01:00
Marius Kintel 14e4f3bb46 Fixed bug reported by Pasca Andrei: Normalizations resulting in an empty tree caused a crash 2012-01-27 11:12:00 +01:00
Marius Kintel ca41285391 Reinstated progress support for OpenCSG evaluation 2012-01-25 23:35:25 +01:00
Marius Kintel 43f48ef942 Removed overly verbose 'reduce polygons' messages 2012-01-25 23:34:43 +01:00
Marius Kintel 4cbdbf9827 Ported remaining color handling away from Qt 2012-01-25 21:13:03 +01:00
Marius Kintel 1ffcaae04d Use system-gl.h instead of qgl.h 2012-01-25 21:11:35 +01:00
Marius Kintel d8ee4bdb2f bugfix: Saved fontsize wasn't actually being used 2012-01-25 17:19:09 +01:00
Marius Kintel e305954e27 Fixed recently introduced crash bug when using the % and # operator, reported by Triffid Hunter 2012-01-25 17:04:07 +01:00
Marius Kintel eff1f7f8c9 Ported printutils away from Qt 2012-01-25 03:11:12 +01:00
Marius Kintel 16c05eb533 Temporarily removed progress output from file exporting to remove Qt dependency. When reinstating this, use another mechanism 2012-01-25 02:59:02 +01:00
Marius Kintel 67fe0adb90 Ported color handling away from Qt 2012-01-25 02:48:47 +01:00
Marius Kintel 222d0d16e3 Fixed nasty bug reported by Pasca Andrei - if the underlying cache in Tree gets resized during the execution of this method, the reference ceases to be valid and causes arbitrary nastyness 2012-01-25 00:03:27 +01:00
Marius Kintel 6eaacd6d62 Added note about reference usage being unsafe due to potential vector resize 2012-01-25 00:02:06 +01:00
Marius Kintel e93a23fdb8 Make CSG normalization limit follow the configured CSG limit 2012-01-18 23:49:27 +01:00
Marius Kintel 1cfc8c68a2 Open files which can be binary in binary mode. Hopefully solves problem reading binary STL files reported by nop head 2012-01-15 18:53:32 +01:00
Marius Kintel b975f1a3ca bugfix: Default parameter to complete uses current part upon entering main(), not current path when calling 2012-01-15 04:56:38 +01:00
Marius Kintel 01c23788d7 bugfix: Handle empty filename parameter to OpenSCAD exe 2012-01-15 02:47:32 +01:00
Marius Kintel 232f51a2bc Merge branch 'master' into boost_backport 2012-01-15 01:48:14 +01:00
Don Bright 864c39f5fb fix boosty.h docs / layout. chg boost CMake minver back to 1.35.0 2012-01-14 14:14:26 -06:00
Marius Kintel 2217eff627 Added OPENSCAD_COMMIT define to show which git commit a binary actually is built from in the about box. Pass -c to release_common.sh to turn this on. Please use this for development builds, see publish-macosx.sh for how development vs. release is handled 2012-01-14 17:37:34 +01:00
don bright dd87128bac fix bug on boost >1.46. trim copyright notice 2012-01-14 13:49:29 +01:00
don bright 92914d6060 add boosty.h file 2012-01-14 05:10:01 +01:00
donb 65a1c9cf6c add boosty.h for compatability with boost <1.44 2012-01-14 05:02:15 +01:00
Marius Kintel 10701f7158 Added absolute path tests to include and use tests, fixed bug using absolute paths in use and include 2012-01-14 03:25:09 +01:00
Marius Kintel 26c9514b70 Fixed recently introduced problem with zoom not working if axes are turned off. Reported by nop head. 2012-01-14 02:20:13 +01:00
Marius Kintel 9267b15bd7 Added experimental support for forcing OpenCSG to use the Goldfeather algorithm 2012-01-14 01:22:46 +01:00
Marius Kintel de4d1e4b85 bugfix: Make lighting work the same way as in earlier versions. Bug reported by nop head. 2012-01-11 22:54:07 +01:00
Marius Kintel 54fa85501a bugfix: Opening absolute filenames from the command-line broke after porting to boost filesystem. Fixes #63 2012-01-11 01:14:58 +01:00
Marius Kintel 5c999479a3 Added GUI for cache size adjustment 2012-01-10 00:55:46 +01:00
Marius Kintel 22b98cd052 Updated cache handling to keep the root node and issue a warning if it didn't fit into the cache. Better debug output 2012-01-10 00:01:50 +01:00
Marius Kintel c513ad9a28 Another assert to make sure we've cleanup up correctly after a traversal 2012-01-10 00:01:50 +01:00
Marius Kintel 9d428bf515 Compile fix 2012-01-10 00:01:50 +01: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 c469587239 Windows compile fix: Convert away from wchar. prefix conditions with cond_ to not pollute the global namespace with generic symbols 2012-01-09 16:51:38 +01:00
Marius Kintel d4af7fb04e Merge pull request #61 from openscad/fixpathbug
prevent crash: make path absolute so that it has a parent to cwd to
2012-01-08 18:59:52 -08:00
don bright 1920eb1842 prevent crash: make path absolute so that it has a parent to cwd to 2012-01-08 18:54:04 -08:00
Marius Kintel 23f6b0623c Merge branch 'master' into threading
Conflicts:
	RELEASE_NOTES
2012-01-09 03:29:24 +01:00
Marius Kintel 19ea0f0427 Don't use native() to extract strings from boost::filesystem::path() since that will use wchar under Windows 2012-01-09 03:06:44 +01:00
Marius Kintel ad338d3e46 Another try at fixing double-to-text conversion for testing 2012-01-09 01:44:01 +01:00
Marius Kintel 3c18145b13 Merge branch 'master' into boost_filesystem 2012-01-08 19:14:30 +01:00
Marius Kintel c08f3afbbb bugfix: Infinite loop in deg2rad/rad2deg when giving it an inf number, e.g. 1/0. Reported by Triffid Hunter. 2012-01-08 18:31:09 +01:00
Marius Kintel e271e958dc Force test output to fixed notation, otherwise the clamping will give wrong results for output in scientific notation 2012-01-08 18:30:22 +01:00
Marius Kintel 1ff3616965 Drop possibly corrupt polyhedron after a minkowski error 2012-01-08 04:42:24 +01:00
Don Bright a7bb2229dc Use Qt's fontfind algorithm for default, so that QFontComboBox works properly 2012-01-04 19:53:46 -06:00
Marius Kintel 52dfffd97b Merge branch 'master' into threading
Conflicts:
	RELEASE_NOTES
2012-01-04 23:29:08 +01:00
Marius Kintel 11fb1f71da Additional fixes after merging with master 2012-01-04 23:28:16 +01:00
Marius Kintel fdce8d15fc Merge branch 'master' into boost_filesystem
Conflicts:
	boost.pri
	src/lexer.l
	tests/CMakeLists.txt
2012-01-04 23:07:32 +01:00
Marius Kintel ba8aa515d1 Disabled the old include syntax; i.e. without the include keyword 2012-01-04 19:03:33 +01:00
Marius Kintel 7337f86c96 minor fix: version and vendor output was mixed up in the info string 2012-01-04 18:40:58 +01:00
Marius Kintel 761eb4f8af Another unit normal update from Xyne: Defer conversion to double until we've performed the division 2012-01-04 18:40:33 +01:00
Marius Kintel 9856607d27 Merge pull request #54 from openscad/parserfix
fix crash bug rpt by nop head - 'use <x.scad>' when x.scad doesnt exist
2012-01-04 09:05:30 -08:00
Don Bright cc147f9612 remove debug code 2012-01-04 15:47:00 +01:00
Don Bright f5a42696d2 added likely names of monospace fonts for mac, linux, and win 2012-01-04 15:47:00 +01:00
Don Bright 101fa843c9 make default font monospace per bug rep by brad pitcher 2012-01-04 15:47:00 +01:00
Marius Kintel 47c51d128a Based on a patch from Xyne, this should be a slightly less verbose way of safely calculating normals. Note that CGAL does have a unit_normal() function, but since the Gmpq kernel doesn't support sqrt(), this cannot be used. 2012-01-03 21:55:44 +01:00
Marius Kintel ef7ab1c275 Small clarification of Don's Windows parser crash fix 2012-01-03 20:35:14 +01:00
Don Bright c765f5162f fix crash bug rpt by nop head - 'use <x.scad>' when x.scad doesnt exist 2012-01-01 21:30:39 -06:00
Marius Kintel 211095d661 Since QFont style hints won't work on X11, we force the font to fixed pitch if the family isn't set 2011-12-29 15:24:38 +01:00
Marius Kintel 3487d31055 Don't inherit QTextEdit's default font when choosing font family 2011-12-29 14:28:38 +01:00
Marius Kintel 575f3c4d6d Revert "Plug CGAL-3.6 exception crash reported by Don". This check wasn't effective as no code actually threw an exception.
This reverts commit 1fbe453cae.
2011-12-29 13:52:02 +01:00
Marius Kintel 1fbe453cae Plug CGAL-3.6 exception crash reported by Don 2011-12-29 00:46:27 +01:00
Marius Kintel 2799c8e990 Enable OpenCSG as default for capable OpenGL 1.x contexts as this appears to be the normal situation 2011-12-28 21:32:56 +01:00
Marius Kintel e14a9e2d28 Merge branch 'master' into color-priority 2011-12-28 17:10:25 +01:00
Marius Kintel bd2662a858 Change axis labels back to black 2011-12-28 14:57:07 +01:00
Marius Kintel bac92dbd0e Merge branch 'master' into color-priority 2011-12-27 14:46:10 +01:00
Marius Kintel 27983e001b bugfix: Fix assertion fail trying to export a non-2D file to dxf 2011-12-27 03:44:48 +01:00
Marius Kintel bc3454f369 Refactored normalization into a separate class, hard-limited normalization to stop at 5000 nodes to keep from normalizing 'forever' 2011-12-26 19:15:51 +01:00
Marius Kintel 0be212e75d Merge branch 'master' into threading 2011-12-26 16:38:11 +01:00
Marius Kintel e502fab71d Merge branch 'master' into color-priority
Conflicts:
	openscad.pro
2011-12-26 16:37:45 +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 4ff2d1af44 Some light refactoring attempts, didn't get very far.. 2011-12-26 16:34:47 +01:00
Marius Kintel f0817a1c16 bugfix: Reinstated normal length sanity check since at least once case slipped through; testdata/scad/misc/normal-nan.scad 2011-12-26 13:22:43 +01:00
Marius Kintel 0d72f5a2d5 Updated documentation 2011-12-26 12:00:15 +01:00
Marius Kintel 686781d57f Minor doc clarification 2011-12-26 11:47:02 +01:00
Marius Kintel c4bffdaf37 Color overriding now works. The outermost color will win if multiple colors are specified for the same object 2011-12-26 00:38:03 +01:00
Marius Kintel 63050a31b8 fixed recently introduced locking bug 2011-12-25 23:16:45 +01:00
Marius Kintel 7c48b345b1 Perform CGAL evaluation in a separate thread. First steps towards better GUI responsiveness and parallelization 2011-12-25 23:00:30 +01:00
Marius Kintel 3e64e63b01 bugfix: Fixes flickering animation, reported by Don Bright 2011-12-25 17:29:36 +01:00
Marius Kintel 312a25f270 Removed Qt dependency from parser_init() 2011-12-25 15:09:52 +01:00
Marius Kintel d71ec2a3db Removed unused include 2011-12-25 15:08:42 +01:00
Marius Kintel 0dff9f4fa5 Removed last traces of Qt 2011-12-25 15:06:38 +01:00
Marius Kintel 8f3a0d4dce Added FIXME for potential beautification 2011-12-25 14:23:24 +01:00
Marius Kintel 541d170ae3 Removed unused include 2011-12-25 14:22:55 +01:00
Marius Kintel c9d08ae246 Ported QString replace to boost::regex 2011-12-25 14:22:42 +01:00
Marius Kintel 9293b591c7 Ported currentdir handling from Qt to boost filesystem 2011-12-25 00:22:03 +01:00
Marius Kintel a5ea98c4a4 Ported parser code from QFile to boost filesystem 2011-12-24 23:27:44 +01:00
Marius Kintel bafbc89aa0 Ported lexer code from QFile to boost filesystem 2011-12-24 23:08:38 +01:00
Marius Kintel 51fada9a58 Merge branch 'master' into boost_filesystem 2011-12-24 22:04:31 +01:00
Marius Kintel 0ab51d2d23 Extracted librarydir initialization to separate function 2011-12-24 22:02:37 +01:00
Don Bright 3572251a91 commit Marius' linalg.cc 2011-12-24 07:50:24 -06:00
Marius Kintel dc4bc15925 Ported binary STL file reader away from Qt 2011-12-23 22:01:19 +01:00
Marius Kintel d6efe5cbcb Merge branch 'master' into boost_filesystem
Conflicts:
	tests/CMakeLists.txt
2011-12-23 21:14:12 +01:00
Marius Kintel 9fa18d5392 Fixed CSG regression reported by Ed Nisley; bounding boxes are now transformed correctly 2011-12-23 14:33:40 +01:00
Marius Kintel 8d5be2c524 Implemented CSG tree pruning - this should significantly improve performance of difficult models in OpenCSG preview mode 2011-12-22 04:12:15 +01:00
Marius Kintel 91d9d9c4b5 Added note about tree pruning 2011-12-21 22:47:00 +01:00
Marius Kintel 51c28e8a5b fix for normal fix: would fail in some extreme cases (e.g. if there are
components with very different orders of magnitude, as may happen when floating point errors fail to produce a 0)
2011-12-21 22:20:27 +01:00
Marius Kintel 3e419ce318 bugfix: Sometimes, the CSG normalization created extremely large trees. Rewrote the algorithm based on the original Goldfeather paper. Fixes #44 2011-12-21 21:48:01 +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 8d10aa2982 bugfix: surface() modules with center=true wasn't exactly centered in the XY plane 2011-12-21 17:43:01 +01:00
Marius Kintel 8c31bac6c7 Patch to fix not-unitized normal vectors due to floating point calculations. Patch by Xyne. 2011-12-21 17:06:13 +01:00
Marius Kintel 81e3eb4102 Minor Eigen namespace update 2011-12-19 19:49:52 +01:00
Marius Kintel 32a888c873 Merge branch 'master' of https://github.com/donbright/openscad into donbright-master 2011-12-19 19:42:13 +01:00
Marius Kintel 1d2c59184c Changed the default value of to 2 to avoid breaking existing scripts which assume a certain default tesselation behavior 2011-12-19 16:55:01 +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 87ce149df2 Merge branch 'master' into boost_filesystem
Conflicts:
	boost.pri
	tests/CMakeLists.txt
2011-12-19 15:41:11 +01:00
Don Bright c2d94835b0 translate old style viewport mouse drag into Eigen math (see T. Hunter bug rpt) 2011-12-18 15:55:12 -06:00
Don Bright 541db676ee make view rotation work like 2011.06 release. (per Triffid Hunter bug rpt) 2011-12-18 13:17:24 -06:00
Don Bright fb28bc8576 initialize variables in glview.cc 2011-12-18 13:04:26 -06:00
Don Bright 1a01aff200 fix zoomed-in panning (per Triffid Hunter bug report) 2011-12-18 13:03:12 -06:00
don bright 21c4bbe7d4 fix windows MSVC build, fix testing.txt to reflect win32 build 2011-12-14 02:36:37 -06:00
Marius Kintel 51c5789516 Added note about GL deprecation 2011-12-13 01:50:36 +01:00
Marius Kintel 3f6a2f0fbb Improved sphere tesselation for low resolution spheres 2011-12-13 01:24:53 +01:00
Marius Kintel 4251775d3b bugfix: Make include also search librarydir 2011-12-12 21:53:21 +01:00
Marius Kintel e58ffa958b bugfix: Default font size was set to 0 - will now be 12 2011-12-12 01:13:17 +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 832edd8c30 Merge pull request #38 from donbright/cakebaby
Cakebaby
2011-12-11 14:46:24 -08: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 647fdf5f98 bugfix: forgot to initialize openglbox 2011-12-09 17:56:56 +01:00
don bright a4a64e7c26 Merge remote-tracking branch 'upstream/master' into cakebaby 2011-12-09 10:49:55 -06:00
don bright 51f24b998b MSVC compile fix 2011-12-09 09:47:13 -06:00
Marius Kintel ccb15d52b9 Added pixelformat info to OpenGL info 2011-12-09 13:17:35 +01:00
Marius Kintel f577f91d25 Better warnings and GL info related to OpenCSG capabilities and OpenGL 1.x 2011-12-09 03:43:06 +01:00
Marius Kintel 679b8d05c8 bugfix: 2D hull() now works with for loops. Thanks to nophead to reasserting this bug. 2011-12-07 05:21:11 +01:00
Marius Kintel 33a2b0e502 Ported away more of the STL parser from Qt 2011-12-06 22:35:03 +01:00
Marius Kintel d9d584ff10 Started on porting import() away from Qt 2011-12-06 04:10:32 +01:00
Marius Kintel ae30a79784 Ported from QFileInfo to boost::filesystem 2011-12-06 04:09:39 +01:00
Marius Kintel 0d6b87dd0e Ported surface parser away from Qt 2011-12-06 04:08:32 +01:00
Marius Kintel 02112071d4 Removed unused Qt include 2011-12-06 04:07:58 +01:00