Commit Graph

10420 Commits

Author SHA1 Message Date
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 09578b2fd6 Fix #4526. Bug when exporting IfcTester results to BCF due to new "failures" attribute. 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
Andrej730 a27461e4ba fix bug generating profiles on assign_type after df4943205 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
Andrej730 773a79abc7 black format 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 47d5e17159 Document how MacOS users using Blender from Steam should still use Mac Intel 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
Dion Moult 0a4ff00bce Fix issue where the underlay cache option was not yet implemented and ignored. 2024-04-18 10:48:24 +02:00
Dion Moult 782573f986 Fix issue where reloading the drawing list would cause drawing names to be synced
It would run useless sync / API calls to edit psets on potentially hundreds of drawings.
2024-04-18 10:48:24 +02:00
Dion Moult f0fce05342 See #4481. Defer setting render visibility to drawing generation to speed up switching between drawings.
Doing obj.hide_render = True/False in a loop is slow and there is no bulk set command.
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
Dion Moult d9d38e00bf See #4481. Faster implementation of object hiding and toggline viewport visibility. 2024-04-18 10:48:24 +02:00
Dion Moult 8d9a65caa4 Fix #4497. Drawing text annotations are now based on actual line breaks. 2024-04-18 10:48:24 +02:00
Dion Moult 4541a15a19 See #4497. Show invisible newlines and allow newline editing in attributes. 2024-04-18 10:48:23 +02:00
Dion Moult ba8257c9b0 Fix #4533. Add convenience link to launch type manager when no types exist. 2024-04-18 10:48:23 +02:00
Benoit DAMAY 446e9093a3 Inline help feature (#4409)
* Help operator in grouping and filtering Panel

Opens up a webbrowser on click

* Help button on the right of filtering panel header

* replacing os.rename() by shutil.move in ifcpatch

* removing debug print from previous commit

* Removing extra operator
Using bim.open_uri to open help page

* Update docs url

* Clean up whitespace

---------

Co-authored-by: Dion Moult <dion@thinkmoult.com>
2024-04-18 10:48:23 +02:00
ppaawweeuu d6eb8c131b Add CCI Classification schema
I'd like to add CCI classification to BBIM. It is very similar to CSS, developed by CCI-C and licensed under CC BY 4.0
More details here: https://cci-collaboration.org/the-standard/

This is my first commit, I used CCS(EN).ifc file as reference. Any feedback welcomed.
2024-04-18 10:48:23 +02:00
Gorgious 69d51283c7 New UI List in Sandbox panel to access, flip, remove, add, edit clipping planes
and some tweaks :
- Disable possibility to edit clipping plane quad geometry
- Add select and delete operators
- Remove polls from CreateClippingPlane that prevented from using it in the Properties editor. The clipping plane is added near the origin when using the Add button in the panel
2024-04-18 10:48:23 +02:00