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
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