Commit Graph

1822 Commits

Author SHA1 Message Date
Dion Moult c2bb57d7de See #4546. Fix docs link to filtering elements query syntax. 2024-04-18 10:48:25 +02:00
Dion Moult 1e1451de03 See #4541. Clarify how to use include args for IfcConvert 2024-04-18 10:48:25 +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 9e310318d4 ifcpatch - add ifc2x3 tests and test for MergeDuplicateTypes 2024-04-18 10:48:25 +02:00
Andrej730 67a6e4d258 typing 2024-04-18 10:48:25 +02:00
Dion Moult a752abf0a5 See #4541. Add documentation examples on how to use include filters in IfcConvert. 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
Andrej730 fed23533a4 remove unused lines from tests 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 fa2009418c unify tests for ifc4 and ifc2x3 2024-04-18 10:48:24 +02:00
Andrej730 7af1632c1a fix test files names 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 ede278db8f ifcopenshell.util.element.get_nest test 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 65d419d5c7 fix test after 7dd0d7601 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
Dion Moult aba8683d5e Fix #4303. Declare dependencies for ifctester. 2024-04-18 10:48:23 +02:00
Dion Moult 52be9684fc Minor fix in doc utility for entities which have no predefined types 2024-04-18 10:48:23 +02:00