Commit Graph

43 Commits (16c05eb533f94799a80f5b98c01e952e1cfe337b)

Author SHA1 Message Date
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
donb 65a1c9cf6c add boosty.h for compatability with boost <1.44 2012-01-14 05:02:15 +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 0dff9f4fa5 Removed last traces of Qt 2011-12-25 15:06:38 +01:00
Marius Kintel dc4bc15925 Ported binary STL file reader away from Qt 2011-12-23 22:01:19 +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 f73b8289f6 Correctly escape special characters in dumped strings. Fixes dumptest_import_dxf-tests 2011-11-07 03:59:40 +01:00
Marius Kintel aa94d42d2c Don't dump timestamp of included files, this wasn't really used anywhere 2011-11-07 02:37:44 +01:00
Marius Kintel 45161d4356 Slight refactoring of builtin function and module handling 2011-11-06 18:37:12 +01:00
Marius Kintel a8db9fa3dd Bugfix: import module toString() output was not parsable 2011-11-03 19:38:57 +01:00
Marius Kintel cdbf45eea0 Removed unused variable 2011-09-30 19:04:08 +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 e9068e5adf Updated tests to reflect recently changed import behavior 2011-09-07 22:27:29 +02:00
Marius Kintel 27a99044d8 Implemented OFF import, refactored PolySet/Polyhedron conversion 2011-09-07 22:04:59 +02:00
Marius Kintel f40f7ef072 Added support for an untyped import() module, deprecating the explicitly typed import_*() ones 2011-09-07 00:47:55 +02:00
Marius Kintel 821c7df1fe Extracted handle_dep() to separate source file 2011-09-04 00:03:16 +02:00
Marius Kintel 6096f2734a De-Qt-ification continues, almost done with DxfData 2011-09-03 22:44:41 +02:00
Marius Kintel f58c0a3eb5 Some cleanup of the Context class 2011-09-03 18:51:29 +02:00
Marius Kintel 6f632190a0 Ported a bunch of stuff from Qt to STL 2011-09-03 06:10:36 +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 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 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
meta 929e4340e2 __attribute__ ((packed)) equivalent for MSVC 2011-01-19 19:37:42 +01: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 5327dfad30 prefix instance variables with this-> 2010-10-31 02:42:36 +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 b12deeff5b dump() bugfix: and were mixed up in the output
git-svn-id: http://svn.clifford.at/openscad/trunk@458 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-28 03:21:53 +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 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 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