Carlos Dias
da3440d848
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2023-07-03 08:48:10 -03:00
Andrej730
e8b1d00e6d
adding default ifc objects added from shift-a menu to the current collection
2023-07-03 16:22:20 +05:00
Andrej730
6ec7e48423
Editiing arbitrary profile without enabling editing profile
...
It was a bit confusing UX since when you finish editing arbitrary profile path the data is already saved in ifc but you were still in editing profile properties
2023-07-03 15:54:51 +05:00
Andrej730
ccf09b962a
Update type manager thumbnails on editing profiles
...
Example - https://imgur.com/a/IcV8IIR
2023-07-03 14:34:20 +05:00
Andrej730
485d41ae09
disable chaching sound running the bim tests
...
to save someone's ears (probably mine 😁 ) from running 10 chaching sounds per second
2023-07-03 12:43:26 +05:00
Dion Moult
b67c5a0828
Fix #3366 . Fix crash in IfcDiff if you are comparing a model with no geometry.
2023-07-03 17:28:38 +10:00
Andrej730
7b92057227
Fixed errors displaying IFC Connections for IfcRelConnectsElements
...
IfcRelConnectsElements type of connection wasn't handled properly resulting in errors.
Now you should be able to see connections for connected slabs, walls etc - https://i.imgur.com/LpFBKBC.png
Traceback:
Traceback (most recent call last):
File "\blenderbim\bim\module\geometry\ui.py", line 102, in draw
ConnectionsData.load()
File "\blenderbim\bim\module\geometry\data.py", line 100, in load
cls.data = {"connections": cls.connections()}
File "\blenderbim\bim\module\geometry\data.py", line 134, in connections
relating_element_connection_type = rel.RelatingConnectionType
File "\blenderbim\libs\site\packages\ifcopenshell\entity_instance.py", line 171, in __getattr__
raise AttributeError(
AttributeError: entity instance of type 'IFC4.IfcRelConnectsElements' has no attribute 'RelatingConnectionType'
blenderbim-230703
2023-07-03 11:53:03 +05:00
Dion Moult
a980ce1bfa
Fix #3355 . Reimplement graphical clash snapshots in BCF from IfcClash in the BlenderBIM Add-on.
2023-07-03 16:50:40 +10:00
Dion Moult
51b7f24a00
You can now unload BCF projects to load another one.
2023-07-03 16:50:40 +10:00
Dion Moult
136e1c3b3f
Merge pull request #3364 from IfcOpenShell/interface-to-interact-with-Brickschema
...
Interface to interact with brickschema PR #1
2023-07-03 09:55:09 +10:00
Carlos Dias
c094517a10
Update operator.py
...
missing output file format in arguments
2023-07-03 09:42:17 +10:00
Carlos Dias
93aa24c6d2
Update operator.py
...
missing output file format in arguments
2023-07-02 20:25:51 -03:00
Andrej730
b61a11d5b7
reworked detecting neighbour walls when placing new ones
...
hopefully it will be a bit more natural now - please give feeback
before - https://imgur.com/a/VYQt5ua
now - https://imgur.com/a/5LRAmrd
2023-07-02 19:59:18 +05:00
Andrej730
012da8fcb9
More responsive UI for IFC search
2023-07-02 15:52:24 +05:00
Andrej730
d64c1358d7
a bit of bim.join_wall refactor
2023-07-02 11:04:00 +05:00
Andrej730
0252701f7a
Error editing roof profile #3357
...
it was assuming it's a slab and was giving errors trying to start editing slab profile
File "C:\Users\user\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\blenderbim\bim\module\model\slab.py", line 618, in _execute
if extrusion.Position:
AttributeError: 'NoneType' object has no attribute 'Position'
blenderbim-230702
2023-07-02 10:44:01 +05:00
Bruno Postle
6fed9bf795
BlenderBIM Git documentation minor corrections
2023-07-01 14:35:32 +01:00
Bruno Postle
b088a763d8
BlenderBIM document Git merge asymmetry ( #3096 )
2023-07-01 09:53:26 +01:00
Dion Moult
104fe56612
Whoops
2023-07-01 15:41:40 +10:00
Dion Moult
9e0760b8d2
Fix hppfcl segfault by bumping hppfcl and its dependencies. Remove support for py37.
blenderbim-230701
2023-07-01 15:37:21 +10:00
Andrej730
f26986645a
Added warning for a86456392
2023-06-30 18:19:23 +05:00
Andrej730
a86456392b
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
2023-06-30 18:05:26 +05:00
Andrej730
61de0ad64c
Calculating angle based on world position instead of camera pos #3362
2023-06-30 15:02:39 +05:00
Andrej730
243eee9ebf
Added support for OCCLUSION textures for 3aff29dec
2023-06-30 14:44:06 +05:00
Andrej730
f23ac034c7
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
2023-06-30 14:19:07 +05:00
Andrej730
363ede9801
set default position on creating window and door
...
to avoid validation errors like IfcProduct.PlacementForShapeRepresentation
2023-06-30 14:16:39 +05:00
Andrej730
18d26df24e
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
2023-06-30 13:42:01 +05:00
Andrej730
0df62d5746
updated furniture library after f5031035c and a385938
2023-06-30 13:30:09 +05:00
Andrej730
f5031035c7
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))
2023-06-30 13:27:00 +05:00
Thomas Krijnen
fc50bdd3a0
Fix openbot build
2023-06-30 09:32:10 +02:00
Kristoffer Andersen
3117d5b2e7
Update build.sh
...
Use only 1 cpu to reduce memory usage for conda builds
2023-06-30 09:27:15 +02:00
Riley Wong
e6dc1d1acd
Merge branch 'v0.7.0' into interface-to-interact-with-Brickschema
2023-06-30 00:05:20 -07:00
Trashman247
bd8afabce3
Resolve .git-ignore file conflict
2023-06-30 00:03:46 -07:00
Trashman247
01da8498f2
Move Brick.ttl ignore to main git-ignore file
2023-06-29 23:56:20 -07:00
Trashman247
a34b8d06ec
Silence known rdflib_sqlalchemy TypeError warning
2023-06-29 23:42:00 -07:00
Massimo Fabbro
5764cfcbb9
Add regen button also under space tool
2023-06-30 14:34:21 +10:00
Dion Moult
1ad2465ad4
See #3283 . Minor fix where IfcContext is abstract, so IfcProjectLibrary should be checked instead when loading filtered models.
2023-06-30 13:58:18 +10:00
Dion Moult
f28e28abc0
Fix failing build
2023-06-30 11:59:17 +10:00
Dion Moult
97e321dd12
Bundle qhull for hppfcl on Linux too
blenderbim-230630
2023-06-30 11:47:44 +10:00
Thomas Krijnen
fc4b36e759
Fix openbot build
2023-06-29 22:04:18 +02:00
Thomas Krijnen
832cdce934
Fix openbot build
2023-06-29 22:03:29 +02:00
Andrej730
e45974df62
Support for door/window/stair modifiers in ifc2x3
2023-06-29 18:38:06 +05:00
Andrej730
bba118ed19
ShapeBuilder to use IfcPolyline of IfcIndexedPolyCurve to support ifc2x3
...
needed it to add suport for window/door modifiers in ifc2x3 in the next commit
2023-06-29 18:38:06 +05:00
Andrej730
709590401c
fixing errors running tests if no tool selected in blender startup file
...
Error was: AttributeError: 'NoneType' object has no attribute 'idname'
2023-06-29 17:19:40 +05:00
Dion Moult
ab74d1456b
Bundle qhull for ifcclash on macosm1
2023-06-29 22:10:39 +10:00
Thomas Krijnen
4457da9042
Help swig not to trip over old occt handle definitions
2023-06-29 13:29:49 +02:00
Thomas Krijnen
d501118eb4
Add --prefilter flag to draw.py
2023-06-29 13:29:49 +02:00
Thomas Krijnen
0a03d20133
SVG prefiltering elements based on large faces
2023-06-29 13:29:49 +02:00
Andrej730
f3f56c0891
simplified dev installation script for mac/linux
2023-06-29 16:13:37 +05:00
Andrej730
a689b31279
Fixed crash on Mac m1 on removing unused types (similar to 4d0be1972)
2023-06-29 15:34:52 +05:00