Richard Brice
585eeb283a
emits * for derived entities instead of $
...
Validation service 0.6.4 started giving errors for entities with derived types where $ was used. The correct coding is *.
2024-07-10 12:51:27 -07:00
Andrej730
3a6c3a8312
add typing-extensions to ifcopenshell explicit dependencies
...
typing-extensions is official python package for supporting typing features on older versions.
It was kind of included in both blenderbim and to ifcopenshell as typing-extensions is also numpy dependency, included it explicitly just in case.
2024-07-10 21:37:34 +05:00
Andrej730
86fa24aba3
fix support for Python <3.11
2024-07-10 21:37:08 +05:00
Andrej730
474d8381ab
minor refactor
2024-07-10 18:38:39 +05:00
Andrej730
feea42f988
ifcopenshell.draw - add hlr_poly option
2024-07-10 15:34:35 +05:00
Andrej730
88d3152f04
bim.debug_active_drawing - fix issue running when Exclude is None
...
It was producing invalid selector expression "None, guid1, guid2, ..." leading to errors
2024-07-10 15:34:35 +05:00
Andrej730
515bfd1beb
make bim.profile_import_ifc a bit more friendly
2024-07-10 15:34:35 +05:00
Andrej730
472e2f8e59
Add to debug UI an operator to toggle detailed ifcopenshell logs
...
https://i.imgur.com/tqwRSYs.png
Ping @theoryshaw just in case, I can image Ryan finding lots of edge cases in v0.8.0 and this can help narrow them down😁
2024-07-10 15:34:35 +05:00
Andrej730
83a0d7a63c
prevent freezing the iterator in case of unhandled exceptions
...
Solving an issue in 355cca3 I've noticed that because of some unhandled exception iterator was freezing and hanging indefinitely, this should be resolved now to be safe.
Also added had_errors_during_initialization() method that can help identify whether there were errors either during iterator initialization or processing elements.
2024-07-10 15:34:35 +05:00
Dion Moult
4e78de6ce9
You can now select group and system data in selectors
blenderbim-0.7.9.240710
2024-07-10 17:30:38 +10:00
ay-ex
670bf9d4a6
fix use release tag for choco version label
2024-07-10 17:16:54 +10:00
Dion Moult
ad1183dab8
Update README.md with all distribution badges
2024-07-10 11:26:46 +10:00
Dion Moult
a1568641b0
Fix #4969 . Minor fix where demo library had misnamed slab thicknesses.
2024-07-10 09:23:12 +10:00
Dion Moult
76a6ad6596
Fix #4996 . Don't use assert_never to support Python 3.10.
2024-07-10 09:01:35 +10:00
Andrej730
355cca3679
Improve styles handling (partially support non-shading styles/fix bugs)
...
1) Previously create_shape (was failing with "RuntimeError: Unexpected topology") or iterator (was hanging indefinetely trying initialize with a IfcSlab from #4898 ) were breaking if element had a material that had IfcSurfaceStyle with just IfcExternallyDefinedSurfaceStyle and no IfcSurfaceStyleShading.
Now get_surface_style is returning IfcSurfaceStyle as first element of the pair even if there was no IfcSurfaceStyleShading - so it can be used to create a `taxonomy::style::ptr` with it to indicate that geometry is still referring to some style.
2) Added logs for unsupported presentation styles (non-IfcSurfaceStyles) to both `mapping::map_impl(const IfcSchema::IfcStyledItem* inst)` and `mapping::map_impl(const IfcSchema::IfcMaterial* material)`. Also `map_impl` will not break now if it will meet IfcCurveStyle.
2024-07-09 20:13:59 +05:00
Chirag Singh
7e1eadf54c
Wrapped import pyradiance in a try-except to accommodate mac intel
2024-07-09 23:30:57 +10:00
Chirag Singh
a2dead2dd7
Radiance Support added
2024-07-09 23:30:57 +10:00
Chirag Singh
220fb13eec
Created a UI for Radiance Rendering in the Services and System Panel
2024-07-09 23:30:57 +10:00
Dion Moult
7c1c139074
Attempt to bundle pyradiance
2024-07-09 22:03:04 +10:00
Dion Moult
3a3421897c
Forgot to implement autoguessed project norths from site/building guessed origins (typically for 2X3 models with no georeferencing data)
blenderbim-0.7.9.240709
2024-07-09 18:48:04 +10:00
Dion Moult
b34d10bd35
Bump IOS
2024-07-09 08:23:04 +10:00
Andrej730
8e86b3d1d8
util.shape - optimize by using shape buffers and numpy
2024-07-08 18:49:12 +05:00
Andrej730
acf135a6ed
Store item_ids in imported meshes and set them on toggling edit mode
...
It will be used later to add more IFC capabilities to EDIT mode.
Example - https://imgur.com/a/HAkjoCY
2024-07-08 17:46:11 +05:00
Andrej730
7c1459b83e
clean up ios_materials after they were processed
2024-07-08 17:46:11 +05:00
Andrej730
dd561d3703
remove material assignment listener #4843
2024-07-08 17:46:11 +05:00
Andrej730
24c4858570
Profiles UI - support renaming profiles by double-click
...
Example - https://imgur.com/a/05I5tSz
2024-07-08 17:45:43 +05:00
Andrej730
9690bfb1ed
Styles UI - support renaming styles by double click
...
Example - https://imgur.com/a/X7WBllz
2024-07-08 17:44:41 +05:00
Andrej730
fd48f70ef1
poll message that non-IfcSurfaceStyles are not currently supported
...
https://i.imgur.com/EBbMUaI.png
2024-07-08 17:43:55 +05:00
Andrej730
c33c19c483
Support renaming materials by double clicking them in materials ui
...
Example - https://imgur.com/a/NXr6Ku2
Which is especially important for non-IfcMaterials as they currently don't have their own editing UI (besides when they are applied to some element).
2024-07-08 17:43:55 +05:00
Andrej730
c9989c5f8f
Materials UI - indiciate currently active material type
...
Example - https://imgur.com/a/hn7iJgP
2024-07-08 17:43:55 +05:00
Andrej730
d996811306
don't consider material usages as overriding materials
...
All it does it removes the "Inherited Material Is Occurrence Overridden" label for material usages.
2024-07-08 17:43:55 +05:00
Andrej730
10b5910654
support assigning existing non-ifcmaterials materials
...
Example - https://imgur.com/a/KN8mQPL
Also added some description to material operators (https://imgur.com/a/eIVNEdU). Need to somehow emphasize that this UI is only for IfcMaterials and cannot be used to assign existing layer sets, profile sets, etc...
2024-07-08 17:43:55 +05:00
Andrej730
ee5b3d1775
show materials descriptions in the tooltip when assigning a material
...
Example - https://i.imgur.com/yi96BMa.png
2024-07-08 17:43:55 +05:00
Andrej730
b45a995bb3
typing
2024-07-08 17:43:55 +05:00
ay-ex
fc45e587c0
fix git clone depth
2024-07-08 20:40:03 +10:00
Thomas Krijnen
c18e4ea6ce
Update build-all.py
2024-07-08 08:48:53 +02:00
Dion Moult
ff662fdfcf
Merging projects now accomodates models with different project norths
blenderbim-0.7.9.240708
2024-07-08 11:38:42 +10:00
Thomas Krijnen
f075b0ca52
Update build-all.py
2024-07-07 21:51:03 +02:00
Dion Moult
a3844fe098
More tests and fixes for linking in models with different project norths
2024-07-07 23:59:13 +10:00
Dion Moult
d00e60369b
Bump IOS
2024-07-07 22:24:35 +10:00
Dion Moult
22b7027746
Fix bug where automatic false origin detection didn't do anything if linking from an empty Blender session
blenderbim-0.7.9.240707
2024-07-07 15:53:06 +10:00
Ryan Schultz
410fff6ee9
Fix #4494 - Be able to search (select objects in scene) from the Spreadsheet Import/Export UI, as well.
2024-07-06 11:43:39 -05:00
Dion Moult
9d11f8a25b
Linking in models now considers multiple project norths and federates it properly
2024-07-06 17:00:21 +10:00
Dion Moult
95f71a2e2f
You can now specify custom project norths when loading in models in absolute terms
2024-07-06 15:43:16 +10:00
Dion Moult
accb1890dc
Minor fix where bSDD didn't load IFC properties
2024-07-06 15:40:25 +10:00
Ryan Schultz
2a808318bf
fix #4665 - View layerset thicknesses in feet and inches format
blenderbim-0.7.9.240706
2024-07-05 22:26:36 -05:00
Andrej730
24d1a2ee64
black format
2024-07-05 18:33:49 +05:00
Andrej730
1d59edcbe8
typing & use common tool.Ifc.Operator class
...
Lazy imported some modules to prevent circular imports.
2024-07-05 18:33:49 +05:00
Andrej730
8a9ca9ac60
remove bbim material unassignment listener #4843
...
Listeners are implicit and get in the way sometimes, we should work on our core methods and make explicit calls.
2024-07-05 18:33:48 +05:00
Andrej730
7a89d8f5ed
smal core.material.unassign_material refactor
2024-07-05 18:33:48 +05:00