Thomas Krijnen
b08346cc64
#1054 initialize memory in case of too few attribute values
2020-10-30 09:59:01 +01:00
Thomas Krijnen
373fd417eb
#1022
2020-09-30 10:24:50 +02:00
fluider
e3831be16e
Warning iterator invalidation in removeEntity
2020-09-30 10:22:12 +02:00
Thomas Krijnen
95a29dec7b
cpp changes for latebound schema manipulation from Python
2020-09-08 14:37:50 +02:00
Thomas Krijnen
45c16e5318
Option for realtime logging with -vv
2020-08-16 13:37:58 +02:00
Thomas Krijnen
2a7c406412
#916
2020-07-23 10:49:45 +02:00
Thomas Krijnen
f92d1708f2
#924
2020-07-21 11:35:56 +02:00
Thomas Krijnen
fdfe1097c4
Minor changes after #916
2020-07-18 09:59:07 +02:00
Stefan Fink
ea71a1f8a7
IfcSiPrefix.cpp changes for MSVC 2013
...
IfcHierarchyHelper.h:176,185 changes in addRelatedObject about throw exception
exception comes from
ifcparse/IfcHierarchyHelper.h line 176 get_parent_of_relation(rel)
if (get_parent_of_relation(rel) == relating_object) {
ifcparse/IfcHierarchyHelper.h line 47
IfcUtil::IfcBaseClass* get_parent_of_relation(IfcUtil::IfcBaseClass* t)
ifcparse/IfcSchema.h
ptrdiff_t attribute_index(const std::string& attr_name) const {
ptrdiff_t index = -1;
-1 return but getArgument(..) Parameter is unsigned int
in the methode -1 is ca. 42123423423423 and throw IfcParse::IfcAttributeOutOfRangeException
we catch this exception and all works as expected and before in 0.5-rc1
2020-07-18 09:55:31 +02:00
Thomas Krijnen
a62fd01725
Move late bound inverse access to IfcBaseEntity
2020-07-11 23:24:49 +02:00
Thomas Krijnen
803cc66abb
#873
2020-07-11 11:55:00 +02:00
Thomas Krijnen
f01ae4a45b
#842 IFC4X3 schema and some other schema init cruft
2020-06-15 12:48:30 +02:00
Thomas Krijnen
c8cca08dfa
TODO note
2020-06-07 16:44:42 +02:00
kukalaka
eba631d245
Add missing IFC_PARSE_API
2020-05-20 16:15:08 +02:00
Thomas Krijnen
9c5c05202f
more defensive XML parsing
2020-05-05 13:08:09 +02:00
Thomas Krijnen
c9c2f76960
parse_xml can return nullptr
2020-05-05 13:07:55 +02:00
Thomas Krijnen
3e55297eb0
Propagate hierarchy helper template archument to IfcFile schema name
2020-03-11 16:19:13 +01:00
Thomas Krijnen
56e3353879
Add inverse attribute availability to schema definition macros
2020-02-10 16:36:38 +01:00
Adrien Scho
05a5c3c3f9
fix : #734 - No XML serializer registered for IFC4X1
2019-12-16 13:43:52 +01:00
stephassoria
afaa34ffc2
IfcOpenShell v0.6.0 as subrepo
2019-11-26 10:09:16 +01:00
Thomas Krijnen
c59c74aeed
Confitionally select num_bytes, see #699
2019-11-05 17:23:13 +01:00
Thomas Krijnen
ed013db011
throw exception on invalid nested aggregates
2019-11-01 16:11:46 +01:00
Thomas Krijnen
b3711ad8cb
thread_local define for clang
2019-08-09 10:05:49 +02:00
Thomas Krijnen
f32e034963
Merge pull request #639 from aothms/multithreaded
...
Multithreaded
2019-08-02 15:37:00 +02:00
Thomas Krijnen
4ec9ab52f1
Remove IfcFileWithSchema
2019-07-10 16:34:57 +02:00
Thomas Krijnen
3ebca0516e
Implement multi_threaded implementation in Iterator
2019-07-03 12:10:27 +02:00
Thomas Krijnen
839b5a2699
Minor cleanups, 4x1 and 4x2 geom lib, granular schema macros
2019-06-26 13:50:46 +02:00
Andrej Tibaut
636b2aafdf
1) Added support for IFC4x1 (see issue https://github.com/IfcOpenShell/IfcOpenShell/issues/504#issuecomment-505051675 ).
...
2) New build parameters (flags) introduced for use of IFC4x1 and IFC4x2: USE_IFC4X2 (for use of IfcBridge), USE_IFC4X1 (for use of IfcAlignment)
This explains new parameters (flags):
#ifdef USE_IFC4X2
#include "../ifcparse/Ifc4x2enum.h"
#elif USE_IFC4X1
#include "../ifcparse/Ifc4x1enum.h"
#elif USE_IFC4
#include "../ifcparse/Ifc4enum.h"
#else
#include "../ifcparse/Ifc2x3enum.h"
#endif
3) Added comment block "This file is part of IfcOpenShell. ..." at the beggining of the Ifc4x2* files.
2019-06-26 12:44:26 +02:00
Mathias Artus
a9a6cfabca
Added support for Ifc 4x2
2019-06-19 11:31:11 +02:00
Thomas Krijnen
68068cb816
Fix merge error: bring back assignment to Logger::max_severity
2019-06-04 17:24:59 +02:00
Thomas Krijnen
8015ea217e
codecvt fallback for g++4.8
2019-05-22 22:13:12 +02:00
Thomas Krijnen
26621cbcd5
Update version string to 0.6.0b0
2019-05-21 13:33:59 +02:00
Thomas Krijnen
0b2bd5d0e8
Eliminate ICU dependency
2019-05-10 11:59:00 +02:00
Thomas Krijnen
2a026e93d5
Fix errors after merge
2019-03-08 17:22:05 +01:00
Thomas Krijnen
ac4be43170
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcconvert/IfcConvert.cpp
# src/ifcgeom/IfcGeomRenderStyles.cpp
# src/ifcgeom/IfcGeomWires.cpp
# src/ifcparse/IfcLogger.cpp
# src/ifcparse/IfcLogger.h
# src/ifcparse/IfcParse.cpp
# src/ifcparse/IfcUtil.cpp
# src/serializers/ColladaSerializer.cpp
# src/serializers/schema_dependent/XmlSerializer.cpp
2019-03-08 11:40:16 +01:00
Thomas Krijnen
dbc3c5ebef
Mark abstract entities in latebound schema
2019-02-20 15:35:19 +01:00
Thomas Krijnen
d583bf5284
Populate entity subtypes, get schema info in Python
2019-02-15 13:09:54 +01:00
Thomas Krijnen
5db91e52da
Fixes to logger templates
2019-02-12 14:55:03 +01:00
Thomas Krijnen
a4c2aa8f42
IfcConvert Windows unicode support ( #258 )
2019-02-08 15:18:55 +01:00
Thomas Krijnen
4df526f023
Merge branch 'master' into v0.6.0
2019-02-06 15:39:43 +01:00
Thomas Krijnen
6bac067488
Keep behaviour of returned null pointers for now
2019-02-06 13:33:38 +01:00
Stinkfist0
000d11daab
IfcFile: possibility to mark an entity as modified so that potential cache is invalidated.
2019-02-06 13:30:33 +01:00
Stinkfist0
9211f80625
IfcFile::entitiesByReference: cache loaded references. Profiling shows around 3x speed-up (avg. of first 5000 calls to this function).
2019-02-06 13:30:33 +01:00
Stinkfist0
38f7ccdc20
Optimize IfcFile::entitiesByReference() by reserving capacity for IfcEntityList in advance.
...
Around 18.4 % speed-up (avg. of first 2000 calls) when converting a somewhat large (176 MB) file to XML.
2019-02-06 13:30:33 +01:00
Thomas Krijnen
6a5bfefce9
Merge branch 'master' into v0.6.0
...
# Conflicts:
# src/ifcparse/Ifc4-latebound.cpp
# src/ifcparse/Ifc4.cpp
# src/ifcparse/Ifc4.h
# src/ifcparse/Ifc4enum.h
2019-01-20 14:27:09 +01:00
Thomas Krijnen
ef7eee411b
Update to IFC4Add2TC1
2019-01-20 13:47:12 +01:00
Thomas Krijnen
4380e1d86a
Merge branch 'master' into v0.6.0
2018-12-22 14:06:28 +01:00
Thomas Krijnen
161deeb4e0
Fix warnings and compilation on clang
2018-12-22 14:05:49 +01:00
Thomas Krijnen
bb15446822
Make std::map inheritance private. #512 #517
2018-12-17 10:37:48 +01:00
Thomas Krijnen
27b9689e14
Work-around gcc issue
2018-12-14 12:14:12 +01:00