Andrej
9f17b9fd86
reassign_class - calculate occurrence_class just once for the entire loop
2025-06-06 13:11:58 +05:00
Andrej
ba6674299c
ifocpenshell-python makefile - shortcut to get current build urls
2025-06-05 19:05:28 +05:00
Andrej
fc0624692f
test_sql - use Ifc2Sql patcher for readability
2025-06-05 19:05:28 +05:00
Andrej
3a66a1c754
geom settings - add new settings from 439f9c1
2025-06-05 19:05:27 +05:00
Andrej
87265d052b
typing
2025-06-05 19:05:27 +05:00
Andrej
c51e36dbca
ifcpatch - a static way to use ifcpatch
2025-06-04 19:04:31 +05:00
Andrej
a614fac71a
typing
2025-06-04 19:04:31 +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
Thomas Krijnen
1155b52375
Black
2025-06-01 09:23:10 +02:00
Thomas Krijnen
2d67440085
Draw.py don't assert just only take outer boundary in arrangement
2025-06-01 09:22:40 +02:00
Thomas Krijnen
cc3f2aa28d
Expose mirror-y in draw.py
2025-06-01 09:21:59 +02:00
Andrej
59b17fc593
ifcopenshell_wrapper.pyi
2025-05-30 18:13:17 +05:00
Andrej
fb1b5bea51
ifcopenshell.file - use IFC4X3 instead of IFC4X3_ADD2 for simplicity
2025-05-30 18:13:11 +05:00
Andrej
e8aa508405
Add 'advanced' optional ifcopenshell dependencies
...
To list all other optional dependencies.
2025-05-30 18:13:11 +05:00
Andrej
363083104b
Add 'tabulate' to optional ifcopenshell dev dependencies
...
Used in test_rules and test_wall_opening.
2025-05-30 18:13:11 +05:00
Andrej
2798bf3b68
ifcopenshell.api.geometry to fail more gracefully with fake-bpy
...
If user has fake-bpy-module for type hints, it will fail with `ImportError: cannot import name 'Vector' from 'mathutils' (unknown location)` instead of `ModuleNotFoundError`.
2025-05-30 18:13:11 +05:00
Andrej
e41c4bf7ae
Separate mathutils tests
2025-05-30 18:13:11 +05:00
Andrej
3bdce4fbc3
Make zip strict argument optional to support Python 3.9
2025-05-30 18:13:11 +05:00
Andrej
ad7473ff1f
Make dataclasses args optional to support Python 3.9 #6725
2025-05-30 18:13:10 +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
baf3edca13
ifcopenshell.validate - fix Python 3.9 support ( 25eecde)
2025-05-29 19:14:42 +05:00
Andrej
c23e973575
Fix moved cost.remove_cost_item_value ( b272210)
2025-05-29 19:14:42 +05:00
Andrej
a5801e439f
edit_attributes - fix Python 3.9 support ( 39fd9ce)
2025-05-29 19:14:42 +05:00
Andrej
0663c5130a
typing
2025-05-29 19:14:42 +05:00
Andrej
ea7ced738a
Introduce Ruff github CI with some basic linter rules
...
And also to help catching syntax errors on older Python versions.
2025-05-28 18:24:13 +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
feebc701fa
Fix Ruff UP008 (super-call-with-parameters)
...
https://docs.astral.sh/ruff/rules/super-call-with-parameters/
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
c838139fdc
Fix Ruff UP024 (os-error-alias)
...
https://docs.astral.sh/ruff/rules/os-error-alias/
2025-05-28 18:24:11 +05:00
Andrej
a42a95adcb
Fix Ruff UP037 (quoted-annotation)
...
https://docs.astral.sh/ruff/rules/quoted-annotation/
2025-05-28 18:24:11 +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
Martin15135215
6b77147d45
Create ifcopenshell_wrapper.pyi
...
stub file for swig-generated ifcopenshell_wrapper python file
2025-05-28 12:29:10 +00: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
Iagoba Apellaniz
e9eb5f892a
Update installation.rst to point to the latest release
2025-05-28 07:25:26 +00:00
Martin15135215
697b034c22
Add annotation for file.header
2025-05-26 13:52:29 +10:00
Dion Moult
810e8df6fe
Fix #6640 . Fix invalid association of annotations to grids.
...
There was already some half written code with this intent it seems, so I
just finished it up.
2025-05-26 13:49:06 +10:00
Andrej730
29bd89324a
ifcopenshell.geom.tree.get_clash_type
2025-05-23 18:42:55 +05:00
Andrej730
88befea174
typing
2025-05-23 18:42:55 +05:00
Andrej730
97bb587772
Bump bonsai build #6620
...
Besides the pending issues also resolves #6589 and error in #6196
2025-05-22 17:08:46 +05:00
Andrej730
13ea2ba8d2
ifcopenshell-python makefile - set sh as the main shell explicitly
2025-05-21 18:43:02 +05: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