Andrej730
8cfd6b1754
Unify doc-strings (remove type/rtype)
...
As this information is already provided in type hints and we don't need to maintain it in two places.
2025-06-30 18:55:14 +05:00
Andrej730
4f77c41bd5
calculate_unit_scale - small optimization
2025-06-24 19:08:42 +05:00
Andrej730
fcaeb920ec
typing
2025-06-24 19:08:40 +05:00
Ryan Schultz
f3c86d7fcc
added a few to ifc_classes_suggestions.json
2025-06-21 08:08:50 -05:00
Andrej730
9282ccabb3
typing
2025-06-17 18:41:18 +05:00
Andrej730
176c5cc0fb
typing
2025-06-13 19:33:29 +05:00
Andrej
b4bc7ec371
remove_deep2 optimization for cases when the same entity is referenced by multiple other in the subgraph #6784
2025-06-10 18:54:37 +05:00
Andrej
1fecd77121
Fix a typo
2025-06-10 18:54:37 +05:00
Andrej
a37d46ca3d
typing
2025-06-10 18:54:33 +05:00
Andrej
02d359d0e6
Fix Ruff UP035 (also deprecated annotation symbols)
2025-06-09 18:03:19 +05:00
Andrej
7d4176d105
Fix Ruff UP006 (deprecated annotation symbols)
2025-06-09 18:03:18 +05:00
Andrej
87265d052b
typing
2025-06-05 19:05:27 +05:00
Andrej
a614fac71a
typing
2025-06-04 19:04:31 +05:00
Andrej
59b17fc593
ifcopenshell_wrapper.pyi
2025-05-30 18:13:17 +05:00
Andrej
48f62c0b5b
ifcopenshell_wrapper.pyi - update from the latest build
...
I guess previously I used some of my local builds, so some symbols were missing.
2025-05-29 19:14:43 +05:00
Andrej
5fc549453c
validate_stub - add wrappers constants
2025-05-29 19:14:43 +05:00
Andrej
bd5f5a30b3
validate_stub - also skip object
2025-05-29 19:14:43 +05:00
Andrej
0663c5130a
typing
2025-05-29 19:14:42 +05:00
Andrej
7cde9629f8
Fix Ruff UP034 (extraneous-parentheses)
...
https://docs.astral.sh/ruff/rules/extraneous-parentheses/
2025-05-28 18:24:13 +05:00
Andrej
3976b77ee1
Fix Ruff UP033 (lru-cache-with-maxsize-none)
...
https://docs.astral.sh/ruff/rules/lru-cache-with-maxsize-none/
2025-05-28 18:24:12 +05:00
Andrej
3c4105cbc5
Fix Ruff UP011 (lru-cache-without-parameters)
...
https://docs.astral.sh/ruff/rules/lru-cache-without-parameters/
2025-05-28 18:24:11 +05:00
Andrej
6dbf86382f
Fix Ruff UP018 (native-literals)
...
https://docs.astral.sh/ruff/rules/native-literals/
2025-05-28 18:24:11 +05:00
Andrej
a8634a561a
ifcopenshell.util.mvd_info - fix breaking Python 3.9 support ( cbe8fc1)
...
due to `|` operator used in annotations instead of `Union`
2025-05-28 18:24:10 +05:00
Andrej
a16b8fa376
Fill ifcopenshell_wrapper.pyi with symbols #6684
...
As described in #6744 partial stub wrapper is completely replacing the type information from the wrapper, so having partial stub is making things worse than they were before.
This commit is adding all available symbols from the wrapper to the stub and allows to gradually include type information to the stub.
It also adds a safe net to ensure stub and wrapper won't go out of sync.
2025-05-28 18:24:10 +05:00
Andrej
1c1bf56893
typing
2025-05-28 18:24:10 +05:00
Dion Moult
a929ab0c4f
Big bSDD overhaul for properties and classifications. See description.
...
* bSDD now supports a couple more args when querying the API.
* Fetching properties via the classification UI has been removed
* The bSDD dictionary selector has been merged into the classification
source dropdown
* The bSDD dictionary selector merged into the property set name
dropdown
* You can now search for properties in the bSDD directly when adding
properties
* You can browse properties via groups or classifications (based on
assigned classifications)
* You can browse properties via keyword (with some limitations due to
the API)
* You can selectively choose which properties you then want to add.
Only basic support right now.
2025-05-28 20:51:08 +10:00
Andrej730
718254fe5e
Fix regression parsing iso duration with floats ( d1b1b08) #6715
2025-05-21 12:16:07 +05:00
Dion Moult
67016d6f90
See #2999 . Reimplement basic creation of structural items.
2025-05-19 17:36:12 +10:00
Andrej730
68d967c2e5
pyproject.toml - enableTypeIgnoreComments=false
2025-05-16 19:43:41 +05:00
Andrej730
16f9f91561
util.doc - statically type json structures
2025-05-14 19:40:45 +05:00
Andrej730
b91b1401f4
util.get_aggregate - make it more readable ( 5597095)
2025-05-13 17:44:42 +05:00
Andrej730
3d225beafd
Add notes on Tekla accommodations ( 7c3870595)
2025-05-13 16:59:12 +05:00
Dion Moult
7c38705958
Accommodate invalid missing mapped representations and items coming from Tekla (2023)
2025-05-13 13:09:37 +10:00
Thomas Krijnen
ec13294430
python39 compatibility
2025-05-08 08:37:41 +02:00
Andrej730
b0f2785e99
black .
2025-05-06 11:11:07 +05:00
Thomas Krijnen
c6c852c7f6
NB: fix get_cartesiantransformationoperator3d()
2025-05-05 21:47:57 +02: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
Andrej730
c7a29d5604
Fix invalid IfcGrid cartesian points ( 774a770)
...
They were saved as 4d coordinates, not 2d.
2025-04-30 19:36:22 +05:00
Andrej730
5c4f157624
readable_ifc_duration - add doc-string and note
2025-04-21 19:00:25 +05:00
Andrej730
476604202a
typing
2025-04-21 19:00:24 +05:00
Dion Moult
426f1b91f2
See #2783 . Don't show 0 durations for clarity.
2025-04-21 22:59:14 +10:00
Dion Moult
d1b1b08174
See #2783 . Duration parsing no longer uses isodate to remain faithful to formatting.
2025-04-21 22:39:23 +10:00
Andrej730
f8ad05cb54
Use isodate to parse iso durations #2783
...
Related #6585
Co-Authored-By: sboddy <12862430+sboddy@users.noreply.github.com >
2025-04-21 12:45:40 +05:00
Andrej730
ff90396bcf
typing
2025-04-18 19:25:46 +05:00
Andrej730
b59e5b076d
get_pset, get_psets - don't fail on ifc2x3 profile psets and partially handle ifc2x3 material psets #6538
2025-04-14 18:59:47 +05:00
Andrej730
a3c5c0ce43
Fix typo in 64f51d7
2025-03-26 18:49:21 +05:00
Dion Moult
58c7976a5e
See #1227 . Fix regression where new wall system didn't preserve existing dimensions when regenerating geometry for an object that previously didn't have a layerset
2025-03-23 23:55:15 +11:00
Dion Moult
963ba5fc30
See #6404 . See #1227 . Create axis context if it does not exist for walls.
2025-03-21 16:45:29 +11:00
Dion Moult
8e1e0aec79
Fix #6404 . See #1227 . Fix IFC2X3 wall creation with new wall engine.
2025-03-21 16:30:56 +11:00