Commit Graph

9796 Commits

Author SHA1 Message Date
CyrilWaechter 331d7e87bb Add python 3.11 to blenderbim build matrix 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
Kristoffer Andersen d169991e13 Update meta.yaml
pin swig version for conda
2024-04-16 11:25:26 +02:00
Thomas Krijnen 2948d08c1d C++ get_psets() with extensive preprocessor trickery 2024-04-16 11:25:24 +02:00
Thomas Krijnen ebd995d98d Update src/ifcopenshell-python/docs/ifcopenshell-python/geometry_processing.rst 2024-04-16 11:17:58 +02:00
wangsenhui c6f7417ce8 add geometry processing with multiple representations example 2024-04-16 11:17:58 +02:00
wangsenhui 6084354932 add geometry processing with multiple representations example 2024-04-16 11:17:58 +02:00
wangsenhui 73f81b18fd add geometry processing with multiple representations example 2024-04-16 11:17:58 +02:00
Thomas Krijnen 2db6e0193f p21 binary should be uppercase 2024-04-16 11:17:56 +02:00
Andrej730 6baf3da67a ifctester - added some typing for IDE type hints 2024-04-16 11:17:07 +02:00
Andrej730 3008599eec Clean up IfcIndexedColourMap removing representation #4138
Because we wasn't removing colour map, remove_representation was producing orphaned IfcPolygonalFaceSet that were referred by colour map.
2024-04-16 11:17:07 +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
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