Commit Graph

9775 Commits

Author SHA1 Message Date
dushyant basson 21f741667e Using transformation-matrix data; Turned off world-coords; Re-using geometry of repeating IDs 2024-04-16 11:17:07 +02:00
dushyant basson 904c0c6b06 initial camera-orientation; multiple materials in a single element; default material used from IfcGeom; improved triangle node data generation for OSG 2024-04-16 11:17:07 +02:00
dushyant basson d91fa87dd8 update 2024-04-16 11:17:07 +02:00
dushyant basson e513e63d9a IFC file successfully parsed and loaded in Qt OpenGL widget 2024-04-16 11:17:07 +02:00
dushyant basson 3bb8bd5000 added header-guard 2024-04-16 11:17:07 +02:00
dushyant basson 6e7a43409e debug messages 2024-04-16 11:17:07 +02:00
dushyant basson ccb8135bb4 update 2024-04-16 11:17:06 +02:00
dushyant basson c7effd2498 Implemented: Application icons; OpenSceneGraph to handle OpenGL with Qt; devicePixelRatio() for handing render on highDPI displays; Sample 3D with handler; MouseHandler not yet working as expected (WIP) 2024-04-16 11:17:06 +02:00
Dushyant Basson 341e68907f updated .ico file 2024-04-16 11:17:06 +02:00
dushyant basson 22b953aba8 add application file icon for macos 2024-04-16 11:17:06 +02:00
Dushyant Basson 7bd08468d6 application file-icon and window-icon set on ms-windows 2024-04-16 11:17:06 +02:00
dushyant basson d4ad055e9b Removed .clangd file from tracking and added it to .gitignore 2024-04-16 11:17:06 +02:00
dushyant basson 4dda73b7bb Removed .clangd file from tracking and added it to .gitignore 2024-04-16 11:17:06 +02:00
dushyant basson 86157f1e15 adding qt resources 2024-04-16 11:17:06 +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 6b7936c0ce Fix typo in 92cf0d9 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 0fb2a7e5ec remove_representation not to leave brokens refs with batch_remove #4138 2024-04-16 11:17:06 +02:00
Andrej730 baf00b5b48 Purge IfcWindow/DoorStyle/IfcTypeProduct #4137 2024-04-16 11:17:06 +02:00
Sigma Dimensions (Yass) 38502734e8 consider unit basis for calculating resource costs #4122 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 9e3b3aca42 Fix for 308457300
Co-Authored-By: Bruno Postle <bruno@postle.net>
2024-04-16 11:16:59 +02:00
ay-ex c2b67ac665 fix cmake regex for used blender python version 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
krande 747c32b9b2 remove ci-py-only.yml as ci.yml already does this 2024-04-16 11:16:57 +02:00
krande f73a438d38 add test and update ci 2024-04-16 11:16:40 +02:00
krande c031ffc4b4 update ci 2024-04-16 11:16:40 +02:00
krande 2f3bfb340b add fix for ci tests 2024-04-16 11:16:38 +02:00
krande 680f075b1b remove ifc2x3 conditional in conversion utility 2024-04-16 11:16:08 +02:00
krande 5a61173052 update name of function to make its purpose more clear 2024-04-16 11:16:08 +02:00
krande 187da13de8 update unit_assignment 2024-04-16 11:16:08 +02:00
krande 5c75cc6a39 initial proposal for updating units conversion 2024-04-16 11:16:08 +02:00
Andrej730 c9200fb73c Fix #4124 2024-04-16 11:16:08 +02:00
Sigma Dimensions (Yass) 37b282d330 Fix CSV workschedule import - handle date-related attributes more gracefully 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
Thomas Krijnen 6309122516 nix build-all: don't strip non-release wrapper builds 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