Andrej730
0e5223a30d
stub: add missing arrange_polygon_settings ( 158756e921)
2026-07-16 18:00:55 +05:00
Andrej730
bc41ff78f4
stub: drop abstract_arrangement ( 158756e921)
...
And also gnore delete_same_facet_edge_pairs as it's more of an interanl API.
2026-07-16 18:00:47 +05:00
Andrej730
9123d8c183
stub: add missing entity.inverse_attributes
2026-07-16 17:35:52 +05:00
Andrej730
ffd939508c
ci-lint: run ty-bonsai and ty-ios as separate steps
...
So if one fails, it wouldn't block another.
Noticed by Stephen in d5e890bccd
2026-07-16 17:28:24 +05:00
Andrej730
9213b31235
logger: reuse logger_or_root, dedupe optional-logger-arg pattern
2026-07-16 17:28:24 +05:00
Andrej730
2155e3206f
logger: use Logger* instead of Logger& to propagate signature using swig
...
See the comment in IfcLogger.h explaining this.
2026-07-16 17:28:24 +05:00
Andrej730
9e0c6cf524
util.schema: dedupe inline schema resolution logic
2026-07-16 17:28:23 +05:00
Andrej730
d5dc069b2f
util.schema: fix geometry_classes_introduced_after using wrong IFC4X3 schema
...
It was passing `IFC4X3` directly to `schema_by_name` which is expecting
schema identifier (e.g. IFC4X3_ADD2, not IFC4X3 allowed by `IFC_SCHEMA`
- IFC4X3 is one of the IFC4X3 iterations while it was in development,
not the final one).
Noticed by tests failing:
FAILED
test/util/test_schema.py::TestGeometryClassesIntroducedAfter::test_ifc4x3_to_ifc2x3_is_superset_of_ifc4_to_ifc2x3
- RuntimeError: No schema named IFC4X3
FAILED
test/util/test_schema.py::TestGeometryClassesIntroducedAfter::test_ifc4_to_ifc4x3_is_empty
- RuntimeError: No schema named IFC4X3
2026-07-16 17:28:23 +05:00
Andrej730
821cf7b671
ifcparse: replace std::to_chars to fix mac build ( ee2b357d7)
2026-07-16 11:57:37 +05:00
Andrej730
e01979187a
build-all: fix issue building rocksdb on gcc 15
...
Example error: `error: ‘uint64_t’ has not been declared uint64_t blob_file_number, uint64_t total_blob_count,`
See https://github.com/facebook/rocksdb/issues/13365
bonsai-0.8.6-alpha2607151420
2026-07-15 19:20:17 +05:00
Andrej730
816eba5145
build-all: ensure all patches are present
...
Also changed type to just `list[str]` to keep it simple.
2026-07-15 19:20:17 +05:00
Andrej730
4963bddd06
build-all: fix issue on gcc 15
...
Error was:
```
configure: error: could not find a working compiler, see config.log for details
```
config.log:
```
conftest.c: In function 'f':
conftest.c:12:48: error: too many arguments to function 'g'; expected 0, have 6
12 | for(i=0;i<1;i++){if(e(got,got,9,d[i].n)==0)h();g(i,d[i].src,d[i].n,got,d[i].want,9);if(d[i].n)h();}}
| ^ ~
```
2026-07-15 19:20:17 +05:00
Andrej730
8718db63da
pyproject: flip ty rules to error-by-default, review all new rules added since version bump
2026-07-15 19:20:17 +05:00
Andrej730
c013b9aca7
build-all: drop unused opencollada pr622 patch
...
Last reference to this file was dropped in 7ae685dbf , though the ref was
pointing to `/patches/opencollada/pr622.patch`, so IIUC
`patches/pr622.patch` was never used.
2026-07-15 19:20:17 +05:00
Andrej730
24e454ce0c
build-all: drop unused occt patch
...
Introduced in e21277e80 , reference removed
in 683cadeb7 when occt was bumped to 7.3.0 and switched to git-tag based
download.
2026-07-15 19:20:17 +05:00
Andrej730
cb497b37f7
pyproject: add nix script to ty check
2026-07-15 19:20:17 +05:00
Andrej730
71c6950a59
ifcclash: fix use of undefined clash["position"]
...
It's an artifact from the old hppfcl clasher dropped in 18c38b312
2026-07-15 19:20:17 +05:00
Andrej730
5a8aa0a659
bsdd: raise informative HTTPError
...
Previously we were just passing `.json()` which allowed too many request error slip in to later occur as missing attributes on the dictionaries.
2026-07-15 19:20:17 +05:00
Andrej730
f4526d152f
bsdd: warn about include_class_properties deprecation
...
See https://github.com/buildingSMART/bSDD/issues/149
2026-07-15 19:20:17 +05:00
Andrej730
a7a7edfd27
bsdd: fix test_get_class_relations
...
`classRelations` doesn't exist on `ClassPropertiesContractV1`, probably was just a typo.
2026-07-15 19:20:17 +05:00
Andrej730
6ca8c8ac94
pyproject: add more packages to dev-setup
2026-07-15 19:20:17 +05:00
Andrej730
5273569b08
build-all: fix note about the schemas built by default
2026-07-15 19:20:17 +05:00
Andrej730
78712ead98
misc: more readable poll error for import_quick_favorites
bonsai-0.8.6-alpha2607141457
2026-07-14 19:57:31 +05:00
Andrej730
6efb8a4373
misc: add Blender 5.2 offset for Quick Favorites user_menus
2026-07-14 19:57:31 +05:00
Andrej730
9e25c12b16
surveyor: drop never used dead code
...
Surveyor test was failing because `get_z_rotation` and `set_z_rotation` were not implemented.
The code was added in 230cbe1fd8 , but it was never used.
2026-07-14 19:57:31 +05:00
Andrej730
0968d06780
Deduplicate code by reusing tool.document
2026-07-14 19:57:31 +05:00
Andrej730
3a8619726b
core.drawing: deduplicate code, fix test
...
Core test was trying to access actual ifc data (`ifc.get().by_type("IfcGroup")` and was failing.
2026-07-14 19:57:31 +05:00
Andrej730
1b1da821f1
file.get_inverse: document with_attribute_indices overload
2026-07-14 19:29:34 +05:00
Andrej730
d772b24bd6
geometry.add_boolean: fix typo in the class name
...
🫣 🫣
2026-07-14 19:29:34 +05:00
Andrej730
549f81a76e
ios pyproject: add networkx stubs as dev dependency
2026-07-14 19:29:34 +05:00
Andrej730
e5c7206a37
express: fix use of non-existent ifcexpressparser
...
`express.bnf` arg wasn't handled since d506ad77b
`ifcexpressparser` waa moved inside `ifcopenshell-python` awhile ago too
2026-07-14 19:29:34 +05:00
Andrej730
5b968d5c75
pyparsing: fix using deprecated aliases
...
Deprecated since pyparsing 3.0 and produce runtime warnings. New function work exactly the same, except their name is pep8 compatible.
2026-07-14 19:29:34 +05:00
Andrej730
6075187720
express_parser: fix non-idempotent results
2026-07-14 18:42:12 +05:00
Andrej730
92528d84cd
express: clean up trailing spaces
2026-07-14 18:42:12 +05:00
Andrej730
3955718145
express: update transpiled express rules using latest Python's AST
...
AST parser has changed a bit and there are some minor differences in the .py output. Updating files just to avoid seeing these diffs when rerunning rule compiler.
2026-07-14 18:42:12 +05:00
Andrej730
501246cd0b
rule_compiler: fix error running on Python 3.14
...
Example error:
```
ast.Str(s=node.attr),
^^^^^^^
AttributeError: module 'ast' has no attribute 'Str'
```
`ast.Str` was deprecated since 3.8 and was removed in 3.14, see https://docs.python.org/3/whatsnew/3.14.html#id9
2026-07-14 18:42:12 +05:00
Andrej730
1b863ff8be
pyproject: add dev-setup poe task to setup environment for ide
2026-07-14 18:42:11 +05:00
Andrej730
dcd88b6cdd
pyproject: Move tool deps from to requirements-tools.txt
...
Because uv was always trying to install when starting a venv in `ifcopenshell` folder, though they might be already available globally. And also they were listed twice - in pyproject and in the ci-lint.yml, now there's a single source of truth.
2026-07-14 18:42:05 +05:00
Andrej730
fb8b2ee878
bonsai pyproject: move pytest deps to requirements-dev.txt
2026-07-14 18:42:05 +05:00
Andrej730
8a00ce84cc
geom/main.py: fix ty complaint
2026-07-14 14:56:06 +05:00
Andrej730
4032bbbd17
entity_instance.py: fix oveloads signatures ( f93d79dc)
...
Without `/` overload implies that it also accepts kw args, while the implementation signature doesn't support them.
2026-07-14 14:56:06 +05:00
Andrej730
d728f09d86
Bump ty
...
Dropping `conflicting-argument-forms` rule as it was removed in ty 0.0.49.
2026-07-14 14:56:06 +05:00
Andrej730
3e9ef82448
maintenance.rst: move pyver matrix to bundled Python version section
2026-07-14 14:56:06 +05:00
Andrej730
a5c77fd096
ci-bonsai-daily: Use Blender 5.2 for tests
2026-07-14 14:56:06 +05:00
Andrej730
56ed79792e
bonsai tests: fix test_failed_to_load_returns_only_base_keys ( fdb2947)
2026-07-14 14:56:06 +05:00
Andrej730
9c91727402
express: drop Python 2 fallbacks
2026-07-14 14:56:06 +05:00
Andrej730
d183961280
pyproject: support formatting with ruff
...
Since it's black-compatible drop-in replacement and they can be used
almost interchangeably.
2026-07-14 14:56:06 +05:00
Andrej730
d30c25010c
dev_environment.py: detect Python 3.13 on any Blender 5.1+
2026-07-14 12:18:00 +05:00
Andrej730
97d1a6e488
dev_environment.py: add shebang and make executable
2026-07-14 12:12:54 +05:00
sboddy
6dec340161
Merge pull request #8576 from IfcOpenShell/fix/docker-macos-arm64-compat
...
docker: more robust in getting a GID, and editing the .env file.
2026-07-13 13:09:29 +01:00