summaryrefslogtreecommitdiff
path: root/src/import.cc
AgeCommit message (Collapse)Author
2013-12-15delete 'new polyset' on failure of creationDon Bright
2013-12-14stub of face tessellation function for polysetDon Bright
2013-12-14FIXME leaking polyset by altering functions signaturesDon Bright
2013-07-28In this commit i'll change just the Qt project, c and header files to get ↵Ivo Noorhoff
OpenSCAD building and working on Windows 7 compiled with Visual Studio Express 2012. A couple of things needed changing : * MSVC 2012 has no trunc or round, i have added those to mathc99 and included mathc99 to the files needed. The implementations were taken from boost. * MSVC 2012 stl does now allow accessing out of bounds elements in std:vector as an array, so "chain->objects[i]" will fail in "OpenCSGRenderer::renderCSGChain". Whatever the platform, it will me a good idea to change this code to something that does not trigger undefined behavior. * MSVC 2012 cannot figure out the types involved in "if (file_size == 80 + 4 + 50*facenum) {", i have added a cast to force it to "if (file_size == static_cast<std::streamoff>(80 + 4 + 50*facenum)) {". The next round would be regression testing and debugging and possibly more changes to the OpenSCAD main code. The round after that would be changing the .pro and .pri files to create correct visual studio solutions.
2013-05-26merge branch to get windows "library path" working. tweak build system,Don Bright
eliminate several compiler warnings.
2013-05-10Added support for 2D scaling in linear_extrudeMarius Kintel
2013-05-10Initial code to support scaling of linear_extrude(). Part of Issue #273Marius Kintel
2013-05-09Forgot to actually add most files in previous commit (#217)Marius Kintel
2013-04-26Re-added donb's patch for handling deprecated parameters to importMarius Kintel
2013-04-26Refactoring: Split out FileModule from Module, Added LocalScope renamed some ↵Marius Kintel
confusing 'evaluate' methods to 'instantiate', added FileContext (not yet used)
2013-04-20accept 'layername' and 'filename' in import, WARNING deprecationdon bright
2013-04-19Added bugfix hints. Related to #116Marius Kintel
2013-04-18Merge branch 'master' into issue116Marius Kintel
2013-04-18Cleaned up argument list handling, related to #116Marius Kintel
2013-04-09Disable context debug outputMarius Kintel
2013-04-09Refactored context handling into using separate Module contexts and Eval ↵Marius Kintel
contexts. This allows for recursive module calls, and cascading children. I believe this fixes issue #116
2013-04-05I think this should fix issue #217Marius Kintel
2013-03-28Print warning in import() if OFF file is not foundMarius Kintel
2013-03-04fix build broken on older gccdon bright
2013-03-04older gcc doesn't know about __builtin_bswap32don bright
2013-02-02replace packed struct with union. remove some extraneous/debug codedon bright
2013-02-02enable import STL to work on big-endian computersdon bright
2013-01-28Support reading binary STLs which happen to start with the string 'solid'. ↵Marius Kintel
Fixes #258
2012-10-09Catch exceptions as const references. Related to #204Marius Kintel
2012-08-18more eigen3 fixes.don bright
1. finish converting 'using namespace boost::filsystem' to 'namespace fs = boost::filesystem'. 2. initial version of changes to CMakelists.txt for the regression test
2012-08-18initial rework to enable eigen3 per issue #174.don bright
1. enable eigen3 in qmake build system 2. convert Transform3d and cwise() per the eigen2->eigen3 porting faq online 3. get rid of 'using namespace boost::filesystem' as it conflicts with eigen3
2012-07-15fix bugs in builddon bright
2012-07-15Add timestamp to cache key for modules importing files. Fixes #141Marius Kintel
2012-03-27Rewrote the Value class to be based on boost::variant - this should reduce ↵Marius Kintel
memory footprint and improve performance
2012-01-25Ported printutils away from QtMarius Kintel
2012-01-15Open files which can be binary in binary mode. Hopefully solves problem ↵Marius Kintel
reading binary STL files reported by nop head
2012-01-14add boosty.h for compatability with boost <1.44donb
2012-01-09Don't use native() to extract strings from boost::filesystem::path() since ↵Marius Kintel
that will use wchar under Windows
2011-12-25Removed last traces of QtMarius Kintel
2011-12-23Ported binary STL file reader away from QtMarius Kintel
2011-12-06Ported away more of the STL parser from QtMarius Kintel
2011-12-06Started on porting import() away from QtMarius Kintel
2011-11-07Correctly escape special characters in dumped strings. Fixes ↵Marius Kintel
dumptest_import_dxf-tests
2011-11-07Don't dump timestamp of included files, this wasn't really used anywhereMarius Kintel
2011-11-06Slight refactoring of builtin function and module handlingMarius Kintel
2011-11-03Bugfix: import module toString() output was not parsableMarius Kintel
2011-09-30Removed unused variableMarius Kintel
2011-09-09Initial attempt of cleaning up polyset handling. PolySet no longer keeps a ↵Marius Kintel
refcount, basic cache mechanism is in place, instantiating polysets are controlled through PolySetEvaluator
2011-09-07Updated tests to reflect recently changed import behaviorMarius Kintel
2011-09-07Implemented OFF import, refactored PolySet/Polyhedron conversionMarius Kintel
2011-09-06Added support for an untyped import() module, deprecating the explicitly ↵Marius Kintel
typed import_*() ones
2011-09-03Extracted handle_dep() to separate source fileMarius Kintel
2011-09-03De-Qt-ification continues, almost done with DxfDataMarius Kintel
2011-09-03Some cleanup of the Context classMarius Kintel
2011-09-03Ported a bunch of stuff from Qt to STLMarius Kintel
contact: Jan Huwald // Impressum