Andrej730
aeb64acc07
util.doc - use release schema version for IFC4X3
...
As it will be more like to be available in the ifcopenshell package. Related to #4565
2024-04-22 17:31:49 +05:00
Andrej730
f94aecbbff
typing
2024-04-22 17:31:49 +05:00
Andrej730
d33fdbba69
small optimization
2024-04-22 17:31:49 +05:00
Andrej730
0ddbcd98ea
use column-major reshape for matrices #4565
2024-04-22 17:31:16 +05:00
Thomas Krijnen
71c9066dc7
Fallback to C++ impl of IfcAxis2PlacementLinear #4565
2024-04-21 11:27:22 +02:00
Thomas Krijnen
0793ae539e
Merge remote-tracking branch 'origin/v0.7.0' into v08attempt1
2024-04-21 11:26:06 +02:00
Andrej730
60a70f5236
support IfcAxis1Placement and warn on IfcAxis2PlacementLinear #4565
2024-04-19 17:11:56 +05:00
Andrej730
757a010172
typing
2024-04-19 16:18:57 +05:00
Andrej730
447625bffd
fix failing test in util.selector.format with imperial_length
...
the error is below, not sure how I haven't noticed it before 🤔
assert subject.format('imperial_length(1, 1)') == "1'"
> raise VisitError(tree.data, tree, e)
E lark.exceptions.VisitError: Error trying to process rule "imperial_length":
E
E cannot access local variable 'output_unit' where it is not associated with a value
2024-04-19 16:18:46 +05:00
Andrej730
9da4215bac
ifcopenshell.util.selector.filter_elements - inherited predefined types
...
mentioned by @theoryshaw on osarch - https://community.osarch.org/discussion/comment/20126/#Comment_20126
2024-04-19 16:05:33 +05:00
Thomas Krijnen
d24d781674
Merge remote-tracking branch 'origin/v0.7.0' into v08attempt1
2024-04-18 21:39:33 +02:00
Andrej730
657ff30883
material.unassign_material - support batching #4474
2024-04-18 10:48:25 +02:00
Andrej730
cd25a50e96
material.assign_material - support batching #4474
2024-04-18 10:48:25 +02:00
Andrej730
5562f35ed1
material.assign_material - update owner history
2024-04-18 10:48:25 +02:00
Andrej730
67a6e4d258
typing
2024-04-18 10:48:25 +02:00
Andrej730
3478db67b9
system.unassign_system - support batching #4474
2024-04-18 10:48:25 +02:00
Andrej730
9ee5cb7180
system.assign_system - support batching #4474
2024-04-18 10:48:25 +02:00
Andrej730
b4658184de
system.add_system - fix failing default agrument in ifc2x3
2024-04-18 10:48:25 +02:00
Andrej730
6e1688905f
new util method ifcopenshell.util.element.get_groups
2024-04-18 10:48:25 +02:00
Andrej730
2460729e43
type.unassign_type - support batching #4474
2024-04-18 10:48:25 +02:00
Andrej730
d6fb508517
assign_type not to remap if it's type was assigned previously
2024-04-18 10:48:25 +02:00
Andrej730
949ff535eb
typing
2024-04-18 10:48:25 +02:00
Vukas Pajic
5c0bbcf525
fix: address test fails
2024-04-18 10:48:24 +02:00
Vukas Pajic
e73ff252bb
fix: cascade_schedule correctly handles timelag with IfcRatioMeasure
2024-04-18 10:48:24 +02:00
Andrej730
74224676cd
type.assign_type - support batching #4474
2024-04-18 10:48:24 +02:00
Andrej730
571892dd60
fix bug in nest.assign_object
2024-04-18 10:48:24 +02:00
Andrej730
48e5d14817
nest.assign_object to support ifc2x3
2024-04-18 10:48:24 +02:00
Andrej730
ee7cf918ea
get_pset() fix bug getting inherited psets with psets_only/qtos_only = True
2024-04-18 10:48:24 +02:00
Andrej730
b77df1892c
further ifcopenshell.util.element optimization
...
and readibility for props addressed by the index
2024-04-18 10:48:24 +02:00
Andrej730
4f2c5e4571
maintain verbosity getting complex property subproperties
2024-04-18 10:48:24 +02:00
Andrej730
bea8b2cddc
typing
2024-04-18 10:48:24 +02:00
Alper Kantarci
62b9fe2e13
Use "gltf" instead of "gtlf" ( #4538 )
...
- Fix "gtlf" typo
2024-04-18 10:48:24 +02:00
Dion Moult
df4478a90a
Fix #4290 . You can now format custom thousands separators and decimal separators in IfcCSV.
2024-04-18 10:48:24 +02:00
Dion Moult
97eb34ca0d
Fix #4490 . Fix fundamental bug where get_pset would return none for inherited props with a boolean False value.
2024-04-18 10:48:24 +02:00
Andrej730
9fe5e75c27
ifcopenshell.util.element optimization
...
Tried to reduce amount of IFC attributes retrieved by reusing already retrieved values.
E.g. previously get_nest() was retrieving same attribute 3 times on each call, now it does it only once and it's 2 times faster (2.4 ms -> 1.2 ms).
2024-04-18 10:48:24 +02:00
Andrej730
3db33a1071
nest.unassign_object - support batching #4474
2024-04-18 10:48:24 +02:00
Andrej730
d270a4fef8
nest.assign_object - support batching #4474
2024-04-18 10:48:24 +02:00
Andrej730
064fc0e405
typing
2024-04-18 10:48:24 +02:00
Andrej730
846ff3b9fd
black format
2024-04-18 10:48:24 +02:00
Andrej730
8df04091ff
ifcopenshell.api.run optimization
...
cache usecase classes instead of importing their modules and getting them each time, makes empty api call twice as fast
2024-04-18 10:48:24 +02:00
Andrej730
da838a2c7c
deprecate spatial.remove_container in favor of spatial.assign_container
...
added temporary support for old version with warnings:
WARNING. `spatial.remove_container` api method is deprecated and should be replaced with spatial.unassign_container
WARNING. `product` argument is deprecated for API method "spatial.remove_container" and should be replaced with `products`.
2024-04-18 10:48:24 +02:00
Andrej730
163f5f2611
aggregate.unassign_object - support batching #4474
2024-04-18 10:48:23 +02:00
Andrej730
833f67cf45
aggregate.assign_object - support batching #4474
2024-04-18 10:48:23 +02:00
Andrej730
b106d6a4d1
temporary support for deprecated api arguments #4531
2024-04-18 10:48:23 +02:00
Andrej730
bc8b4e1a69
typing
2024-04-18 10:48:23 +02:00
Andrej730
d35f2dd0e9
layer.unassign_layer - support batching #4474
2024-04-18 10:48:23 +02:00
Andrej730
a003bc0018
layer.assign_layer - support batching #4474
2024-04-18 10:48:23 +02:00
Andrej730
7d0111115b
validate - add examples
2024-04-18 10:48:23 +02:00
Dion Moult
3357f89311
Fix #4509 . Don't show scary error message if you haven't specified a filter query.
2024-04-18 10:48:23 +02:00
Dion Moult
562bc14f5b
Fix #3759 . IFC4X3 files should use ADD2 identifier.
2024-04-18 10:48:23 +02:00