Bruno Postle
84b08fa448
BlenderBIM Git documentation minor corrections
2024-04-15 13:29:28 +02:00
Bruno Postle
e61c572743
BlenderBIM document Git merge asymmetry ( #3096 )
2024-04-15 13:29:28 +02:00
Dion Moult
fcd68a1e64
Whoops
2024-04-15 13:29:28 +02:00
Dion Moult
623ac1fe93
Fix hppfcl segfault by bumping hppfcl and its dependencies. Remove support for py37.
2024-04-15 13:29:28 +02:00
Andrej730
2122ab7bdc
Added warning for a86456392
2024-04-15 13:29:28 +02:00
Andrej730
49abaf6798
improved relative path handling for textures #3365
...
now we're going to store all texture paths in .ifc as posix to keep them working if .ifc moved from one platform to another
previously it was saving all paths as absolute
2024-04-15 13:29:28 +02:00
Andrej730
bfcc8decc0
Calculating angle based on world position instead of camera pos #3362
2024-04-15 13:29:28 +02:00
Andrej730
1357b83d99
Added support for OCCLUSION textures for 3aff29dec
2024-04-15 13:29:28 +02:00
Andrej730
0d74ffd52f
Shape builder - detect AdvancedSweptSolid
...
To avoid validation errors on creating wall mounted railings
#143=IfcShapeRepresentation(#15,'Body','SweptSolid',(#116,#126,#129,#139,#142))
Rule IfcShapeRepresentation.CorrectItemsForType:
IfcShapeRepresentationTypes(self.RepresentationType, self.Items)
Violated by:
False
+ where False = IfcShapeRepresentationTypes('SweptSolid', (#116=IfcSweptDiskSolid(#115,10.,$,$,$), #126=IfcExtrudedAreaSolid(#120,#124,#125,20.), #129=IfcSweptDiskSolid(#128,10.,$,$,$), #139=IfcExtrudedAreaSolid(#133,#137,#138,20.), #142=IfcSweptDiskSolid(#141,25.000000372529,$,$,$)))
+ where 'SweptSolid' = #143=IfcShapeRepresentation(#15,'Body','SweptSolid',(#116,#126,#129,#139,#142)).RepresentationType
+ and (#116=IfcSweptDiskSolid(#115,10.,$,$,$), #126=IfcExtrudedAreaSolid(#120,#124,#125,20.), #129=IfcSweptDiskSolid(#128,10.,$,$,$), #139=IfcExtrudedAreaSolid(#133,#137,#138,20.), #142=IfcSweptDiskSolid(#141,25.000000372529,$,$,$)) = #143=IfcShapeRepresentation(#15,'Body','SweptSolid',(#116,#126,#129,#139,#142)).Items
2024-04-15 13:29:28 +02:00
Andrej730
805d6652f1
set default position on creating window and door
...
to avoid validation errors like IfcProduct.PlacementForShapeRepresentation
2024-04-15 13:29:28 +02:00
Andrej730
2fc79e0bd3
Fixing ifc git poll errors if .ifc file is not yet saved
...
Errors:
Traceback (most recent call last):
File "\Blender\3.6\scripts\addons\blenderbim\bim\module\ifcgit\operator.py", line 20, in poll
if not os.path.isfile(path_ifc):
File "\Blender\3.6\python\lib\genericpath.py", line 30, in isfile
st = os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Traceback (most recent call last):
File "\Blender\3.6\scripts\addons\blenderbim\bim\module\ifcgit\operator.py", line 48, in poll
if not os.path.isfile(path_ifc):
File "\Blender\3.6\python\lib\genericpath.py", line 30, in isfile
st = os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
2024-04-15 13:29:28 +02:00
Andrej730
d511b6fdc8
updated furniture library after f5031035c and a385938
2024-04-15 13:29:28 +02:00
Andrej730
5c1a96c24c
Shape builder - avoid duplicated indices in polylines
...
For example
IfcLineIndex((1,2,3,4,1))
instead of
IfcLineIndex((1,2,2,3,3,4,4,1))
2024-04-15 13:29:28 +02:00
Thomas Krijnen
cb804f2e84
Fix openbot build
2024-04-15 13:29:28 +02:00
Massimo Fabbro
62a0b64b2a
Add regen button also under space tool
2024-04-15 13:29:20 +02:00
Dion Moult
3dd75e98a0
See #3283 . Minor fix where IfcContext is abstract, so IfcProjectLibrary should be checked instead when loading filtered models.
2024-04-15 13:29:20 +02:00
Dion Moult
82519a56c2
Fix failing build
2024-04-15 13:29:20 +02:00
Dion Moult
5f73a2b36d
Bundle qhull for hppfcl on Linux too
2024-04-15 13:29:20 +02:00
Thomas Krijnen
4e599cf132
Fix openbot build
2024-04-15 13:29:20 +02:00
Thomas Krijnen
b76beabb43
Fix openbot build
2024-04-15 13:29:20 +02:00
Andrej730
57f43fe608
Support for door/window/stair modifiers in ifc2x3
2024-04-15 13:29:20 +02:00
Andrej730
ced6326bfd
ShapeBuilder to use IfcPolyline of IfcIndexedPolyCurve to support ifc2x3
...
needed it to add suport for window/door modifiers in ifc2x3 in the next commit
2024-04-15 13:29:20 +02:00
Andrej730
2b3a7ba30c
fixing errors running tests if no tool selected in blender startup file
...
Error was: AttributeError: 'NoneType' object has no attribute 'idname'
2024-04-15 13:29:20 +02:00
Dion Moult
34d44c9e7c
Bundle qhull for ifcclash on macosm1
2024-04-15 13:29:20 +02:00
Thomas Krijnen
fe7d550ef7
Help swig not to trip over old occt handle definitions
2024-04-15 13:29:18 +02:00
Thomas Krijnen
727d075e0e
Add --prefilter flag to draw.py
2024-04-15 13:28:16 +02:00
Thomas Krijnen
09d7cd97c8
SVG prefiltering elements based on large faces
2024-04-15 13:28:13 +02:00
Andrej730
212b707464
simplified dev installation script for mac/linux
2024-04-15 13:25:51 +02:00
Andrej730
ac45b16e73
Fixed crash on Mac m1 on removing unused types (similar to 4d0be1972)
2024-04-15 13:25:51 +02:00
Andrej730
7a4baed6e6
Fix crash on Mac M1 on removing cost item
...
Crash happened because we were addressing `.id()` of already deleted `cost_item`.
Surprisingly for me on windows addressing `cost_item` was causing crash too but `cost_item.id()` worked fine.
2024-04-15 13:25:51 +02:00
Andrej730
704ec5e8f9
avoid errors unregistering tools from tests
2024-04-15 13:25:51 +02:00
Dion Moult
0e47b6ff34
Attempt to bundle hppfcl for macosm1
2024-04-15 13:25:51 +02:00
Andrej730
d522174247
Console warnings if drawing's assets not found #3325
2024-04-15 13:25:51 +02:00
Andrej730
5d01489251
unregistering spatial and structural tools on disabling addon
2024-04-15 13:25:51 +02:00
Andrej730
8d18a8a023
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.
2024-04-15 13:25:51 +02:00
Andrej730
e3b77613d3
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.
2024-04-15 13:25:51 +02:00
Andrej730
61be440545
Disable default stream mode for now to avoid errors #3354
2024-04-15 13:25:51 +02:00
Andrej730
1a7382ef40
Poll message for bim.file_unassociate/bim.file_associate
2024-04-15 13:25:51 +02:00
Andrej730
8a9dcbad2f
Fixed error on saving styles without textures after 3aff29dec
2024-04-15 13:25:51 +02:00
Andrej730
4e1acc7955
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
2024-04-15 13:25:50 +02:00
Dion Moult
9d462dab7d
Docs now point to the popular Search IFC Class website.
2024-04-15 13:25:50 +02:00
Dion Moult
bde5b52495
You can now exclude classes from streaming in ifcopenshell.stream
2024-04-15 13:25:50 +02:00
Andrej730
2fbb3c8ac6
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).
2024-04-15 13:25:50 +02:00
Dion Moult
531dc21d8e
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).
2024-04-15 13:25:50 +02:00
Dion Moult
17582f00cf
Naive implementation of file stream and Lark based IFC-SPF reader to handle huge IFCs.
2024-04-15 13:25:50 +02:00
Andrej730
bc20b4a899
Fixing tests after 2dc9dc200
2024-04-15 13:25:50 +02:00
Andrej730
6d152c4fc4
Support for import IfcSurfaceStyleWithTextures
...
Added UI for adding textures in BBIM shader graph generator
https://imgur.com/a/BI5pOZn
2024-04-15 13:25:50 +02:00
Dion Moult
9beae21615
See #3347 . Hotfix latest IfcOpenShell SQLite features when making builds.
2024-04-15 13:25:50 +02:00
Dion Moult
115bd32846
The BlenderBIM Add-on now supports loading IFCSQLite files!
2024-04-15 13:25:50 +02:00
Dion Moult
304a5594bb
You can now toggle loading geometry in advanced mode when loading a project
2024-04-15 13:25:50 +02:00