Commit Graph

3526 Commits

Author SHA1 Message Date
Eduardo Schilling bcce268900 Add degrees format display 2024-04-16 11:25:27 +02:00
Eduardo Schilling 997803c4b2 Add stair calculated parameter Pitch 2024-04-16 11:25:27 +02:00
Dion Moult 583f3e30d7 Fix #4167. Bug where pset template module didn't allow creating qto template types. 2024-04-16 11:25:27 +02:00
Dion Moult 1591ad28bc Minor fix to loading nested ports 2024-04-16 11:25:27 +02:00
Dion Moult f7aafb6cac Fix #4176. Bug where tabbed interface didn't work on new or temporary screens. 2024-04-16 11:25:27 +02:00
Dion Moult 19f03639ee Fix #4178. Bug when removing the wrong classification reference. 2024-04-16 11:25:27 +02:00
CyrilWaechter 97072972f8 IfcRelSpaceBoundary: Add error handling and better error message for user 2024-04-16 11:25:27 +02:00
Sigma Dimensions (Yass) 80b7267e5e Display cost value names, and add import operator for cost schedule panel 2024-04-16 11:25:27 +02:00
CyrilWaechter 54fdfe2905 IfcRelSpaceBoundary: Create almost all boundaries for a selected space
* Refactor boundary creation to allow usage in a loop.
* Loop through all building element in building storey instead of stopping to the first one
* Enforce checking to prevent creation of invalid boundary geometries
2024-04-16 11:25:27 +02:00
CyrilWaechter 1c282e6828 Fix some url and add missing ones 2024-04-16 11:25:27 +02:00
CyrilWaechter b53b7f2f0c Bump IOS and use more update friendly url 2024-04-16 11:25:27 +02:00
CyrilWaechter ee79bae426 black boundary operator.py 2024-04-16 11:25:27 +02:00
CyrilWaechter 6dd7c8103a IfcRelSpaceBoundary: make sure parent boundary is whole 2024-04-16 11:25:26 +02:00
CyrilWaechter e2a01fcb52 IfcRelSpaceBoundary: Improve inner boundary generation workflow and boundary names
# Inner boundaries
Some software or workflow generates many opening for the same element (eg. window) so it is not relevant to create inner boundaries for opening with no filling.

# Boundary name
Apply convention for 1st and 2nd Level boundaries
2024-04-16 11:25:26 +02:00
Ryan Schultz 7df5ef6cd6 Applying multiple opening objects in bulk
Merry Christmas.
2024-04-16 11:17:07 +02:00
Andrej730 0980075c88 ifcpixeltexture tests to reflect actual order of data 2024-04-16 11:17:07 +02:00
Andrej730 5cae82cded Fixed issue with flipped ifcblobtexture loaded to blender 2024-04-16 11:17:07 +02:00
Andrej730 f409883536 save ifcblobtexture and ifcpixeltexture to .blend file 2024-04-16 11:17:07 +02:00
Andrej730 796dddaa7a Fixed issue changing type of object creating opening in an aggregate
More: https://community.osarch.org/discussion/1888/error-after-trying-to-change-a-window-type-whose-opening-is-applied-to-an-aggregate#latest

A bit related to #3973 in case if it will be resolved
2024-04-16 11:17:07 +02:00
Andrej730 7f4c3d629b Note on not allowing aggregates with representation #3973 2024-04-16 11:17:07 +02:00
Andrej730 a1e5aeb00a expose assign/unassign aggregation hotkey to bim tool ui 2024-04-16 11:17:07 +02:00
Andrej730 8a1149f0de Fix a few uses of assigning/unassigning agregation after 165262933 2024-04-16 11:17:07 +02:00
Sigma Dimensions (Yass) 6660ee3788 New Clash management panel to load IFCClash collision results 2024-04-16 11:17:06 +02:00
Sigma Dimensions (Yass) e87e53f840 fix smart clash group selection 2024-04-16 11:17:06 +02:00
Andrej730 994358c50d Support loading styles with IfcPixelTexture 2024-04-16 11:17:06 +02:00
Andrej730 6130f23a1a Allow copying node graphs for external shaders on Blender 4.1+ #3876 2024-04-16 11:17:06 +02:00
Andrej730 baf00b5b48 Purge IfcWindow/DoorStyle/IfcTypeProduct #4137 2024-04-16 11:17:06 +02:00
Andrej730 d03e3a33b5 Fix issue renaming objects first time project was loaded after 962b8fa
E.g. if you load a project and try to rename some element to "test" it will renamed to "test" instead of "IfcWindow/test" e.g.

Since we relid on `obj.name` handler to set `.is_renaming` back to `False`, it didn't set it back to False when project was just loaded and renamed object was not yet linked to ifc element and name handler is not yet setup.

Another option was to check whether object is linked before changing `is_renaming` but just setting it to False should be more more explicit.
2024-04-16 11:17:06 +02:00
Andrej730 50e568b706 prefix bim.assign/unassign_object to avoid operator override #4099
Co-Authored-By: Bruno Perdigão <57102715+brunoperdigao@users.noreply.github.com>
2024-04-16 11:16:59 +02:00
Andrej730 652c402d37 Temp disable setting paint_active_slot from external materials #4129 2024-04-16 11:16:59 +02:00
Andrej730 e907951952 Less console errors if failed to find external styles library
Now:
```
Error: Error loading external style - cannot find file: 'D:\Dropbox\GitHub\OD_Textures\Closed (Encrypted)\Materials.blend'
```

Before:
```
File "\blenderbim\bim\module\style\prop.py", line 250, in update_shading_style
Error: Error loading external style - cannot find file: 'D:\Dropbox\GitHub\OD_Textures\Closed (Encrypted)\Materials.blend'
Traceback (most recent call last):
  File "\blenderbim\bim\module\style\prop.py", line 255, in update_shading_style
    bpy.ops.bim.activate_external_style(material_name=blender_material.name)
  File "L:\Games\SteamLibrary\steamapps\common\Blender\4.0\scripts\modules\bpy\ops.py", line 109, in __call__
    ret = _op_call(self.idname_py(), kw)
RuntimeError: Error: Error loading external style - cannot find file: 'D:\Dropbox\GitHub\OD_Textures\Closed (Encrypted)\Materials.blend'
```
2024-04-16 11:16:59 +02:00
Andrej730 c9200fb73c Fix #4124 2024-04-16 11:16:08 +02:00
Sigma Dimensions (Yass) 7f4ab61b8a fix displaying derived task durations 2024-04-16 11:16:08 +02:00
Bruno Postle c55092f234 BlenderBIM IFC Git set push.autoSetupRemote
When pushing to a remote repository set tracking for the current branch
so that a locally created repository behaves the same (on the
command-line) as a cloned repository
2024-04-16 11:16:08 +02:00
Andrej730 8b69bf00f6 test for loading ifc with blob textures 2024-04-16 11:16:08 +02:00
Andrej730 f526819ef3 test for loading ifc style to blender material 2024-04-16 11:16:08 +02:00
Andrej730 e676c836c9 BBIM to support loading IfcBlobTexture 2024-04-16 11:16:08 +02:00
Andrej730 c02e0a5b01 support to add all surface style types creating new IfcSurfaceStyle
Previously it was working only for shading styles, for other styles it worked but then produced errors as IfcSurfaceStyle.Styles end up being None.
2024-04-16 11:16:08 +02:00
Dion Moult 25552163b5 Patch recipes can now be performed in-place and are sorted in the UI. 2024-04-16 11:16:08 +02:00
Dion Moult 7baffef9de Add support for manual classifications and references 2024-04-16 11:16:08 +02:00
Andrej730 37a7c8a41f disable rel paths for adding ref images and textures with unsaved .ifc 2024-04-16 11:16:08 +02:00
Andrej730 35fbd3363d Fixed issues using relative paths for external styles
- removed redundant notion about saving .blend file
- relative paths were saved incorrectly
- fix issue using "bim.browse_external_style" if IfcSurfaceStyle already has external style and it's either .blend file or material in it is missing (it was failing opening file browser)
2024-04-16 11:16:08 +02:00
Andrej730 863ed5f002 small error message fix
as it appears as one of the messages during .ifc load, that way it will be more clear that it's related to external styles
2024-04-16 11:16:08 +02:00
Andrej730 c60fed8b58 Fix issue BrowseExternalStyle not selecting current external style in file manager 2024-04-16 11:16:08 +02:00
Andrej730 1251a7838a Pull all shading related material attributes from external styles #4053 2024-04-16 11:16:08 +02:00
Dion Moult 83a12ea7f9 Nesting collections only generate for element nesting, not port nesting 2024-04-16 11:16:07 +02:00
Andrej730 ab47291760 Support editing IfcSurfaceStyleLighting in UI 2024-04-16 11:16:07 +02:00
Andrej730 3034d88a89 Support editing IfcSurfaceStyleRefraction in UI 2024-04-16 11:16:07 +02:00
Andrej730 fcd7d4186d Hide IfcStyledItem from bim.print_unused_elements_stats
as IfcStyledItem can be not referred by any other element and it doesn't mean it's not used in the project
2024-04-16 11:16:07 +02:00
Andrej730 b6b0e958b5 style.add_surface_texture to work without blender material provided 2024-04-16 11:16:07 +02:00