Dion Moult
bb46a1659d
Fix light and georeference feature tests
...
Not setting the year meant our date calc tests would fail every year :)
2025-02-07 17:19:27 +11:00
Dion Moult
f09002c7e2
Fix regression in caeabe2 where actor data didn't load.
2025-02-07 16:58:45 +11:00
Dion Moult
0d3245102f
Fix remaining failing tool tests
2025-02-07 13:12:02 +11:00
Dion Moult
4c255cca43
Fix failing model tests and regression 0899a2a8 where switching geometry can invalidate old meshes
...
The fix in 0899a2a8 ensured that when you switched geometry, all other
elements (sharing the same type or representation) would also switch
alongside it. However it would lead to mesh invalidation which broke
some assumptions in the style code. The style code also repeated a lot
of the logic of switch representation (i.e. finding shared
representations) so this seems simpler.
In general the whole representation part of the code is messy and
hopefully over time it'll get better.
2025-02-07 12:35:08 +11:00
Dion Moult
e603ebed04
Fix bug where loading a types ignored style assigned via a material
...
For occurrences, the iterator would populate ios_materials if there is a
material / style associated with it. However, for types we do
create_shape to the representation directly, so we need to do the
material / style check manually.
2025-02-07 12:29:17 +11:00
Andrej730
38e6f09c91
Fix #6096
2025-02-06 18:26:14 +05:00
Andrej730
6473fa4b67
Deprecate workaround for universal wheels
...
Tested on Blender 4.3.2 and universal wheels are now supported without this hack, see https://projects.blender.org/blender/blender/issues/125091
2025-02-06 18:26:14 +05:00
Dion Moult
b7fb5c90bc
Continue fixing failing tool tests. Fix regression where UV coordinates might have the wrong order.
2025-02-06 17:22:54 +11:00
Dion Moult
23efb09ba6
Add links to Linux packages
2025-02-06 09:46:59 +11:00
Dion Moult
cf6280b928
Rename BlenderBIM to Bonsai in a few more spots
2025-02-06 09:24:25 +11:00
Andrej730
4b0b0191ba
Test enabling/disabling Bonsai before uploading to unstable repo #6075
2025-02-05 18:27:27 +05:00
Dion Moult
a92306d413
Fix #6097 . Be more defensive against selection state when moving objects into new containers.
2025-02-05 20:28:29 +11:00
Dion Moult
f457ce8270
Fix failing unit/system/geometry tool tests. Fix regression where object scales weren't applied in the new add element approach.
2025-02-05 18:50:37 +11:00
Dion Moult
590c2e120c
Fix failing drawing tool tests. Also consolidate relative paths using tool.Ifc.get_uri.
...
The same issue of handling relative paths, doing as_posix, checking
drives, etc was solved again and again in slightly different ways. This
centralises it.
2025-02-05 17:17:09 +11:00
Andrej730
ae11f205f3
Fix missing unregister for some tools #6075
...
PileTool, PlateTool, RampFlightTool, StairFlightTool were never unregistered leading to issues on Bonsai update
2025-02-04 17:37:57 +05:00
Andrej730
457f9c6aef
Select pset template for the pset in pset template ui for editing
...
Example - https://imgur.com/a/h46Ewhk
2025-02-04 17:37:56 +05:00
Andrej730
cc88bd4a9d
Fix issue adding project library if other library was already in edit
2025-02-04 17:37:56 +05:00
Andrej730
8f74f4d9f1
Change IfcProjectLibrary's parent library from UI
...
Example - https://imgur.com/a/4PZr0px
It's very clunky and mainly exposed just to be available in some way, it will all make more sense when we display project libraries as trees in project library ui.
2025-02-04 17:37:56 +05:00
Andrej730
76747bdf5a
Recent files - dim button for filepaths that do not exist
...
Example - https://i.imgur.com/dwEBtG6.png
2025-02-04 17:37:56 +05:00
Andrej730
a4de196259
space module operators - remove unnecessary ifc operators
2025-02-04 17:37:56 +05:00
Andrej730
049b157c8a
bim.toggle_space_visibility - description
2025-02-04 17:37:56 +05:00
Andrej730
7ec1bc5272
Fix error toggling boundary decorations after one was removed #6088
2025-02-04 17:37:56 +05:00
Andrej730
d4f44cb0a1
typing
2025-02-04 17:37:55 +05:00
Dion Moult
bd2c3a0ca1
Continue fixing tool tests.
...
Just chipping away at it give me time.
2025-02-04 17:04:29 +11:00
Dion Moult
0c41f0c32c
Fix #6094 . Fix failing core tests.
2025-02-04 13:36:28 +11:00
Andrej730
00eff23b74
Rename bim_boundary_properties -> BIMBoundaryProperties for consistency
2025-02-03 17:43:01 +05:00
Andrej730
88af3eb1a6
Explicitly enable Bonsai in the second Blender instance #6092
...
To cover cases when Bonsai was enabled in current Blender sesssion and user prefs are not saved.
2025-02-03 17:28:48 +05:00
Andrej730
a48d774337
typing
2025-02-03 17:28:47 +05:00
Dion Moult
5159a69225
Fix #6070 . Button was pointing to the wrong function to confirm/cancel editing an extrusion profile.
...
Probably a copy paste mistake during the UI refactor.
2025-02-03 23:07:16 +11:00
Dion Moult
2f2072cf7f
Fix #6080 . Bug where renaming introduced suffixes during bulk reassignment of classes.
2025-02-03 23:00:04 +11:00
Andrej730
8c47f2a72f
Fix issue infinitely adding new ports on bim.show_ports #6074
2025-02-03 16:37:51 +05:00
Andrej730
a6632167be
system module operators - remove unnecessary ifc operator
2025-02-03 16:37:46 +05:00
Andrej730
12d1fd221d
Clean up orphaned curves creating new elevation/section annotations
2025-02-03 13:45:54 +05:00
Andrej730
10642618e5
Fix error entering item mode for elevation/section annotations #6081
2025-02-03 13:45:54 +05:00
Andrej730
be4f6ac222
small fix for 3eaf4367ad
2025-02-03 12:45:05 +05:00
Andrej730
3eaf4367ad
Fix #6082
2025-02-03 12:40:36 +05:00
Andrej730
305b4c27b5
fix a typo
2025-02-03 11:45:41 +05:00
Andrej730
cf026dccc2
bump ios build #5987
2025-02-03 11:43:08 +05:00
tim
0f0578e1c5
Geographic Element Tool ( #6089 )
...
New icon tool for adding landscape elements
Co-authored-by: tim <tjrhyder@gmail.com >
2025-02-03 15:38:10 +11:00
Herlianto
0d086fda33
delete unused import ( #6093 )
2025-02-03 15:35:55 +11:00
Dion Moult
f3f7510b48
Fix #6087 . (again)
...
I don't know why depress was used. To make it colour in blue?
2025-02-03 12:36:18 +11:00
Dion Moult
be6a4de6f0
Fix #6087 . High CPU usage due to function in draw call.
...
I assume this is the problem.
2025-02-02 17:05:56 +11:00
Dion Moult
ea85a4247a
Fix #6079 . Regression in editing space boundaries due to leftover line in commit.
2025-02-01 16:42:06 +11:00
tim
f377d794a0
Unify icon modes to work with default Blender Light theme ( #6078 )
...
Force the color of the icons in the Properties-Scene tab to match Regular Text
Use the icon display mode function to detect where to use dm_ifc.png or lm_ifc.png
Co-authored-by: tim <tjrhyder@gmail.com >
2025-02-01 16:18:48 +11:00
tim
16d077f1cb
Rename dm_IFC.png to dm_ifc.png ( #6076 )
...
renaming to lowercase to match lm_ifc presidents.
2025-02-01 16:18:26 +11:00
Dion Moult
3f62f72f35
See #2981 . First attempt at having the door generator also do shape aspects, material constituents, and styles all simultaneously
2025-02-01 16:15:58 +11:00
Dion Moult
8436817408
Update incorrect docs and raise suspicion about how shape aspect styles are assigned
2025-02-01 15:55:34 +11:00
Bruno Postle
1680c3135a
Update to latest ifcmerge on Windows
...
Handle missing IfcRelationship - eg. if all sofas are deleted the
IfcRelDefinesByType is deleted too, but we reincarnate as an empty list
so it can be merged.
Sanity check internal graph - If an entity is deleted in one branch but
has a new usage in another branch, merging would break the graph leaving
a dangling reference. ie. now you can't delete types, materials etc..
in one branch while using them for new objects in another and still
expect the merge to succeed.
2025-01-31 15:05:34 +00:00
Andrej730
68543c7f05
Simplify types used in debug module express methods #6071
2025-01-31 18:21:14 +05:00
Andrej730
135655f8a0
bim.add_pset - remove unnecessary ifc operator
2025-01-31 17:12:32 +05:00