Andrej730
caca209c8f
BBIM - update related representations on assigning style to material
2024-02-21 15:58:17 +05:00
Andrej730
1a38b7f5c6
set previous active style and context values editing material's style
2024-02-20 16:02:50 +05:00
Andrej730
551f3b0d8d
Fix issues editing work time in ifc4x3 #4295
2024-02-20 12:38:29 +05:00
Andrej730
412700c8fd
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-02-20 12:01:43 +05:00
Andrej730
602e18a262
promote get_shape_aspects to util.element method
2024-02-19 18:08:18 +05:00
Andrej730
9e30e1ad31
get material constituents from cache and filter active element material
2024-02-19 18:08:18 +05:00
Andrej730
b6f939f1b1
disable editing rep item style if it comes from material constituent through shape aspect
2024-02-19 18:08:18 +05:00
Ryan Schultz
36b702630d
Merge pull request #4291 from IfcOpenShell/Assign_Product_In_Any_Order
...
Select in any order, when assigning relating_product
2024-02-18 13:02:45 -06:00
Andrej730
a82b0f30b0
fix errors getting layer assignments in ifc2x3 #4330
2024-02-16 18:04:09 +05:00
Andrej730
bc2fd232d0
sort representation items in ui based on shape aspect
...
- display shape aspect along with the repsentation type
- sort representation items based on shape aspects name, items without shape aspects come last
2024-02-15 16:05:14 +05:00
Andrej730
5d7b6ad998
Fix #4319
...
StringProperty search keyword was introduced only in Blender 3.3
2024-02-15 14:53:11 +05:00
Gorgious56
0e0678b926
Fix section cut planes not working anymore on Blender < 4.0.0
2024-02-15 08:41:42 +01:00
Gorgious56
65179db444
#4308 : Fix section cutaway shader links incorrectly linking when removing a section
2024-02-14 14:15:07 +01:00
Gorgious56
5457ee3a40
Fix #4308 : Section cutaway shader : Update API for 4.0 breaking changes + draw line decorator for more than one section cutaway
2024-02-14 13:43:27 +01:00
Massimo Fabbro
8a48769760
Minor fix
2024-02-13 17:15:25 +01:00
Andrej730
bd093303c4
UI info message when patch execution was finished
2024-02-13 12:33:36 +05:00
Andrej730
d8f52afa6c
Fixed #4310
2024-02-12 12:15:27 +05:00
Andrej730
29ce8d5d80
Fix bug removing relating object of IfcRelNests
...
it was unlinking current collection of the related object and related objects were missing after
2024-02-12 12:01:04 +05:00
Ryan Schultz
b9b58f5726
proposed fix for #4311
2024-02-11 13:36:23 -06:00
Massimo Fabbro
5c7271ddc8
See #4007 . Now clone opening works also when a opening hosts a window or a door
2024-02-11 14:43:12 +01:00
Massimo Fabbro
2db35556e9
Clone opening now deletes also old opening placement
2024-02-11 14:43:12 +01:00
Massimo Fabbro
2449656311
Small refactor clone opening operator in order to better understand and reuse it rebase
2024-02-11 14:43:12 +01:00
Gorgious56
c66cf0a22b
Assigning an ifc class to an object now displays a message if the object is not in OBJECT mode
2024-02-09 17:26:48 +01:00
Ryan Schultz
4463dd8af9
deleted extraneous variables
2024-02-04 17:35:40 -06:00
Ryan Schultz
95c0ac901f
Select in any order, when assigning relating_product
2024-02-04 15:28:18 -06:00
Andrej730
6d7a6eeda7
fixed bug removing representation item
...
if you'd click on "remove item" button for some item it wouldn't remove the corresponding item but would go for removing active item instead
2024-02-02 14:53:10 +05:00
Andrej730
c520e0eeb5
some refactor for bbim drawings svg serialization
...
Made some changes to svg serialization code by moving chunks of code so `.generate_linework()` will be easier to read
- moved gathering linework contexts to a separate method
- moved common code for elements serialization to a function
- replaced self.yield_from_iterator(it) with it.__iter__
Functionally code is exactly the same.
2024-02-02 12:56:06 +05:00
Andrej730
a701840826
Fixed error adding a boolean
...
It occured if active object was IFC object and second selected object was just Blender object.
2024-01-30 14:40:07 +05:00
Andrej730
5de2ac9042
black format
2024-01-30 14:36:35 +05:00
Andrej730
573e2626ad
Fix test Model.get_manual_booleans after we added pset to store them
2024-01-30 14:36:35 +05:00
Andrej730
9de59afd49
Fix #4267 and add tests
...
Crash was caused by unmark_manual_booleans accessing boolean element after they were deleted from IFC
2024-01-30 14:36:35 +05:00
Andrej730
74a9671075
Update ui.py
2024-01-30 14:36:35 +05:00
Andrej730
799658ff41
display active representation presentation layer in UI
...
example - https://i.imgur.com/mpnoqPH.png
2024-01-30 14:36:35 +05:00
Andrej730
8eab7f155e
Small presentation layers UI fixes
2024-01-30 14:36:35 +05:00
Andrej730
5351966430
access layer assignments from inverse attribute instead of going through representation inverses
2024-01-30 14:36:35 +05:00
Andrej730
2663c079f4
test for removing representation items
2024-01-29 16:47:17 +05:00
Andrej730
6747bd9c8f
UI to remove representation items
...
example - https://i.imgur.com/jJDpIQP.png
2024-01-29 16:47:16 +05:00
Andrej730
6ece295be4
tests for creating shape aspects and adding items
2024-01-29 15:52:40 +05:00
Andrej730
64a9f85f25
create new shape aspects from UI
...
example - https://i.imgur.com/BJJZWrC.png
2024-01-29 15:52:39 +05:00
Andrej730
d8fa853308
edit shape aspect attributes from UI
...
example - https://i.imgur.com/SzUEn6r.png
2024-01-29 15:52:39 +05:00
Andrej730
ce37c49624
Fix #4262 after 0da3270c7
2024-01-29 11:13:22 +05:00
Andrej730
0da3270c7f
UI for changing representation item's shape aspect
...
Example - https://imgur.com/a/tN7hCYz
2024-01-26 17:32:46 +05:00
Andrej730
3865f01df9
operator to remove representation item from shape aspect
2024-01-26 17:20:39 +05:00
Andrej730
6bf61d7163
Simple UI to display repr item shape aspect
...
Example - https://i.imgur.com/YEAE9zU.png
2024-01-26 15:27:05 +05:00
Andrej730
b8ad73668f
BBIM to print console errors in case IFC file is failed to load
2024-01-26 14:54:51 +05:00
Andrej730
b7a3dd4164
black format
2024-01-26 14:54:50 +05:00
Bruno Postle
566fd443db
IfcGit avoid leaving stray .git/config.lock files
2024-01-25 23:30:00 +00:00
Andrej730
8e792ebb50
UI for changing styles for representation items
...
Example - https://imgur.com/a/SQh6rR2
2024-01-25 15:17:44 +05:00
Andrej730
352321364c
fix couple building docs errors / warnings
2024-01-24 16:38:53 +05:00
Andrej730
3fbd9d7cdf
IFC4 Landscape Library
...
Created IFC library with simple trees, shrubs and hedges - with both 2d and 3d representations. Example - https://i.imgur.com/pOjh1si.png
Now it's available along with the furniture library when creating new project - https://i.imgur.com/Ho0B5Gn.png
2024-01-24 16:38:52 +05:00