Dion Moult
8efaf2fbcb
Attempt to bundle hppfcl for macosm1
2023-06-29 18:13:52 +10:00
Andrej730
d41068e132
Console warnings if drawing's assets not found #3325
blenderbim-230629
2023-06-29 10:15:02 +05:00
Andrej730
4e65f143da
unregistering spatial and structural tools on disabling addon
2023-06-28 16:54:43 +05:00
Andrej730
40656297a6
Fix for f88835b #3271
...
Now we do not rely on small offset to keep using inner curves to create linings, if some part of the lining is not present (which happens on mullions and transoms) we'll create U or L shape extrusion instead of rectangle with inner curve.
Long story short - this should keep ifc for windows valid.
2023-06-28 15:57:29 +05:00
Andrej730
f88835b87b
Corrected L shapes in window lining after e89a9cd #3271
...
From this - https://i.imgur.com/hQuCcR3.png
To this - https://i.imgur.com/qZ2Lyfo.png
It's a bit hacky since we still use really small offsets to keep "The outer curve shall enclose all inner curves." rule for IfcArbitraryProfileDefWithVoids valid.
2023-06-28 15:56:38 +05:00
Andrej730
8f18db64cf
Disable default stream mode for now to avoid errors #3354
2023-06-28 12:38:00 +05:00
Andrej730
fdd473234a
Poll message for bim.file_unassociate/bim.file_associate
2023-06-28 10:45:53 +05:00
Andrej730
569f56f713
Fixed error on saving styles without textures after 3aff29dec
2023-06-28 10:39:57 +05:00
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