Commit Graph

130 Commits

Author SHA1 Message Date
Yorik van Havre 9c4040345a Merge branch 'master' of https://github.com/aothms/IfcOpenShell 2013-07-22 15:41:10 -03:00
Thomas Krijnen aa4f6c0a7b Merge pull request #1 from yorikvanhavre/master 2013-07-21 14:10:52 -07:00
Yorik van Havre 5471f345d8 Fixed character encoding bug 2013-07-22 15:38:37 -03:00
Yorik van Havre 9679d450fc Fixed string conversion error 2013-07-21 13:41:27 -03:00
Yorik van Havre d8d221dce3 Merge branch 'master' of https://github.com/aothms/IfcOpenShell 2013-07-21 13:31:24 -03:00
Yorik van Havre ed5f879b9f Merge pull request #1 from aothms/master 2012-10-30 04:47:28 -07:00
Thomas Krijnen 3bc3331983 Increase reference count when returning Py_None 2013-07-22 20:06:52 -07:00
Thomas Krijnen 10657416ea Allow optional arguments to be set from Python with None, e.g: ifc_person.set_argument(0, None) 2013-07-20 13:51:06 -07:00
Thomas Krijnen e5abdb7de8 Fix for inline entity instance regression 2013-07-09 09:04:33 -07:00
Thomas Krijnen 7b57c8b5b3 Merge branch 'master' of https://github.com/aothms/IfcOpenShell 2013-07-09 09:01:06 -07:00
Thomas Krijnen 22563f7283 Use a char* instead of a std::string for the std::ofstream constructor 2013-06-21 10:25:05 -07:00
Thomas Krijnen d35e775407 Return empty list when for ifc datatypes not encountered in file 2013-07-09 08:57:09 -07:00
Thomas Krijnen a5684f0996 Correctly take inline entity instances for select types into account in the Python wrapper 2013-06-21 08:49:08 -07:00
Thomas Krijnen 509c34d66a Initial attempt at new python wrapper 2012-10-21 17:54:09 +02:00
Jang Myeongho da616ffd64 - Added getter to IfcFile object
- fixed wrong operator to judge plan angle unit is not exist.
- guessed plane angle unit stay in a file processing.
2012-08-21 07:06:59 +00:00
Thomas Krijnen 0ef6577407 Fix some errors and warnings 2012-08-13 09:17:08 +00:00
Thomas Krijnen 6f1e1c3bad NOTE: From now on Boost is required in order to compile IfcOpenShell
====================================================================

- Use boost::optional for optional IFC arguments
- Use boost::uuid for the creation of GlobalIds
- New IfcGeomObjects setting to force alignment of TopoDS_Face normal to CCW orientation
- Removed static Ifc class, renamed to non-static IfcFile. IfcFile renamed to IfcSpfStream
- Introduced Logger class
- Introduced EntityBuffer class that keeps track of all writable entities created to add them all in once to the IfcFile class
2012-08-11 13:24:08 +00:00
Thomas Krijnen 31daf8dd20 Forget information about plane angle units in previously processed files 2012-07-29 15:26:36 +00:00
Thomas Krijnen 975d0caa0f If no plane angle unit is provided in the IFC file, create composite curves using both radians and degrees and see which 'looks best' (=successfully created and/or closed curve) 2012-07-29 15:16:30 +00:00
Thomas Krijnen 4b2bbc63de Correctly redirect parse status update messages 2012-07-21 21:48:10 +00:00
Thomas Krijnen 04aea46757 Remove BOM in Interface.h
Add include for rand() and srand() in IfcGuidHelper.cpp
Remove dependency on nullptr for older compilers
2012-07-20 12:52:55 +00:00
Thomas Krijnen f6e33313fb Fix a small mistake in the IfcGuidHelper, which still lacks an actual uuid implementation 2012-07-20 00:12:47 +00:00
Thomas Krijnen 3e95e7474b Allow for the initialization of SELCECT data types for writable entities (still no proper type checking though for SELECTs) 2012-07-19 23:51:57 +00:00
Thomas Krijnen e4e8f05980 Update IfcExpressParser to generate writable schema 2012-07-19 23:03:25 +00:00
Thomas Krijnen b4e42025fd Convert all .cpp and .h files to UTF-8 with BOM 2012-07-19 18:26:47 +00:00
Thomas Krijnen cec7117eb5 Added missing files 2012-07-19 13:07:55 +00:00
Thomas Krijnen 6ced646413 IfcParse: get entities by type string 2012-07-19 00:14:01 +00:00
Thomas Krijnen 1d4a999381 Initial draft of writing and modifying IFC files 2012-07-18 19:32:58 +00:00
Thomas Krijnen 95d2cdc4b6 Only allow character decoder compatibility mode if HAVE_ICU is defined since it relies on ICU to be available. 2012-07-18 18:45:34 +00:00
Jang Myeongho 217a7c6599 added break statements. 2012-06-27 15:59:09 +00:00
Jang Myeongho 00de61cbfc fixed wrong assertion. 2012-06-27 11:16:37 +00:00
Jang Myeongho c5c8bbf425 avoid leaks (compatibility_converter) 2012-06-27 07:49:34 +00:00
Jang Myeongho dc4b10ef74 Added IfcCharacterDecoder::compatibility_mode 2012-06-27 07:32:28 +00:00
Jang Myeongho 1aa3a52b72 Added enum 'DEFAULT' to 'IfcCharacterDecoder::ConversionMode': using default converter as system default codepage. 2012-06-27 04:22:51 +00:00
Thomas Krijnen 4975de6d74 Apply patch #3537663 by myueho: https://sourceforge.net/tracker/?func=detail&atid=2204968&aid=3537663&group_id=543113 2012-06-25 15:08:58 +00:00
Tiago Leao 9a54a64311 typos correction. 2012-06-22 13:02:36 +00:00
Tiago Leao eb0b865501 removed unnecessary/undefined function, compilation OK. 2012-06-22 12:49:34 +00:00
Tiago Leao 887ce9f9ef QT Viewer main structure.
CMake: added an entry at main CMake script that makes QTViewer an optional build.
QT Viewer main structure only, libQGLViewer or any 3D functionality can be added to mainWindow as a widget later on.
2012-06-22 12:28:34 +00:00
Thomas Krijnen 0a5ddece8e Use positive vertex indices for Wavefront OBJ files: https://sourceforge.net/projects/ifcopenshell/forums/forum/1782717/topic/5341422 2012-06-13 07:29:22 +00:00
Thomas Krijnen 2137ad2488 Apply patch #3534755 by myueho to use the standard M_PI instead of relying on PI defined in OCC, which recently got removed upstream. 2012-06-13 07:13:31 +00:00
Thomas Krijnen b1adf124c6 Reorder the definition of IfcCircleHollowProfileDef and IfcCircleProfileDef in order for the hollow profiles to get interpreted correctly 2012-06-12 17:03:39 +00:00
Thomas Krijnen a824eb38f1 Append suggestions by myueho to the CMake file: https://sourceforge.net/tracker/?func=detail&atid=2204968&aid=3509752&group_id=543113 2012-06-12 10:36:34 +00:00
Thomas Krijnen 1681d5f1da Applied patch #3509752 (again?) by mv2a to CMake file to correct CMake behaviour using msvc and mingw 2012-06-12 10:21:32 +00:00
Thomas Krijnen 700cc772fb - Add an alternative method to process openings that is potentially faster. Use IfcGeomObjects::FASTER_BOOLEANS to enable.
- Begin working on verbosity levels
2012-06-07 14:38:21 +00:00
Thomas Krijnen 82289bf065 Correctly interpret integer tokens without a leading #. Bug report: https://sourceforge.net/projects/ifcopenshell/forums/forum/1782717/topic/5280357 2012-06-07 11:56:20 +00:00
Thomas Krijnen e3f0a5fafd Prefix IfcUtil::ArgumentType in order to avoid collisions with Windows API defines 2012-06-07 11:42:02 +00:00
Thomas Krijnen ca194ea423 Disable to paging functionality of the parser, IFC files are now always entirely read into memory. 2012-05-26 09:00:30 +00:00
Thomas Krijnen 89a6e7375a Fix a bunch of msvc warnings regarding empty switch statements in the reflection methods 2012-05-16 10:52:49 +00:00
Jochem Berndsen a5107b9182 fix small issue in character decoding 2012-05-04 15:46:29 +00:00
Jochem Berndsen 7732801eb9 Reflection of object properties. 2012-05-04 15:15:12 +00:00