Dion Moult
95b7a79c64
Locked elements are now blocked from being duplicated too
2024-09-06 18:07:09 +10:00
Dion Moult
4a5e180479
You can now lock and unlock spatial / grid elements, which affects your ability to delete or move them
2024-09-06 17:58:52 +10:00
`myoualid`
d6098a0b6d
- web ui features to add a new cost schedules, and root cost items
...
- improved ui for cost schedules
- sharing more css across files
- refactor get_predefined_types(cost_schedule)
2024-09-06 08:55:10 +01:00
Dion Moult
541a6e18e6
Fix broken ifcconvert table in docs
2024-09-06 16:55:56 +10:00
Dion Moult
11497f9b37
Add decorator for grids outside drawing view
2024-09-06 16:40:56 +10:00
Dion Moult
6b14111b24
More grid panel to spatial subpanel
2024-09-06 16:40:56 +10:00
Andrej730
f27bb6effe
black format
2024-09-06 11:13:09 +05:00
Andrej730
6ebec7e0e5
pset.unshare_pset - fix bug where it would leaving an orphaned pset
...
It was leaving an orphaned pset if 'products' was a list of all elements pset is assigned to. Then it would create a new pset for each element leaving original pset orphaned.
2024-09-06 11:04:05 +05:00
Andrej730
ffb2ea2be3
bim.unshare_pset - move implementation to core
2024-09-06 11:04:04 +05:00
Andrej730
89bb7c76de
bim.unshare_pset - to work for all selected objects #5291
2024-09-06 11:04:04 +05:00
Andrej730
a867e72fd3
rename get_elements_using_pset -> get_elements_by_pset for consistency
...
To be consistent with other get_elements_by_xxx methods.
2024-09-06 11:04:04 +05:00
Andrej730
a03c55d15f
fix poll breaking with no active object
2024-09-06 11:04:04 +05:00
Richard Brice
1a75d95d47
Updates dependencies for boost 1.86.0
2024-09-05 20:34:49 -07:00
Dion Moult
fe5f48c655
Positional elements, project, and spatial elements are now locked. Remove user option to change behaviour.
2024-09-06 12:09:06 +10:00
Dion Moult
a4396ee766
See #5318 . Prevent deletion of project or spatial structures.
2024-09-06 11:44:30 +10:00
Dion Moult
977f3c7dcc
Fix #5243 . Remove usage of types_with_super which is no longer available.
bonsai-0.8.1-alpha240906
2024-09-06 10:38:19 +10:00
Bruno Perdigão
8ba52a2b1c
Scale the text for polyline tool decorators.
2024-09-05 14:18:12 -03:00
Bruno Perdigão
214c278fc5
Added a function to scale the font size according to preferences.
...
The scale will be calculated in relation to the system dpi and Blender's interface resolution scale.
2024-09-05 14:18:12 -03:00
Ryan Schultz
f521945766
Have bim.select_assigned_product make selected object active, so it's easier to change its Object Information
2024-09-05 10:09:35 -05:00
Thomas Krijnen
12318fbfc2
Handle storage of nullptr as a proper Blank type in variant #5308
2024-09-05 14:38:57 +02:00
Andrej730
56428eb605
Ooops, fix black formatter ignoring bonsai folder #5178
2024-09-05 17:19:15 +05:00
Andrej730
88319bfa57
Fix missing ifc2x3 tests for pset.edit_pset
2024-09-05 17:13:41 +05:00
Andrej730
cce4e426c3
util.get_pset to support ifc2x3 material props
2024-09-05 17:13:41 +05:00
Andrej730
7782ab5479
should_load_from_memory related poll messages
2024-09-05 15:38:32 +05:00
Andrej730
7e5bd0ca83
ifcwrap cmake - rebuild if .i files changed
bonsai-0.8.1-alpha240905
2024-09-05 15:08:36 +05:00
Andrej730
051d5479fb
Strip redundant newline in repr() for taxonomy items
...
E.g.
print([m.diffuse for m in shape.geometry.materials])
would print
[colour 0.7 0.7 0.7
]
Instead of:
[colour 0.7 0.7 0.7]
2024-09-05 15:08:36 +05:00
Andrej730
deb41d2158
Geometry settings documentation fixes #5312
2024-09-05 15:08:35 +05:00
Andrej730
ea6df7f617
Use latest syntax for setting geometry settings #5299
...
Also fixed:
- old include_curves use
- missing use of 'include_curves' in ifcopenshell.draw
2024-09-05 15:08:35 +05:00
Andrej730
fcf41bf00c
fix typing issue
...
Overloads were breaking because type checker is confused what default value should it use for the argument.
Made it keyword-only to resolve the issue.
2024-09-05 15:04:17 +05:00
tim
7c3fbda01e
Updated icons
...
- new master svg file for storing icons bonsai_icons.svg
script for exporting png files and generating light mode versions
support for light mode
2024-09-05 09:21:15 +10:00
`myoualid`
d0712c7186
1/ WEB UI Cost Schedule features to :
...
- delete cost items
- duplicate cost items
- delete individual cost values
- update cost values on the fly
- Shitf + LMB to recursively hide or show nested rows
2/ Improved UI for cost schedules
3/ Reuse css styles across pages with import statements
4/ Remove console/print statements
2024-09-04 23:39:46 +01:00
Andrej730
e1a5e73106
black format
bonsai-0.8.1-alpha240904
2024-09-04 18:52:09 +05:00
Andrej730
1282f5c308
geom.Iterate - fix incorrect typing, document some arguments #5299
2024-09-04 18:51:07 +05:00
Andrej730
b0eaf23d2c
Fix missing serializer_settings argument #5299
2024-09-04 18:51:07 +05:00
Andrej730
0ab70827e5
pset.assign_pset, pset.unassign_pset
2024-09-04 18:51:07 +05:00
Andrej730
691815fd41
Tools for handling shared psets #5291
...
In IFC it's possible for a property set to be assigned to multiple elements and which may lead to confusing behaviour when you edit a pset on one element and other element seems to get edited too.
Which makes it worse is that that it is possible that some software is might be doing this unintentionally when exporting IFC (as some sort of optimization as storing 1 is more optimal than n copies of it).
So now there are some tools in Bonsai and in IfcOpenShell to handle the shared psest:
1) Indication that property is shared - https://imgur.com/a/9dd3jST (similar to how Blender indicates ID data-block users). You can click on it to "unshare" the pset - a new copy for the pset will be created and it's going to be linked only to the active object.
2) api pset.unshare_pset method that does the same. And util.element.get_elements_using_pset method that encapsulates schema differences and different approaches for occurrences/types.
3) ifcpatch recipe 'UnsharePsets' that's making all property sets in the IFC file to have just 1 element that's using them. You can limit the affected elements by providing query.
ifcpatch recipe is also available in Bonsai - https://i.imgur.com/aOCx7HI.png
2024-09-04 18:51:06 +05:00
dependabot[bot]
3c3b56d1ae
Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 2 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v2...v4.1.7 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-09-04 10:43:04 +10:00
htlcnn
116192befd
fix last point coincides with first point
2024-09-03 16:36:45 -03:00
Bruno Perdigão
b6a96828ec
Fix #5277
2024-09-03 16:23:32 -03:00
Ryan Schultz
c4c611d778
whoops
2024-09-03 13:21:48 -05:00
Ryan Schultz
290c08d6d5
updated links in docs
2024-09-03 13:18:55 -05:00
Thomas Krijnen
eb7411b310
ifcopenshell.file.assign_header_from() to copy header
2024-09-03 18:49:05 +02:00
Andrej730
bea837299e
root.reassign_class to handle switching occurrence class <-> type class #5260
...
Kind of experimental. The idea is that it will reassign class e.g. from IfcWindow to IfcWindowType (or vice versa) and will keep the IFC representations and property sets.
Example - https://imgur.com/a/X7MHR0s
2024-09-03 18:53:25 +05:00
Andrej730
acbdc0ed4c
typing
2024-09-03 18:53:25 +05:00
Andrej730
bec1d913c5
util.representation.get_representations_iter
2024-09-03 18:38:22 +05:00
Andrej730
b957505bfc
bim.add_xxxx descriptions
2024-09-03 18:38:22 +05:00
Andrej730
3c69fffb19
ifcopenshell.validate fix missing space in indentation 😅
2024-09-03 18:38:22 +05:00
Andrej730
1c7e7c5269
prohibit user from removing a profile that still has inverses #5101
...
To avoid creating invalid material profile sets, representation items. Currently the only inverse that is allowed before removal is profile properties.
Example - https://i.imgur.com/UobI4pL.png
2024-09-03 18:38:21 +05:00
Andrej730
92525db14f
profile.remove_profile - tests
2024-09-03 18:38:21 +05:00
Andrej730
01d965fe25
profile.remove_profile - clean up removing profile psets
2024-09-03 18:38:21 +05:00