Andrej730
3d8115ebc5
ifcopenshell.file: drop workarounds for older builds
...
Introduced in aeed371 and it's been a while.
2026-07-17 21:55:22 +05:00
Andrej730
9e0c6cf524
util.schema: dedupe inline schema resolution logic
2026-07-16 17:28:23 +05:00
Andrej730
1b1da821f1
file.get_inverse: document with_attribute_indices overload
2026-07-14 19:29:34 +05:00
Andrej730
13be6ccd45
Sort imports
2025-12-19 18:53:14 +05:00
Andrej730
aeed371888
ifcopenshell.file - add todo notes for temp workarounds, make workaround more explicit
2025-11-04 19:24:22 +05:00
Thomas Krijnen
459aad54aa
Black
2025-10-26 10:17:49 +01:00
Dion Moult
e5ae19fd34
See #7291 . Temporary workaround whilst segfaults are sorted.
2025-10-26 19:36:41 +11:00
Thomas Krijnen
806aa14bd0
Compatibility for older builds
2025-10-25 21:55:06 +02:00
Thomas Krijnen
80066ba9e7
Different hack for allowing f.header.file_description.file.header.file_description.file
2025-10-25 21:54:42 +02:00
Thomas Krijnen
0494bd9677
Option to bypass storing types when opening model
2025-10-24 12:06:59 +02:00
Thomas Krijnen
92f9d5f506
Writing .ifcxml is not supported #7181
2025-10-02 20:28:17 +02:00
Dion Moult
ceac85ca02
Temporarily revert to old build behaviour since new builds are failing.
2025-09-29 11:00:59 +10:00
Thomas Krijnen
c661bb62ca
Rework header access in exception handling
2025-09-15 12:01:13 +02:00
Thomas Krijnen
6ec12fe7c7
:Revert "Temporary Python 3.9 compatibility"
...
This reverts commit 0aae57620f .
2025-09-11 18:38:07 +02:00
Thomas Krijnen
62295beab2
Run black
2025-09-09 13:26:01 +02:00
Thomas Krijnen
a0b93265c2
Rocksdb storage -- ifcopenshell.file compatibility
2025-09-09 13:25:32 +02:00
Thomas Krijnen
6ac95e1ed3
Access to underlying storage model in python
2025-09-04 16:47:56 +02:00
Thomas Krijnen
f43ddf2cd5
Defer execution of error details
2025-08-31 15:51:34 +02:00
Thomas Krijnen
dfaa8d510c
authorisation -> authorization in header schema for compatibility
2025-08-29 16:08:42 +02:00
Andrej730
53e9837858
fix file_dict typing ( 126accd6a)
2025-08-18 19:46:59 +05:00
Thomas Krijnen
0088f3933f
Keep ruff happy
2025-08-16 14:07:11 +02:00
Thomas Krijnen
126accd6a2
Track ifcopenshell.file creation time for unique iden
2025-08-16 13:33:10 +02:00
Andrej730
176c5cc0fb
typing
2025-06-13 19:33:29 +05:00
Andrej
02d359d0e6
Fix Ruff UP035 (also deprecated annotation symbols)
2025-06-09 18:03:19 +05:00
Andrej
5a211c67eb
black .
2025-06-04 19:04:30 +05:00
Thomas Krijnen
0aae57620f
Temporary Python 3.9 compatibility
2025-06-02 08:42:47 +02:00
Andrej
a42a95adcb
Fix Ruff UP037 (quoted-annotation)
...
https://docs.astral.sh/ruff/rules/quoted-annotation/
2025-05-28 18:24:11 +05:00
Martin15135215
697b034c22
Add annotation for file.header
2025-05-26 13:52:29 +10:00
Andrej730
5a7a368169
ifcopenshell.file.Transaction - add static typing
2025-05-08 15:41:34 +05:00
Andrej730
64df82a76b
ifcopenshell.file - save last failed transaction for introspection
2025-05-07 18:54:57 +05:00
Andrej730
b0f2785e99
black .
2025-05-06 11:11:07 +05:00
Geert Hesselink
d401e4c948
set set/get_description, add view_definitions & tests
2025-05-05 16:18:09 +02:00
Geert Hesselink
cbe8fc1ebd
mvd info to module, add testing, setattr & getattr
2025-05-05 16:18:09 +02:00
Geert Hesselink
9f11568aff
Allow for dots in mvd value
2025-05-05 16:18:09 +02:00
Geert Hesselink
968e193f99
abort string when None, more explicit error handling
2025-05-05 16:18:09 +02:00
Geert Hesselink
2d06a79842
handle emptry description field
2025-05-05 16:18:09 +02:00
Geert Hesselink
808a16ba4a
parsed mvd description in ifcopenshell.file
2025-05-05 16:18:09 +02:00
Andrej730
1f43f7f807
black .
2025-03-17 18:31:57 +05:00
Sayan J. Das
cf3a554b15
Fix #5809 : Add safety check during file.write ( #6292 )
...
Co-authored-by: theseyan <sayanjyotidasworkmail@gmai.com >
2025-03-17 16:17:42 +05:00
Andrej730
331f491d50
typing
2025-02-20 19:12:24 +05:00
Andrej730
17642ca4e9
typing
2025-02-18 18:50:34 +05:00
Dion Moult
3aa4fa580b
Fix regression where you couldn't upgrade schema of IFCs with invalid headers
2025-02-07 12:38:52 +11:00
Andrej730
c0306fc729
typing
2025-01-28 17:22:26 +05:00
Andrej730
e71a220f21
typing
2025-01-27 17:41:30 +05:00
Dion Moult
3582dc43d9
Add tests for PR #5257 (using cache for fetching units)
2025-01-27 14:40:15 +11:00
Dion Moult
4af6c24314
Completely untested refactor of #5257 .
...
Removes dependency of file to util (util should depend on file, not vice
versa). Removes auxiliary method.
2025-01-26 21:11:11 +11:00
Dion Moult
ecd72912aa
Purge constants from PR #5257 .
...
I'm not sure I agree here, considering that types are dynamic based on
schema version.
2025-01-26 19:07:02 +11:00
Raj
124c02897c
Feature faster unit method ---> Main ( #5257 )
...
* feature_faster_unit_method > main: added constants
* feature_faster_unit_method > main: extended `file` class to dynamically save unit information
* feature_faster_unit_method > main: refactored `get_property_unit` method
1. split out case that returns the wrong type (dictionary of units) into its own method
2. cleaned up (but preserved) logic
3. refactored common part of all cases (the method which prioritises unit then value-entity then measure_class)
---------
Co-authored-by: raj-open <raj-open@users.noreply.github.com >
Co-authored-by: Dion Moult <dion@thinkmoult.com >
2025-01-26 19:04:49 +11:00
Andrej730
170b6fc67e
typing
2024-12-23 18:59:55 +05:00
Andrej730
a79c4b1ace
typing
2024-12-20 18:59:22 +05:00