Andrej730
61607f9de2
Added IFC override operators to outliner/object context menus #3345
...
Outliner context menu - https://i.imgur.com/TkJKbLh.png
Object context menu - https://i.imgur.com/JXOEdYH.png
2023-06-28 10:32:33 +05:00
Dion Moult
40b34f6a33
Docs now point to the popular Search IFC Class website.
2023-06-28 13:30:36 +10:00
Dion Moult
89b0674b08
You can now exclude classes from streaming in ifcopenshell.stream
blenderbim-230628
2023-06-28 12:41:50 +10:00
Andrej730
e89a9cd01c
adjust window offset on transoms/mullions for symmetry #3271
...
Before - https://i.imgur.com/DbEzJ9H.png
After - https://i.imgur.com/0CERh86.png
Added it for modifier preview and ifc 2d and 3d repr but still need to work some things in 3d representation (L shape lining is not always detected correctly).
2023-06-27 19:30:49 +05:00
Dion Moult
20b63f530a
New option to enable streaming IFC data into BBIM.
...
To test, go into add-on preferences and enable "Should Stream". Then load an IFC-SPF in advanced mode, and disable "Load Geometry" before loading (the geometry iterator doesn't work with streaming).
2023-06-27 21:07:37 +10:00
Dion Moult
183230b7f5
Naive implementation of file stream and Lark based IFC-SPF reader to handle huge IFCs.
2023-06-27 21:03:02 +10:00
Andrej730
7e2b40176c
Fixing tests after 2dc9dc200
2023-06-27 15:29:05 +05:00
Andrej730
3aff29dec1
Support for import IfcSurfaceStyleWithTextures
...
Added UI for adding textures in BBIM shader graph generator
https://imgur.com/a/BI5pOZn
blenderbim-230627
2023-06-27 14:30:30 +05:00
Dion Moult
2da86c170f
See #3347 . Hotfix latest IfcOpenShell SQLite features when making builds.
2023-06-26 22:14:59 +10:00
Dion Moult
41a176cb6d
The BlenderBIM Add-on now supports loading IFCSQLite files!
2023-06-26 17:21:01 +10:00
Dion Moult
10e96239a1
You can now toggle loading geometry in advanced mode when loading a project
2023-06-26 17:13:34 +10:00
Dion Moult
897dfb1e33
ifcopenshell.sqlite wrapper now handles JSON fields by default, which is significantly more performant
...
f attributes holding entity lists are expanded in SQL, this means that you end up with significantly more rows. Also, you cannot have the ifc_id marked as a UNIQUE field / benefit from unique primary key index. So leaving the fields as JSON is actually significantly more efficient (almost 10X faster to load a model into BBIM).
2023-06-26 17:08:50 +10:00
Dion Moult
c1d972f7bf
Ifc2Sql patch now can store inverses for efficient queries.
2023-06-26 17:08:50 +10:00
Andrej730
1a5c501af0
Fixed typo in e3a7f7627
2023-06-26 10:48:50 +05:00
Andrej730
12c10f98a3
Fixing bug after 28cc168
...
Was causing some tests to fail
blenderbim-230626
2023-06-26 10:33:07 +05:00
Andrej730
e3a7f76276
Avoid ui errors after 2dc9dc200
blenderbim-230624
2023-06-24 10:19:35 +05:00
Andrej730
6dab4501ad
Unhide in render for not excluded objects #3338
...
Objects were hidden in render but never unhidden if they were no more in drawing's .Exlcude
2023-06-23 18:19:33 +05:00
Andrej730
2dc9dc2000
Generating IFC compatible shader graphs
...
Added new panel. in shader graph N-panel that allows you to create fully GLTF and IFC compatible shader graphs by just tweaking parameters from the panel. Note that it's still saved to IFC only when you hit "Save Current Style", before that it's still just stored in blender.
https://imgur.com/a/vmkoLPH
The premise is that if you want to have non-external style you'd be able to create it entirely from this panel - so there will no need to guess or to remember which parameters from the graph are supported by IFC and which are not.
It's still work in progress, still need to polish it, add support for more reflectance methods and add suport for textures (need to be able to import/export it with .ifc and set them from this panel).
2023-06-23 18:04:32 +05:00
Andrej730
addce9f0ea
Fixed #3342
blenderbim-230623
2023-06-23 17:15:10 +05:00
Andrej730
4a368938c3
Set shading flat by default to solve #3336
...
Before blender 3.6 it was setting flat shading by default, so we just keeping the same behaviour.
2023-06-22 22:00:42 +05:00
Thomas Krijnen
a0f68baefc
#2805 syntax
2023-06-22 16:23:32 +02:00
Thomas Krijnen
3decb48ed0
#2805 template keyword for gcc
2023-06-22 14:30:11 +02:00
Thomas Krijnen
2d330f4c90
#2805 IFC4X3 codegen
2023-06-22 14:10:55 +02:00
Thomas Krijnen
1c996013b6
#2805 Further fixes for aggregates of select
2023-06-22 14:10:55 +02:00
Thomas Krijnen
65cb47e2d8
#2805 IfcGeom dynamic casting updates
2023-06-22 14:07:34 +02:00
Thomas Krijnen
e9d0b8ab66
#2805 IfcGeom updates
2023-06-22 12:07:10 +02:00
Thomas Krijnen
0bb9bcd9fb
#2805 Pasta errors
2023-06-22 11:03:06 +02:00
Thomas Krijnen
997ebe48df
#2805 template keyword for gcc
2023-06-22 10:48:19 +02:00
Thomas Krijnen
0cdf72fde1
#2805 Rerun codegen
2023-06-22 10:30:57 +02:00
Thomas Krijnen
97c6b99d57
#2805 Use dynamic cast for generalize() due to virtual inheritance of selects
2023-06-22 10:30:42 +02:00
Thomas Krijnen
ed5d28de54
#2805 update hierarchy helper
2023-06-22 10:08:58 +02:00
Thomas Krijnen
f5c102402f
#2805 rerun codegen
2023-06-22 10:07:27 +02:00
Thomas Krijnen
7aa04611a1
#2805 provide aggregate typedef for select types
2023-06-22 10:07:26 +02:00
Andrej730
5c7f14cc3c
option to keep the viewport position on activating drawing #3333
...
currently it works with alt clicking activate drawing button
https://i.imgur.com/lgvP4QA.png
2023-06-22 10:15:39 +05:00
Andrej730
9e1249d8ee
Fixed #3335 caused by 36b746d
blenderbim-230622
2023-06-22 09:33:40 +05:00
Bruno Postle
6cb7234cb5
BBIM fix Git panel polling repo on refresh ( #3096 )
...
Just scrolling Git panel shouldn't do any Git IO
2023-06-21 21:42:50 +01:00
Thomas Krijnen
aab6a21bf3
#2805 rerun codegen
2023-06-21 19:25:05 +02:00
Thomas Krijnen
c72f960ed4
#2805 statically typed select types as aggregates
2023-06-21 19:25:04 +02:00
Massimo Fabbro
b63b4ce326
Add toggle space visibiity button into spatial tool menu
2023-06-21 18:57:41 +02:00
Andrej730
71113b56bf
refactor with SKIP_SAVE option on operator props
...
Co-Authored-By: Gorgious56 <25156105+Gorgious56@users.noreply.github.com >
2023-06-21 17:49:16 +05:00
Andrej730
ef57c209a0
More options to save .ifc as relative path in blender
2023-06-21 17:39:57 +05:00
Andrej730
e99c154cb2
Fixed tests after a4a6dce
2023-06-21 14:19:26 +05:00
Andrej730
520860bdb9
Fixed test after b035129
2023-06-21 14:19:25 +05:00
Andrej730
103e8a545b
Fixed test after c8c0c9a
...
Taking into account that now we have error messages if user will try to remove the last material layer which would make layer set invalid ifc.
FAILED test/bim/test_feature.py::test_remove_material_set_layer - AssertionError: Failed to run operator bpy.ops.bim.remove_layer(layer=IfcStore.get_file().by_id(93).MaterialLayers[...
2023-06-21 14:19:25 +05:00
Andrej730
d35c5c433f
Fixed missing ifc file in api call after 28cc168
...
Some bim test was failing because of it
FAILED test/bim/test_feature.py::test_assign_material__material_profile_set - AssertionError: No material Default found in profiled materials: []
2023-06-21 14:19:25 +05:00
Andrej730
7dc98612e4
Fixed void tests after d3d2c36
blenderbim-230621
2023-06-21 11:04:22 +05:00
Andrej730
3853258b27
Fixing test after 1c12a98
...
FAILED test/bim/test_feature.py::test_export_ifc__with_basic_contents_and_saving_as_a_relative_path - AssertionError: Value is C:\IfcOpenShell\src\blenderbim\test\files\temp\export.ifc
2023-06-21 10:16:03 +05:00
Andrej730
6825d26700
Small fix related to 5c2ae98c0 and a bit more descriptive operator error
...
FAILED test/bim/test_feature.py::test_create_project__ifc2x3 - AssertionError: Failed to run operator bpy.ops.bim.create_project
2023-06-21 09:58:41 +05:00
Andrej730
900c35e9fe
Fixing collections tests related to 99d9c0f5b
...
FAILED test/bim/test_feature.py::test_remove_drawing - AssertionError: The collection "IfcGroup/PLAN_VIEW" does not exist
2023-06-21 09:46:44 +05:00
Bruno Postle
7aafa87b52
BlenderBIM push Git tags to remote
...
Shows error message if push fails
2023-06-20 16:58:55 +01:00