aothms
822fa91f4d
Work on a C++ representation of the parsed EXPRESS schema
2015-08-13 14:28:50 +02:00
Thomas Krijnen
78f4d7d592
Fix build with Boost 1.58.0. Patch by stinkfist0. Thanks.
2015-07-09 13:23:40 +00:00
Thomas Krijnen
48676a733f
Rework SWIG python binding not to rely on polymorhpic functions. Use hand-written typemaps that map vectors to tuples and iterables to vectors. Add support for multidimensional aggregates in Python.
2015-06-17 11:27:02 +00:00
Thomas Krijnen
f8c45b2a99
Fix serialization of binary values
2015-06-17 11:22:43 +00:00
Thomas Krijnen
1ec14118fe
Introduce specific exception for out of range attribute indexing
2015-06-17 11:04:28 +00:00
Thomas Krijnen
381f711103
Update string representation of ArgumentTypeToString
2015-06-16 14:47:03 +00:00
Thomas Krijnen
4f60c7d48c
Provide concrete C++ implementations for all multidimensional aggregate types in IFC4
2015-06-16 12:58:07 +00:00
Thomas Krijnen
f70b37137d
Emit an error message rather than exception for GlobalId parsing inconsistencies to accomodate files with invalid GlobalIds.
2015-06-04 14:33:13 +00:00
Thomas Krijnen
5a994ebe28
vc9 compatibility
2015-05-26 12:56:00 +00:00
Thomas Krijnen
ffc008228d
gcc compatibility
2015-05-26 12:55:00 +00:00
Thomas Krijnen
3d6b330366
Reintroduce binary type in express parser
2015-05-21 12:53:17 +00:00
Thomas Krijnen
7390faa654
Adapt XML serializer for changes in IFC4 decomposition and property set types
2015-05-21 12:06:38 +00:00
Thomas Krijnen
9bf9f82b3b
Format obj and dae output predictably based on rfc notation of GlobalId. As discussed in https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/cbb0c8ca/
2015-05-13 14:30:21 +00:00
Thomas Krijnen
53f625346f
Fix compilation with gcc
2015-04-07 19:26:01 +00:00
Thomas Krijnen
955190b517
Add support for reading and writing BINARY attributes. Rename members of the IfcUtil::ArgumentType enumeration.
2015-04-07 15:06:56 +00:00
Thomas Krijnen
0a0f44b674
Reduce link time for MSVC release builds. Patch by ch0kee.
2015-03-22 19:52:29 +00:00
Thomas Krijnen
9f9a0ea3dc
Update generated code for IFC4
2015-03-20 20:58:05 +00:00
Thomas Krijnen
a28b5517e8
Fix compilation with gcc. Thanks Ivano.
2015-03-13 10:40:31 +00:00
Thomas Krijnen
df1805921b
Create writable argument copies when duplicating entity instances
2015-03-12 17:54:52 +00:00
Thomas Krijnen
9bbbc6e7d9
Extend Python's dir() function on entity instances with attribute and inverse attribute names of entities
2015-02-27 13:41:33 +00:00
Thomas Krijnen
dada40735b
#include <xlocale.h> header on OS X
2015-02-20 22:02:22 +00:00
Thomas Krijnen
8f853ac5af
Initialize the attributes of IfcLateBoundEntity to NULL upon construction.
...
Make sure IfcWritableEntity does not return null pointers, since getArgumentCount() is unreliable for instances being created from keyword arguments in Python.
2015-02-19 20:20:47 +00:00
Thomas Krijnen
b0ccf69870
Don't add inverse references to the entity being added itself.
2015-02-19 14:42:19 +00:00
Thomas Krijnen
2a7135f347
Correct visibility of IfcBaseType methods. Thanks Ian.
2015-02-19 10:53:41 +00:00
Thomas Krijnen
a57a305e9d
Correctly cast writable enumeration attributes to string, as reported in: https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/53b70ea0
2015-02-17 22:14:09 +00:00
Thomas Krijnen
e6ff1126ad
Catch errors in entity traversal while adding a new entity. In particular for late bound instances having unset attributes.
2015-02-17 22:02:06 +00:00
Thomas Krijnen
6c8a60db6e
Fixes related to r312: gcc refuses to erase a const_iterator
2015-02-17 21:24:18 +00:00
Thomas Krijnen
b5c9de8d64
Changes related to r312
2015-02-17 20:36:23 +00:00
Thomas Krijnen
5fe4cfab63
More fixes related to locales
2015-02-17 20:23:21 +00:00
Thomas Krijnen
b3e5264aa9
WARNING: more function renames
2015-02-17 20:07:09 +00:00
Thomas Krijnen
e3d5b6220d
Rename AddEntity to addEntity
2015-02-17 19:55:27 +00:00
Thomas Krijnen
ee87466521
1) Implement a breadth-first traversal of forward references 2) implement entity instance deletion from a file 3) recursively copy entity instances to another file
2015-02-17 19:48:41 +00:00
Thomas Krijnen
c597404dfe
Increase the severity of the 'different schema' message
2015-02-06 12:59:36 +00:00
Thomas Krijnen
47b9ed4482
Add a cast in templated list conversion
2015-02-06 12:58:59 +00:00
Thomas Krijnen
0124034803
Fix typo in locale code
2015-02-04 15:31:01 +00:00
Thomas Krijnen
2da6f5428d
Make real number parsing and serializing locale-independent, as suggested by Ian Clevy.
2015-02-03 13:53:36 +00:00
Thomas Krijnen
b789839e4a
Fix errors in serialization
2015-01-25 10:50:12 +00:00
Thomas Krijnen
6c7c88d7a5
Python wrapper: enable iteration over all entities, get attribute optionality information
2015-01-21 17:01:22 +00:00
Thomas Krijnen
7b17c2dccd
Make header values writable
2015-01-16 16:26:40 +00:00
Thomas Krijnen
e57f20f5f2
Small compilation fix
2015-01-14 09:39:52 +00:00
Thomas Krijnen
8581fed39b
Track inverse attributes more correctly
...
Rename Size() to size() on EntityList and friends
2015-01-10 22:13:52 +00:00
Thomas Krijnen
1c757c351b
Fix compilation of IfcOpenHouse, move IfcGeom::tesselate back directly in IfcGeom namespace
2015-01-06 10:19:24 +00:00
Thomas Krijnen
f3c26c372d
Parse the spf header and check schema_identifiers against compiled schema
2015-01-05 17:46:23 +00:00
Thomas Krijnen
4d5d749255
Merge developments from the python_wrapper branch into master
2015-01-05 14:11:42 +00:00
Thomas Krijnen
2a403e240d
*** See: https://sourceforge.net/p/ifcopenshell/discussion/1782718/thread/6bd0f843/ ***
...
Massive refactor of the IfcGeomObjects module, which is now the IfcGeom::Iterator class.
2014-12-19 12:14:36 +00:00
Thomas Krijnen
3f285ea639
Prevent another exception being thrown upon adding entity instances to a file, as reported by ch0kee
2014-11-27 09:22:58 +00:00
Thomas Krijnen
7f8d84a1af
Fix omitted return statement in previous commit
2014-11-17 15:32:00 +00:00
Thomas Krijnen
96ce5f6b25
Don't compare smart pointers to zero, but convert to bool
2014-11-04 12:02:28 +00:00
Thomas Krijnen
120de2f601
Remove erroneous qualifier
2014-11-02 18:50:12 +00:00
Thomas Krijnen
872dd4e831
Rewrite IfcFile::AddEntity() not to rely on exceptions, as suggested by ch0kee.
2014-11-02 18:36:51 +00:00