Commit Graph

13368 Commits

Author SHA1 Message Date
Andrej730 6ee7502920 ifctester.reporter.Txt small fix 2024-04-16 16:39:55 +05:00
Andrej730 708ee7350b ifctester - fix bug adding second .ods extension 2024-04-16 16:39:55 +05:00
Andrej730 836293504c ifctester typing 2024-04-16 16:39:55 +05:00
Thomas Krijnen a2cc9b1b4d Disable building 3.6.x - due to from __future__ import annotations 2024-04-16 13:28:46 +02:00
Andrej730 7843d20fc8 black format 2024-04-16 13:28:46 +02:00
Andrej730 7e9aead518 show occurrence name function in prefs only for custom name style 2024-04-16 13:28:46 +02:00
Andrej730 0c3a038a44 Fix #4363 2024-04-16 13:28:46 +02:00
Dion Moult 444b284602 Update Makefile 2024-04-16 13:28:46 +02:00
Dion Moult f33b1296e3 Create blender_manifest.toml 2024-04-16 13:28:46 +02:00
Bruno Perdigão a4eeae2872 UI for linked aggregate (#4271)
* initial ui

* changed the group name

* groups counter in ui

* added operators for selection and breaking link in the ui

* small removal

* changed IFC operators to _execute
2024-04-16 13:28:46 +02:00
Bruno Perdigão ed7b337a40 Linked aggregate preserve names (#4135)
* added simples linked aggregate test

* small fix in remove_old_connections function

* added test for refresh linked aggregate

* refresh linked aggregates now preserves the objects original name

* small fix in recreate_connections function

* tests for Refresh Linked Aggregate

* test for Refresh Linked Aggregate after copying an object

* small deletion

* added custom incremental naming

* small fix in tests

* small fix on the number for renaming
2024-04-16 13:28:46 +02:00
Ryan Schultz 0b4a64225b Selects all the instances from selected instances that have different types 2024-04-16 13:28:46 +02:00
Massimo Fabbro bba935940b New button hide all spaces in spatial tool 2024-04-16 13:28:46 +02:00
Massimo Fabbro f85b476bc8 Now generate space and generate spaces from walls are always visible in the UI so users understand better that are different procedures 2024-04-16 13:28:46 +02:00
Andrej730 4ac771a214 Fix #4342 2024-04-16 13:28:46 +02:00
Andrej730 284df2e484 update representation item style on editing/removing shape aspect
Example - https://imgur.com/a/2SxgSRH
2024-04-16 13:28:46 +02:00
Andrej730 dd27107be8 style.assign_representation_styles to replace previously assigned styles
as probably in the most cases user would want 1 style per 1 representation item

After this it's finally possible in BBIM to assign styles to representation items through the materials: https://imgur.com/a/cgiJ1KV
2024-04-16 13:28:46 +02:00
Andrej730 0d251260d8 MaterialCreator - minor refactor for code readibility 2024-04-16 13:28:46 +02:00
Andrej730 8a3934b32b fix error in data.py occurring if object has no material 2024-04-16 13:28:46 +02:00
Andrej730 05aed7036e show error message removing material that is used in material sets
previously it wasn't showing anything when you would try to remove a material
2024-04-16 13:28:46 +02:00
Andrej730 7966ffa2a4 BBIM - update related representations on assigning style to material 2024-04-16 13:28:46 +02:00
Andrej730 17da72232d unassign_material_style to handle constituents 2024-04-16 13:28:46 +02:00
Andrej730 c7ca87f9c4 api.unassign_representation_styles 2024-04-16 13:28:46 +02:00
Andrej730 f22369b960 assigning material styles to reuse existing styled item + tests 2024-04-16 13:28:46 +02:00
Andrej730 46eae7a7d2 assign_representation_styles to reuse existing styled item + tests 2024-04-16 13:28:46 +02:00
Andrej730 cb51b8da49 style.assign_material_style small optimization 2024-04-16 13:28:46 +02:00
Andrej730 31e556c0b2 set previous active style and context values editing material's style 2024-04-16 13:28:45 +02:00
Andrej730 ad33794945 descriptive error for missing user or application in ifc2x3 #4340 2024-04-16 13:28:45 +02:00
Andrej730 ec107d2f7f fixed bug migrating attributes to older ifc version (after 8728fa3) 2024-04-16 13:28:45 +02:00
Andrej730 356c81e80f black format 2024-04-16 13:28:45 +02:00
Andrej730 0077036716 Fix issues editing work time in ifc4x3 #4295 2024-04-16 13:28:45 +02:00
Andrej730 89da2b3b7d IFC4.3 test bootstrap 2024-04-16 13:28:45 +02:00
Andrej730 3dc7951a3e Default Blender filepath hotkeys for .ifc filepath
Example - https://i.imgur.com/Mk6mkuP.png

E.g. alt-click now opens .ifc directory and shift-click opens .ifc with default software associated with .ifc files.

Should be cross-platform but tested only on Windows

Added this code to tool.Blender so it can be reused for other operators invoking file browsing window.
2024-04-16 13:28:45 +02:00
Andrej730 45a23d9371 style.assign_material_style to assign style to related shape aspects 2024-04-16 13:28:45 +02:00
Andrej730 c76a5a7ee7 promote get_shape_aspects to util.element method 2024-04-16 13:28:45 +02:00
Andrej730 c918497df2 get material constituents from cache and filter active element material 2024-04-16 13:28:45 +02:00
Andrej730 eebe7d596d disable editing rep item style if it comes from material constituent through shape aspect 2024-04-16 13:28:45 +02:00
Thomas Krijnen 5c60c2e35b CMakeLists.txt pre 2.37 compat 2024-04-16 13:28:42 +02:00
Ryan Schultz 09f54709e6 deleted extraneous variables 2024-04-16 13:27:40 +02:00
Ryan Schultz 9bfe417cfb Select in any order, when assigning relating_product 2024-04-16 13:27:40 +02:00
Thomas Krijnen e3867a118c IfcConvert --keep-bounding-boxes option, default is now exluded. #4012 #2138 #2044 #4032 2024-04-16 13:27:16 +02:00
Andrej730 b458aea6b9 ifctester docs for command line use 2024-04-16 15:17:49 +05:00
Andrej730 e1e169ece8 fix bug in d6e69bd6e 2024-04-16 15:17:49 +05:00
Andrej730 aeea9dfb5e fix test after ac64d0c40 2024-04-16 15:17:49 +05:00
Andrej730 9a9be821d1 constraint.unassign_constraint - support batching #4474 2024-04-16 15:17:49 +05:00
Andrej730 c808382154 constraint.assign_constraint - support batching #4474 2024-04-16 15:17:49 +05:00
Andrej730 81608b0cee ifcopenshell.util.get_constrained_elements 2024-04-16 15:17:49 +05:00
Andrej730 02ae838c45 util.constraint - typing and docs 2024-04-16 15:17:49 +05:00
Andrej730 f1f8b3da6b spatial.dereference_structure - support batching #4474 2024-04-16 15:17:48 +05:00
Andrej730 8ac0d22a95 spatial.reference_structure - support batching #4474 2024-04-16 15:17:48 +05:00