Thomas Krijnen
1641ad0047
#2805 IFC4X3 codegen
2023-09-14 09:21:10 +02:00
Thomas Krijnen
a40e359620
#2805 Pasta errors
2023-09-14 09:14:32 +02:00
Thomas Krijnen
b374454f3a
#2805 template keyword for gcc
2023-09-14 09:14:32 +02:00
Thomas Krijnen
b4ee981134
#2805 Rerun codegen
2023-09-14 09:14:27 +02:00
Thomas Krijnen
5dabcbb944
#2805 Use dynamic cast for generalize() due to virtual inheritance of selects
2023-09-14 09:14:21 +02:00
Thomas Krijnen
39c1face4d
#2805 update hierarchy helper
2023-09-14 09:14:21 +02:00
Thomas Krijnen
6180627acd
#2805 rerun codegen
2023-09-14 09:14:16 +02:00
Thomas Krijnen
1a014046a9
#2805 rerun codegen
2023-09-14 09:14:08 +02:00
Thomas Krijnen
c0abaa36f4
fix syntax error on gcc
2023-09-14 09:14:01 +02:00
Thomas Krijnen
db3a6c8ef7
typename :(
2023-09-14 09:14:01 +02:00
Thomas Krijnen
52421a6398
Fix IfcFile::getInverse<T>()
2023-09-14 09:14:00 +02:00
Thomas Krijnen
063bb0a017
#3139 Capture parsed selected simple type values
2023-09-14 09:14:00 +02:00
Shohei Kunimatsu
1767b09bbc
Fix wrong attribute name usage (ValueComponent -> UnitComponent) in IfcFile::getUnit
2023-09-14 09:14:00 +02:00
aothms
99abc6e0e2
Fix errors on clang
2023-03-31 15:19:39 -04:00
Thomas Krijnen
2c0e791c6e
Rerun codegen
2023-03-29 15:36:07 +02:00
Thomas Krijnen
c32c88b1a0
Merge remote-tracking branch 'origin/v0.7.0' into v0.8.0
2023-03-29 12:55:05 +02:00
Thomas Krijnen
f803a38fbb
Revert "Some warnings"
...
This reverts commit 468d8effc8 .
2023-03-27 21:22:04 +02:00
Thomas Krijnen
468d8effc8
Some warnings
2023-03-27 21:09:25 +02:00
Thomas Krijnen
635f3ca30e
Rerun codegen
2023-03-27 14:05:40 +02:00
Thomas Krijnen
96fbe9e5b6
String pooling and reducing duplication in schema codegen
2023-03-27 14:04:32 +02:00
Thomas Krijnen
c78b2893de
Proceed with merge
2023-03-21 20:15:01 +01:00
Thomas Krijnen
2174fda88d
#2704 keep track of simple types by iden to free later
2023-01-28 14:21:52 +01:00
Thomas Krijnen
631722303f
https://raw.githubusercontent.com/buildingSMART/IFC4.3-html/sep-13-release/IFC/RELEASE/IFC4x3/HTML/IFC4X3_TC1.exp
2022-11-23 13:23:49 +01:00
Thomas Krijnen
25948a608a
Missing parse updates after 4e0a19e
2022-11-21 09:43:13 +01:00
Thomas Krijnen
4e0a19e013
https://raw.githubusercontent.com/buildingSMART/IFC4.3-html/v4.3.1.0/IFC/RELEASE/IFC4x3/HTML/IFC4X3_ADD1.exp
2022-11-20 16:52:46 +01:00
Otso Alho
d005524c4c
catch missing instances one by one. do not throw away whole relation.
2022-11-10 14:18:50 +01:00
Thomas Krijnen
c1aca6ba8c
#2517 Don't free parsed simple types as part of parent entity, but at file destruction
2022-10-20 20:30:48 +02:00
Thomas Krijnen
f012286eda
#2408 ifcopenshell.file.get_inverse(with_attribute_indices)
2022-10-20 13:35:02 +02:00
Thomas Krijnen
8dab1810c7
#2486 #1861 Don't fail on overwriting header values
2022-10-11 10:48:53 +02:00
Thomas Krijnen
64ff046e96
#2482 Use u32string for character encoder, remove CODECVT_BOOST_FALLBACK
2022-10-10 14:19:42 +02:00
Thomas Krijnen
94ba1a121d
#2486 store provenance to file also in simple type instances
2022-10-08 15:16:53 +02:00
Thomas Krijnen
3d82791a99
#1861 update globalid map on attribute change
2022-10-05 13:03:52 +02:00
Thomas Krijnen
f68db3d3be
Fixes after 698c708bf6
2022-10-04 12:38:40 +02:00
Thomas Krijnen
be805a3e96
Fixes after 698c708bf6
2022-10-04 11:14:13 +02:00
Thomas Krijnen
ca5249a179
More resiliance against wrong attribute counts
2022-10-03 14:05:08 +02:00
Thomas Krijnen
698c708bf6
Reduce heap allocations during parse by reusing vector for top level instances
2022-10-03 14:04:42 +02:00
Thomas Krijnen
084151ed4c
Augment invalid entity message with offset in file
2022-10-03 14:03:53 +02:00
Thomas Krijnen
c56c7288e3
Clarify wrong attribute count message
2022-10-03 14:03:04 +02:00
Thomas Krijnen
f5398c77d5
Clarify invalid entity message
2022-10-03 14:02:28 +02:00
Thomas Krijnen
a724b5cb24
Clarify character offset in exception
2022-10-03 14:02:04 +02:00
Thomas Krijnen
dd49c092c6
#2419 remove map erasure from destructor
...
de initialization order can result in map already destroyed when unique_ptr schemas are still being deleted
2022-09-20 11:35:08 +02:00
Thomas Krijnen
b5f4c8218d
#2358 fix header entity parsing in case of too few fields
2022-08-24 11:57:06 +02:00
Thomas Krijnen
28d15a6c9f
Add IFC4x3 ( https://standards.buildingsmart.org/IFC/RELEASE/IFC4_3/annex-a-express.html )
2022-07-17 21:45:07 +02:00
Thomas Krijnen
6026e037fa
Update schema references
2022-07-17 21:13:46 +02:00
Thomas Krijnen
5a636a925b
#2244 file.add() Don't fail on project without unit info
2022-06-21 14:15:59 +02:00
bimworld
bc734c263e
Comment deconstructor IfcFile
2022-06-07 12:14:30 +02:00
Thomas Krijnen
4c854fbb62
Try to do less allocation during parse, favour upper case entity names in spf
2022-06-06 09:59:32 +02:00
Thomas Krijnen
b09ff828de
#2186 rerun codegen
2022-05-16 13:07:40 +02:00
Adrien SCHVALBERG
42448cae4e
Add missing exports for ifcopenshell-python when we build shared libs.
2022-05-09 14:13:47 +02:00
Adrien SCHVALBERG
e5b3455533
Fix memory leak for HeaderEntity instances:
...
the getArgumentCount() call in IfcEntityInstanceData destructor isn't virtually dispatched so it returns 0 instead of correct number of arguments => memory leak
added IfcEntityInstanceData::clearArguments() which clears all arguments and resets the attributes_ field to nullptr
Remove unnecessary copy in IfcEntityInstanceData::setArgument() when argument is created at the call site (no more leak of original argument)
Fix memory leak in IfcFile: delete entities from both byid and entity_file_map
2022-05-08 10:21:46 +02:00