aothms
bf292cccd0
Precision fixes
2015-11-30 22:59:21 +01:00
aothms
7b82bfb477
Update log messages in parser
2015-10-05 13:08:24 +02:00
aothms
3e00139a87
Add const pointer cast to IfcBaseClass
2015-10-05 13:07:40 +02:00
aothms
94d214808e
Use boost::to_upper() and -::to_upper_copy() for string manipulation throughout codebase
2015-09-13 15:00:21 +02:00
aothms
a58b2ede63
Fixes for unicode handling in Python
2015-09-13 14:43:42 +02:00
aothms
e5c20a009d
Add convenience method for relating objects to types. As suggested by Cadline St2.
2015-09-12 14:27:58 +02:00
aothms
2532ba30e4
Fix addRelatedObject, fix by Cadline St2
2015-09-10 13:58:27 +02:00
aothms
3cba242295
When built without ICU filter characters outside of unencoded range
2015-08-14 22:11:32 +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