Commit Graph

81 Commits

Author SHA1 Message Date
Thomas Krijnen aa1ff90241 Remove a duplicated cartesian point from the closed polyline created by the addBox() function as seen in IfcOpenHouse. Thanks Bernd. 2014-06-28 12:39:40 +00:00
Thomas Krijnen d45056f9c5 Increase precision for writing floats 2014-06-11 10:24:11 +00:00
Thomas Krijnen 948d7675f0 - Take better care of inverse cardinalities and respect more CoordinationView agreements in IfcOpenHouse
- Track inverse relationships in an IfcWrite context as well
- Fix for lists of SELECT types
2014-05-05 16:17:28 +00:00
Thomas Krijnen 1b54ba039d - Add support for IFC4 nurbs surfaces (IfcBSplineSurfaceWithKnots and IfcAdvancedFace)
- Remove unnecessary typedefs
2014-05-04 14:42:55 +00:00
Thomas Krijnen bd83259d2b More fixes for parsing files with comments 2014-04-19 09:35:08 +00:00
Thomas Krijnen aebb9469a9 Fixes for parsing files with comments 2014-04-02 15:04:09 +00:00
Thomas Krijnen 80b39c0d22 No longer accept and silently convert invalid REAL tokens to zero 2014-03-22 13:02:21 +00:00
Thomas Krijnen 05c98de100 Add parameterized profile test files and script to generate them 2014-02-23 11:25:35 +00:00
Thomas Krijnen 17f873b486 First stab at a new express parser to have some more luck with Ifc4 2014-02-17 22:13:55 +00:00
Thomas Krijnen 87259c0cab Bump version numbers 2014-01-12 11:03:50 +00:00
Thomas Krijnen 3fa934a056 Fix from https://github.com/yorikvanhavre/IfcOpenShell/commit/1cd23609369d4f6165648a55c39ad268af9cae33 2014-01-01 11:14:39 +00:00
Thomas Krijnen 27962701b9 Use boost::variant for writable arguments in the IFC serializer 2013-08-04 04:49:08 +00:00
Thomas Krijnen 5d4ff0b54a First push of a more all-round geometrical file conversion utility 2013-03-24 10:48:39 +00:00
Thomas Krijnen 24b03330ef Update version numbers 2013-01-01 15:11:04 +00:00
Thomas Krijnen 4f26622e03 Do revert to unknown plane angle unit state after guessing when creating an IfcCompositeCurve 2012-12-31 15:48:04 +00:00
Thomas Krijnen 71b5cd12a8 - Getting ready for Blender 2.65 and Python 3.3.0 with universal Unicode according to PEP 393
- Allow opening of non-latin filenames on Windows, by using the non-standard _wfopen(), meaning that the IfcSpfStream no longer relies on a std::istream but a FILE* descriptor
2012-12-31 11:47:46 +00:00
Thomas Krijnen 578dce4a47 Provide more contextual information in the IFC SPF file header 2012-11-17 15:19:38 +00:00
Thomas Krijnen f1322996f0 Fixed a bug writing IFC files using ICU 2012-11-17 15:18:52 +00:00
Thomas Krijnen 2353c25fb8 - Handle explicit attributes re-declared as derived in a subtype
- Update IfcOpenHouse to import correctly in Autodesk Autocad Architecture 2013
2012-11-10 09:36:34 +00:00
Thomas Krijnen e56281a72e - Correctly format REALs according to ISO 10303-21 instead of C++ std::stream double formatting
- Add the IfcHierarchyHelper to assist in the creation of IFC files
- Add the IfcOpenHouse example for writing topological geometry and tessellated Open Cascade shapes to IFC
2012-11-04 16:26:33 +00:00
Thomas Krijnen e729795da2 Add an option to disable the subtraction of IfcOpeningElements from relating building elements to the IfcGeomObject settings 2012-10-19 08:20:43 +00:00
Thomas Krijnen 8b11a1baf7 Correctly escape apostrophes in strings on write using the IfcCharacterEncoder 2012-10-09 19:54:35 +00:00
Thomas Krijnen 0814c16f06 Fix compilation errors of IfcCharacterEncoder in case ICU is not available 2012-09-16 12:45:44 +00:00
Thomas Krijnen cb6884b48e Encode characters outside the valid range for IFC SPF files and escape backslashes when writing IFC files 2012-09-09 11:55:53 +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 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 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 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 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
Thomas Krijnen 5c71ae6f89 Catch one more IfcException 2012-03-31 09:54:15 +00:00
Thomas Krijnen a9bba39b9d Applied Patch #3509752 by mv2ax
Made the sewing of TopoDS_Shells into a IfcGeomObjects::Setting
Limit the maximum number of faces a shell to be sewed
2012-03-23 17:38:44 +00:00
Thomas Krijnen 4760ad1910 Fix a typo preventing gcc compilation
Increment version string to 0.3.0-rc3
Add version string to IfcObj output
2012-03-19 10:12:56 +00:00
Thomas Krijnen c31bc16dba Try to better my life as a programmer, starting with more comments and documentation 2012-03-17 11:47:31 +00:00