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