Commit Graph

227 Commits (30fd8b250af29c16dc25013b4aceb91cf51a7432)

Author SHA1 Message Date
Marius Kintel 1633fb0344 Refactoring of CGAL functionality to allow for forward-declaration of CGAL classes in header files, reducing coupling and thus compilation times 2011-09-01 04:09:06 +02:00
Marius Kintel b3dd77d252 Merge branch 'master' into visitor
Conflicts:
	src/mainwin.cc
2011-08-27 21:42:50 +02:00
Marius Kintel 94d3424d63 bugfix: Automatic reload and compile got broken during the rendering refactoring 2011-08-27 21:11:27 +02:00
Marius Kintel 08c83d306e Merge branch 'master' into visitor
Conflicts:
	src/primitives.cc
2011-08-25 17:46:21 +02:00
Marius Kintel 0823b1f3c0 bugfix: Flush caches now also flushes the use'd module cache 2011-08-25 16:54:02 +02:00
Marius Kintel cfea2f8934 bugfix: background and highlight was broken after refactoring 2011-08-06 01:08:11 +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
Don Bright 00d7bb401c fix broken build on systems that use case sensitive filenames (linux) 2011-08-03 17:45:40 -05: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 4e60d215de removed unused member variable 'enableOpenCSG' 2011-07-30 21:42:31 +02:00
Marius Kintel 887f7eb99f Refactored GL rendering inspired by Giles' work on RapCad. The ultimate goal is to become independent of Qt 2011-07-30 21:29:40 +02:00
Marius Kintel 7a58f11986 Merge branch 'cgal-renderer-refactor' of gitorious.org:openscad/openscad into cgal-renderer-refactor 2011-07-23 22:02:55 +02:00
Marius Kintel 21ac6c05d1 merged in recent changes in master 2011-07-11 03:54:20 +02:00
Marius Kintel 65a5df8810 missing newline 2011-07-11 01:55:29 +02:00
Don Bright d64a03d2a9 cleanup 2011-07-05 18:48:07 -05:00
Don Bright 517abac2ee move functions to more logical location 2011-07-05 18:43:05 -05:00
Don Bright 06f11240b4 Save the setting of 'Design/Auto Reload and Recompile' between sessions 2011-07-05 18:07:26 -05:00
Don Bright 61b41fcb8e Save the window position and sizes of the edit & console windows between sessions. 2011-07-03 22:42:55 +01:00
Don Bright 31a06d1c3b Save view settings between sessions.
A list of the saved settings is as follows:
* Show Edges
* Show Axes
* Show Crosshairs
* View Orthogonal / View Perspective
* Hide Console
* Hide Editor
2011-07-03 21:57:07 +01:00
Marius Kintel 367dcbcb50 Added Export as Image 2011-06-05 20:05:55 +02:00
Marius Kintel d24b3cc84d Ported recent changes to master into the visitor branch 2011-04-12 20:35:44 +02:00
Giles Bathgate ae8cda73a8 Removed the remaining crud. 2011-04-09 06:47:24 +01:00
Giles Bathgate 1d510e0870 Removed a huge whitespace preceeding a lines of code. 2011-04-09 06:46:22 +01:00
Giles Bathgate e02eb751b1 Move setColor into Polyhedron class which is a much more sensible place. 2011-04-09 06:42:00 +01:00
Giles Bathgate 40d7f26628 Remove all the crud from CGAL_Renderer.h, and subclass of the differences. 2011-04-09 06:30:25 +01:00
Marius Kintel 633343c47e Merge branch 'visitor' into pi-constant 2011-02-09 23:44:36 +01:00
Giles Bathgate 744367fda1 Proof of concept implementation of builtin constants. 2011-02-05 16:37:30 +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 a7bf88a9cb removed unused unistd.h 2011-01-18 00:53:52 +01:00
meta 1b44be5a63 rename to fix a name clash with inner scope 2011-01-17 22:38:18 +01:00
meta e63576ce1a replace stat() with QFileInfo 2011-01-17 22:34:46 +01:00
Marius Kintel f06b7025ba Suggest filename based on document name on export 2010-12-26 00:22:45 +01:00
Marius Kintel 10b411f2a1 Cosmetics, temporarily disabled preferences in GLView 2010-11-07 22:54:08 -05:00
Marius Kintel 93c00f9efe Allow render_polyset() to return NULL 2010-11-07 17:50:57 -05:00
Marius Kintel eed6e69530 Quick&Dirty locking of GUI to avoid running two compilations in parallel 2010-11-06 11:03:01 -04: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
Marius Kintel e994adddb1 cosmetics 2010-11-01 04:29:55 +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 819ae6d181 bugfix: Matrix initialization state was wrong, made CSGTermRenderer fail 2010-10-31 02:42:39 +02:00
Marius Kintel fdcbb4cf97 Improved CSGTermRenderer to a testable point 2010-10-31 02:42:39 +02:00
Marius Kintel c868525c67 cosmetics 2010-10-31 02:42:38 +02:00
Marius Kintel 8cda80e8f3 assert fix (forgot to set root node on the tree) + mix. coding style fixes + a note to remember that this is the visitor refactor version 2010-10-31 02:42:38 +02:00
Marius Kintel 75d18642cc Compile fixes after working in test-code/ 2010-10-31 02:42:38 +02:00
Marius Kintel e46f9dab2f export to stream for stdout/stderr output support 2010-10-31 02:42:37 +02:00
Marius Kintel f36e618a6f bugfix: use case sensitive includes 2010-10-31 02:42:35 +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 184d0e041f Initial implementation of CGALRenderer 2010-10-31 02:42:35 +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 6a9653b1db Some fixes by Jestin Stoffel
git-svn-id: http://svn.clifford.at/openscad/trunk@566 b57f626f-c46c-0410-a088-ec61d464b74c
2010-07-02 20:59:16 +00:00
kintel dfe808e7d4 fixed check-before-reload, also for the Reload (F3) function
git-svn-id: http://svn.clifford.at/openscad/trunk@556 b57f626f-c46c-0410-a088-ec61d464b74c
2010-06-12 23:30:42 +00:00
clifford 3e8e5fa925 Clifford Wolf:
Added "Design -> Automatic Reload and Compile"
	(for use with external editor)



git-svn-id: http://svn.clifford.at/openscad/trunk@540 b57f626f-c46c-0410-a088-ec61d464b74c
2010-05-09 13:27:05 +00:00
clifford b934cc156f Clifford Wolf:
Ask user when reloading with local midifications



git-svn-id: http://svn.clifford.at/openscad/trunk@536 b57f626f-c46c-0410-a088-ec61d464b74c
2010-05-08 11:38:30 +00:00
clifford a79168164b Clifford Wolf:
Fixed TabStopWidth (at least for QTextEdit)



git-svn-id: http://svn.clifford.at/openscad/trunk@523 b57f626f-c46c-0410-a088-ec61d464b74c
2010-04-18 11:47:19 +00:00
kintel 5f02e63693 MDI fix and Mac environment for qcodeedit
git-svn-id: http://svn.clifford.at/openscad/trunk@506 b57f626f-c46c-0410-a088-ec61d464b74c
2010-04-03 03:05:33 +00:00
kintel 8184de7c13 Syntax highlighting now works.
git-svn-id: http://svn.clifford.at/openscad/trunk@505 b57f626f-c46c-0410-a088-ec61d464b74c
2010-04-03 03:05:28 +00:00
kintel 7496c57586 Fixed modified signal for qcodeedit
git-svn-id: http://svn.clifford.at/openscad/trunk@504 b57f626f-c46c-0410-a088-ec61d464b74c
2010-04-03 03:05:24 +00:00
kintel 9f58225754 Changes that were supposed to be commited in last commit
git-svn-id: http://svn.clifford.at/openscad/trunk@501 b57f626f-c46c-0410-a088-ec61d464b74c
2010-04-03 03:05:14 +00:00
kintel 7095f825eb Removed MainWindow::current_win - made this a tiny bit better, decoupled MainWindow from printutils
git-svn-id: http://svn.clifford.at/openscad/trunk@467 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-28 20:54:55 +00:00
kintel 2cddf760bf Fixed compile error when OpenCSG is disabled
git-svn-id: http://svn.clifford.at/openscad/trunk@464 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-28 18:17:23 +00:00
kintel f3d16e23b9 Multiple non-MDI assumptions were made, setting CWD and assuming it didn't change. Fix required to pass more context to nodes (functions). It's not totally clean, but it's a start. Fixes bugs: opening multiple files simultaneously only loaded the first file, refreshing an scad file referencing an external file failed if another scad file was opened in the meantime.
git-svn-id: http://svn.clifford.at/openscad/trunk@451 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-23 20:47:54 +00:00
clifford 0b0aa7b9b3 Clifford Wolf:
Added Help -> OpenSCAD Homepage
	Another RELEASE_NOTES typo fix



git-svn-id: http://svn.clifford.at/openscad/trunk@445 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-20 10:20:18 +00:00
clifford 05ce9d89b5 Clifford Wolf:
Improved handling of examplesdir on linux
	Updated scripts/release-linux.sh



git-svn-id: http://svn.clifford.at/openscad/trunk@441 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-19 09:51:35 +00:00
kintel 594f22e26e Delay showing the progress bar with one second
git-svn-id: http://svn.clifford.at/openscad/trunk@438 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-12 15:43:56 +00:00
kintel 12ad2eda30 Extracted OpenCSG code to separate files
git-svn-id: http://svn.clifford.at/openscad/trunk@434 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-10 16:43:43 +00:00
kintel 8038ee0406 Moved progress display to status bar. Disabled by default but can be enabled in .pro file with CONFIG += progresswidget. Please test and enable as default if it looks good on all platforms.
git-svn-id: http://svn.clifford.at/openscad/trunk@432 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-10 15:13:12 +00:00
kintel c7b9a49c15 Cleaned up progress handling, implemented cancel function. Needs more testing
git-svn-id: http://svn.clifford.at/openscad/trunk@420 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-09 13:48:09 +00:00
clifford 3b2824de58 Clifford Wolf:
Switched to OpenCSG-1.3.0 for MDI support
	(this version does not leak GL off screen buffers ;-)



git-svn-id: http://svn.clifford.at/openscad/trunk@416 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-09 06:06:37 +00:00
kintel b1fc6c2d6d Look for includes in <openscaddir>/libraries/
git-svn-id: http://svn.clifford.at/openscad/trunk@414 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-03 04:15:34 +00:00
clifford 51ae248373 Clifford Wolf:
Fixed building without CGAL



git-svn-id: http://svn.clifford.at/openscad/trunk@406 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-01 10:01:05 +00:00
clifford 07bc7dbecd Clifford Wolf:
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-01 09:34:18 +00:00
kintel 76f0b1119f bugfix: In MDI mode, the parser must know which file it compiles, not just the contents, for inluded files to be found. Made the parser Qt-dependant - oh well...
git-svn-id: http://svn.clifford.at/openscad/trunk@395 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-01 03:11:29 +00:00
kintel 8f759f3f84 bugfix: this caused save to sometimes save to the wring directory in mdi mode
git-svn-id: http://svn.clifford.at/openscad/trunk@382 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 23:25:43 +00:00
kintel 191dc4857c header file reorg
git-svn-id: http://svn.clifford.at/openscad/trunk@365 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 04:26:05 +00:00
kintel 6940d17181 reorganized file structure layout. more to follow...
git-svn-id: http://svn.clifford.at/openscad/trunk@364 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 04:17:05 +00:00