Moritz Amberger
e89d195f9b
moved full_schema, is_strcit, should_expand, should_get_inverse, should_get_psets. should_get_geometry and should_skip_geometry_data to the Patcher class definition. deleted those parameters from the patch definition so that users are able to set them by themselves. removed the hardcoded tmp-File for the db_file name
bonsai-0.8.1-alpha2501132230
bonsai-0.8.1-alpha2501132231
2025-01-14 09:30:34 +11:00
tim
228e9d0571
Refactor detect_icon_color_mode to accept attribute path suffix
...
• Removed bpy.context.preferences.themes[0] from the input and hardcoded it in the function.
• color_path now only requires the attribute path suffix (e.g., "user_interface.wcol_regular.text").
• Updated error handling to default to "dm" instead of "lm".
bonsai-0.8.1-alpha2501132222
bonsai-0.8.1-alpha2501132223
2025-01-14 09:22:53 +11:00
tim
7280669725
Typo
2025-01-14 09:22:53 +11:00
tim
83b8bb153d
One function for model and cad custom icons
...
Apply detect_icon_color_mode function to model and cad workspaces
2025-01-14 09:22:53 +11:00
tim
88891409fd
New icon color mode function
...
New function for determining which icon color mode to use: dark (dm) or light (lm)
2025-01-14 09:22:53 +11:00
tim
b6ba1aaa8c
Hide shortcuts from header
2025-01-14 09:22:22 +11:00
ti
ffb3d2d6e9
check for None
2025-01-14 09:22:03 +11:00
Dion Moult
efede9eb03
No idea why Github actions is failing for MacOS. All code looks good to me.
bonsai-0.8.1-alpha2501131314
2025-01-14 00:14:03 +11:00
Andrej730
ac315e8a55
ifcfm cobie 2.4 - color code excel tabs
...
example - https://i.imgur.com/tSeqyjj.png
bonsai-0.8.1-alpha2501131254
2025-01-13 17:53:02 +05:00
Andrej730
b7c18221f4
get_bbox - optimize by using numpy arrays
2025-01-13 17:53:02 +05:00
Andrej730
7a49f1611e
get_shape_matrix - small optimization
...
reuse existing matrix instead of recreating new
2025-01-13 17:53:02 +05:00
Andrej730
5c0a7af830
cobie24 - implement Coordinate tab #5926
2025-01-13 17:53:02 +05:00
Andrej730
a968b61d02
np_matrix_to_euler, np_matrix_normalized
2025-01-13 17:53:01 +05:00
Andrej730
0ac9d739f8
remove unused code
2025-01-13 17:53:01 +05:00
Andrej730
74c6480808
bim.add_element to select added object
2025-01-13 17:53:01 +05:00
Andrej730
0601802005
typing
2025-01-13 17:53:01 +05:00
Dion Moult
9784fb1c49
Pyodide example app should use IfcShapeRepresentation to be valid
2025-01-13 23:12:49 +11:00
Gorgious56
039dcbaefa
Stair Modifier : You can now set a total length target that will update individual tread runs automatically. You can lock the total length target and modify tread run or number of treads to keep the same global dimensions.
bonsai-0.8.1-alpha2501131104
2025-01-13 12:04:13 +01:00
Gorgious56
1cd17fd5f8
Merge pull request #5947 from IfcOpenShell/update_type_manager
...
Update Type Manager
bonsai-0.8.1-alpha2501130841
2025-01-13 09:40:42 +01:00
Gorgious56
2f0f9fe08b
Merge branch 'v0.8.0' of https://github.com/IfcOpenShell/IfcOpenShell into update_type_manager
2025-01-13 09:38:41 +01:00
Gorgious56
50ed75fcc2
Fix potential bug where a class doesn't have a predefined type
2025-01-13 09:32:23 +01:00
Gorgious56
9eaf41c9f0
The filter search field now also filters description and predefined type
2025-01-13 09:28:56 +01:00
Dion Moult
581a674654
Fix #5952 . Aggressively block scaling of IFC elements to prevent user confusion.
bonsai-0.8.1-alpha2501130701
2025-01-13 18:01:25 +11:00
Dion Moult
e29f686d3f
Update setting literal from old name of "debug" to new name "debug-boolean".
bonsai-0.8.1-alpha2501130445
bonsai-0.8.1-alpha2501130446
2025-01-13 15:45:27 +11:00
Dion Moult
8cf7057abc
Fix #5954 . Special automatic movement of features shouldn't then also move children of those features.
...
If you move a wall, and that wall has features (e.g. openings), it's
desirable to also move those openings (because they are invisible). This
is a special exception to `should_transform_children` because the
definition of the feature (opening) is inherently tied to the parent
(wall).
What wasn't considered is that this would typically then also move
subchildren of the features (e.g. fills like doors). I'm surprised
nobody caught this earlier.
I did also consider another approach where if you move a wall, it moves
all unfilled openings, and if you move a door which fills a opening, it
moves the opening too. Intuitively it sounds nice, but it doesn't work
because:
- Openings can have multiple fillings. If you move all fillings, they
all fight to move the openings.
- All logic about children goes one way: a placement may have child
placements relative to it. This breaks the convention (if moving a door
instead moves its opening) which can make brains explode.
- It starts to conflate rules about relative / referenced placements
with spatial decomposition. We assume all IFCs are valid and follows the
convention of relative placement but we cannot guarantee this. This also
leads to brain explosion.
2025-01-13 15:44:52 +11:00
Dion Moult
316b9554d4
Fix #5959 . Bug where default selection basket in selector query was not added per facet list.
...
Previously the code looked for additive facets (entity, instance)
anywhere in the query, and then only added the default basket once at
the beginning of the query. This change makes it look for additive
facets in order (that way you could start with a default selection, and
then later use an additive facet) and does it per facet list (so you can
omit the additive facet at the beginning of each list).
bonsai-0.8.1-alpha2501130147
2025-01-13 12:46:44 +11:00
tim
95fa6f39c4
New furniture icon
...
Chair icon for furniture
bonsai-0.8.1-alpha2501122348
2025-01-13 10:47:35 +11:00
Thomas Krijnen
65ffbe081b
Pyodide app readme
2025-01-12 15:50:19 +01:00
Thomas Krijnen
936984dd31
Update publish-pyodide-demo-app.yml
2025-01-12 15:16:57 +01:00
Thomas Krijnen
590c6eed0a
Update publish-pyodide-demo-app.yml
2025-01-12 15:12:44 +01:00
Thomas Krijnen
a696c7bbb5
Update publish-pyodide-demo-app.yml
2025-01-12 15:10:59 +01:00
Thomas Krijnen
6ff1d06938
Create publish-pyodide-demo-app.yml
2025-01-12 15:07:44 +01:00
Thomas Krijnen
6deb7121cc
demo-app/CNAME
2025-01-12 15:00:54 +01:00
Thomas Krijnen
6aec2f7a02
pyodide/app-demo
2025-01-12 14:50:20 +01:00
Dion Moult
0eb987fc07
Black
bonsai-0.8.1-alpha2501121144
2025-01-12 22:43:41 +11:00
Dion Moult
04092d19be
Refactor common function for parametric objects into tool.Model
2025-01-12 22:43:34 +11:00
Dion Moult
8364c87777
Fix #5941 . Context override when adding objects should only have one object. This is a temporary fix.
...
The proper fix is to refactor add_door and friends into core. That way
it can be properly reused instead of this hacky context override.
2025-01-12 22:39:32 +11:00
Dion Moult
2d38d8520c
Fix regression where you couldn't move spatial elements from the new aggregate move override.
bonsai-0.8.1-alpha2501121048
2025-01-12 21:47:42 +11:00
Dion Moult
03d3b1e52c
Changed my mind, remove AssignConstituentFractions patch. See #5441 .
bonsai-0.8.1-alpha2501120652
2025-01-12 17:51:32 +11:00
Dion Moult
79fe1bfcfc
Minor fix from new patch recipe in PR #5441 (src no longer required)
bonsai-0.8.1-alpha2501120646
2025-01-12 17:45:43 +11:00
Louis Trümpler
59c1d7fa54
Add AssignConstituentFractions recipe
bonsai-0.8.1-alpha2501120642
bonsai-0.8.1-alpha2501120639
2025-01-12 17:41:50 +11:00
tim
f0e1be765d
New Roof and Railing icons
...
https://github.com/IfcOpenShell/IfcOpenShell/issues/5375
2025-01-12 17:38:57 +11:00
Lucas Nascimento
a2bfc006b7
black formatting
bonsai-0.8.1-alpha2501120625
2025-01-12 17:25:21 +11:00
Lucas Nascimento
dff9f56ce3
black formatting and changes in shader typing
2025-01-12 17:25:21 +11:00
LM-Nascimento
80996dee1f
Update unit.py
2025-01-12 17:25:21 +11:00
Lucas Nascimento
a329de9f71
licence comment
2025-01-12 17:25:21 +11:00
Lucas Nascimento
1918138f68
cleanup
2025-01-12 17:25:21 +11:00
Lucas Nascimento
aa21fe9060
separate shader file from decoration data
2025-01-12 17:25:21 +11:00
Lucas Nascimento
6eee445502
Cleaning up and type hints
2025-01-12 17:25:21 +11:00
Lucas Nascimento
3eb29af496
seems to be working
2025-01-12 17:25:21 +11:00