Dion Moult
b5f63ec4f3
Fix #4196 . Settings are now saved when you save Spreadsheet export JSON files. Also a new setting to generate an SVG alongside the spreadsheet (intended to be used as a schedule placed on a sheet).
2024-01-13 15:03:51 +11:00
Dion Moult
aec2141128
Minor fix
2024-01-13 00:00:58 +11:00
Dion Moult
778344c804
Fix #4197 . URLs in SVG schedules are now clickable.
2024-01-12 23:44:45 +11:00
Dion Moult
3ede9b254f
Fix #4199 . Bug where external references on sheets weren't properly referenced leading to no names.
2024-01-12 19:48:32 +11:00
Dion Moult
8df40dc4a6
Fix #4203 . Fix bug where removing nested cost items left orphaned relationships.
2024-01-12 18:14:49 +11:00
Dion Moult
75dd4f3132
Fix #4204 . Add support for XLSX schedules on sheets.
2024-01-12 17:26:04 +11:00
Christoph Mellueh
be11df3dc1
sort code alphabetically
2024-01-12 08:43:50 +11:00
Christoph Mellueh
09ac212aa9
improve core file for better zen
2024-01-12 08:43:50 +11:00
Christoph Mellueh
e159151b44
update BsDD to match new API
...
+ move Functions from operator to core/tool
2024-01-11 12:00:44 +11:00
Dion Moult
27f6ac0575
Fix #4198 . Minor regression in updating text literals.
2024-01-11 09:53:48 +11:00
c4rlosdias
f840da3ffd
Added more comparisons in search
2024-01-10 23:21:18 +11:00
sennhvi
034df852b2
Update geometry_processing.rst
...
Add an usage example of the parameter include for the Geometry Iterator
2024-01-10 23:19:46 +11:00
Christoph Mellueh
f242071ebb
add pset view to groups
2024-01-10 23:14:33 +11:00
Sigma Dimensions (Yass)
b6663e9189
fix counting elements when importing cost schedules ( and run black)
2024-01-10 09:30:03 +01:00
Dion Moult
39d143668c
Fix #4186 . Support different RL insertion modes when adding occurrences of a type.
2024-01-10 18:53:05 +11:00
Dion Moult
6ea1e378c5
Fix bug where updating type text literals didn't propagate and formatting rounding null values wasn't handled.
2024-01-10 14:42:14 +11:00
Dion Moult
a33f30e8ce
Fix #4189 . Hidden or non-isolated objects now don't show annotations.
2024-01-10 12:29:56 +11:00
Christoph Mellueh
e79fb2ff0b
add typing to BsDD
2024-01-10 09:10:38 +11:00
Christoph Mellueh
054b4d0ee2
add deprecation warnings
2024-01-10 09:10:38 +11:00
Christoph Mellueh
43bebf4eee
update new api to BsDD
2024-01-10 09:10:38 +11:00
Thomas Krijnen
532869a48a
#4182 Properly initialize filename in stream_or_filename class
2024-01-09 13:41:38 +01:00
Dion Moult
6f1b40fc86
Fix #4162 . Reduce minimum area requirement for auto space generation down to 0.1sqm.
2024-01-09 18:20:51 +11:00
Dion Moult
734eec7715
See #4162 . Fix bug with generating space from cursor due to numerical inaccuracies and colinear lines for shapely.
2024-01-09 18:13:29 +11:00
Dion Moult
bfabc0db0f
Add support for groups in selection queries
2024-01-09 16:44:40 +11:00
Dion Moult
e71aac84dc
Fix #4175 . Add new UI for managing IFC object and edit modes.
2024-01-09 12:57:31 +11:00
Andrej730
c156100be2
Fix breaking spatial containers UI when spatial container is deleted
...
E.g. if you had some container selected in `active_container_id` and then it got deleted UI would break and won't allow to reload the spatial manger until you reload .ifc completely
2024-01-08 15:53:10 +05:00
Andrej
48c2b43a58
Merge pull request #4171 from c-mellueh/fix-SurfaceStyle-loader-bug
...
Fix Surface Style Loader Bug
2024-01-08 12:31:14 +05:00
Dion Moult
2f8cfb5a95
Fix #4161 . Deprecate unmaintained barebones LCA module.
2024-01-08 16:59:31 +11:00
Eduardo Schilling
1c4cc34c1b
Add degrees format display
2024-01-08 16:54:58 +11:00
Eduardo Schilling
b81e03d9c2
Add stair calculated parameter Pitch
2024-01-08 16:54:58 +11:00
Dion Moult
eb96858460
Fix #4167 . Bug where pset template module didn't allow creating qto template types.
2024-01-08 16:52:59 +11:00
Dion Moult
5c7e70e987
Minor fix to loading nested ports
2024-01-08 16:03:57 +11:00
Dion Moult
9093c9d419
Fix #4176 . Bug where tabbed interface didn't work on new or temporary screens.
2024-01-08 16:03:34 +11:00
Dion Moult
02a5b8d997
Fix #4178 . Bug when removing the wrong classification reference.
2024-01-08 13:48:35 +11:00
Sigma Dimensions (Yass)
f1b5f7d558
add conversion based unit symbols
2024-01-05 18:45:54 +01:00
Thomas Krijnen
742a9ecd81
IfcParseExamples requires C++17 now
2024-01-05 09:04:34 +01:00
Thomas Krijnen
77a497cdf7
Generalize shortened file.schema attribute
2024-01-04 15:05:40 +01:00
CyrilWaechter
00576ef574
IfcRelSpaceBoundary: Add error handling and better error message for user
2024-01-04 10:22:51 +01:00
Sigma Dimensions (Yass)
c26caaa58d
fix resource cost calculation
2024-01-04 09:33:55 +01:00
Sigma Dimensions (Yass)
b260bd3877
Record formula and resource name for cost values when calculating resource cost
2024-01-04 09:32:31 +01:00
Sigma Dimensions (Yass)
cd6246c382
fix cost value calculation when using parent cost
2024-01-04 09:30:27 +01:00
Sigma Dimensions (Yass)
a96d6dacc7
Display cost value names, and add import operator for cost schedule panel
2024-01-04 09:29:50 +01:00
CyrilWaechter
64c711a02a
IfcRelSpaceBoundary: Create almost all boundaries for a selected space
...
* Refactor boundary creation to allow usage in a loop.
* Loop through all building element in building storey instead of stopping to the first one
* Enforce checking to prevent creation of invalid boundary geometries
2024-01-03 16:37:10 +01:00
Christoph Mellueh
68a2480a66
turn list into tuple
2024-01-03 13:42:14 +01:00
CyrilWaechter
d5e2fd5d3c
Fix some url and add missing ones
2024-01-03 01:11:05 +01:00
CyrilWaechter
bb445663f8
Bump IOS and use more update friendly url
2024-01-03 00:22:50 +01:00
CyrilWaechter
1f7db75572
Add python 3.11 to blenderbim build matrix
2024-01-02 20:59:04 +01:00
CyrilWaechter
f478ec8d6b
black boundary operator.py
2024-01-02 18:49:50 +01:00
CyrilWaechter
cf3ba334b7
IfcRelSpaceBoundary: make sure parent boundary is whole
2024-01-02 18:49:05 +01:00
CyrilWaechter
c36af110c4
IfcRelSpaceBoundary: Improve inner boundary generation workflow and boundary names
...
# Inner boundaries
Some software or workflow generates many opening for the same element (eg. window) so it is not relevant to create inner boundaries for opening with no filling.
# Boundary name
Apply convention for 1st and 2nd Level boundaries
2024-01-02 17:52:23 +01:00
Kristoffer Andersen
91eac7085b
Update meta.yaml
...
pin swig version for conda
2024-01-02 15:46:48 +01:00
Thomas Krijnen
239d1d6fd2
C++ get_psets() with extensive preprocessor trickery
2023-12-30 16:14:10 +01:00
Thomas Krijnen
831709d514
Update src/ifcopenshell-python/docs/ifcopenshell-python/geometry_processing.rst
2023-12-30 10:03:10 +01:00
wangsenhui
5925476ed9
add geometry processing with multiple representations example
2023-12-30 10:03:10 +01:00
wangsenhui
3edb3c8df3
add geometry processing with multiple representations example
2023-12-30 10:03:10 +01:00
wangsenhui
72badd8427
add geometry processing with multiple representations example
2023-12-30 10:03:10 +01:00
Thomas Krijnen
7201df8d22
p21 binary should be uppercase
2023-12-26 14:28:45 +01:00
Andrej730
7b65108a76
ifctester - added some typing for IDE type hints
2023-12-26 16:18:08 +05:00
Andrej730
0fbe4d80c7
Clean up IfcIndexedColourMap removing representation #4138
...
Because we wasn't removing colour map, remove_representation was producing orphaned IfcPolygonalFaceSet that were referred by colour map.
2023-12-26 11:33:20 +05:00
Ryan Schultz
54c689d615
Applying multiple opening objects in bulk
...
Merry Christmas.
2023-12-25 10:33:49 -06:00
Andrej730
ab828b1a8b
ifcpixeltexture tests to reflect actual order of data
2023-12-25 16:22:08 +05:00
Andrej730
8ddd349f8b
Fixed issue with flipped ifcblobtexture loaded to blender
2023-12-25 16:21:05 +05:00
Andrej730
3221219f4a
save ifcblobtexture and ifcpixeltexture to .blend file
2023-12-25 14:36:58 +05:00
Andrej730
36387f348e
Fixed issue changing type of object creating opening in an aggregate
...
More: https://community.osarch.org/discussion/1888/error-after-trying-to-change-a-window-type-whose-opening-is-applied-to-an-aggregate#latest
A bit related to #3973 in case if it will be resolved
2023-12-25 11:49:06 +05:00
Andrej730
c39c6d81e3
Note on not allowing aggregates with representation #3973
2023-12-25 11:47:58 +05:00
Andrej730
e8042de1ed
expose assign/unassign aggregation hotkey to bim tool ui
2023-12-25 11:03:10 +05:00
Andrej730
78fd999c53
Fix a few uses of assigning/unassigning agregation after 165262933
2023-12-25 10:38:51 +05:00
dushyant basson
91d1cb79c2
Using transformation-matrix data; Turned off world-coords; Re-using geometry of repeating IDs
2023-12-24 11:57:14 +01:00
dushyant basson
832618b84a
initial camera-orientation; multiple materials in a single element; default material used from IfcGeom; improved triangle node data generation for OSG
2023-12-24 11:57:14 +01:00
dushyant basson
e4ce53d548
update
2023-12-24 11:57:14 +01:00
dushyant basson
7b92b5c7e2
IFC file successfully parsed and loaded in Qt OpenGL widget
2023-12-24 11:57:14 +01:00
dushyant basson
c8c08439b2
added header-guard
2023-12-24 11:57:14 +01:00
dushyant basson
3476ee8fd5
debug messages
2023-12-24 11:57:14 +01:00
dushyant basson
d2f331c813
update
2023-12-24 11:57:14 +01:00
dushyant basson
9e9b294f44
Implemented: Application icons; OpenSceneGraph to handle OpenGL with Qt; devicePixelRatio() for handing render on highDPI displays; Sample 3D with handler; MouseHandler not yet working as expected (WIP)
2023-12-24 11:57:14 +01:00
Dushyant Basson
f824ee8ca4
updated .ico file
2023-12-24 11:57:14 +01:00
dushyant basson
919f673108
add application file icon for macos
2023-12-24 11:57:14 +01:00
Dushyant Basson
b034b40b09
application file-icon and window-icon set on ms-windows
2023-12-24 11:57:14 +01:00
dushyant basson
34f038530f
Removed .clangd file from tracking and added it to .gitignore
2023-12-24 11:57:14 +01:00
dushyant basson
1c70990b06
Removed .clangd file from tracking and added it to .gitignore
2023-12-24 11:57:14 +01:00
dushyant basson
07eecad433
adding qt resources
2023-12-24 11:57:14 +01:00
Sigma Dimensions (Yass)
ef87f0fe74
New Clash management panel to load IFCClash collision results
2023-12-23 09:14:08 +01:00
Sigma Dimensions (Yass)
23c2d73e8e
fix smart clash group selection
2023-12-23 09:11:20 +01:00
Andrej730
0b47fb5987
Fix typo in 92cf0d9
2023-12-22 21:53:31 +05:00
Andrej730
8a1dee532b
Support loading styles with IfcPixelTexture
2023-12-22 19:22:14 +05:00
Andrej730
f0c6c4ca59
Allow copying node graphs for external shaders on Blender 4.1+ #3876
2023-12-22 16:40:48 +05:00
Andrej730
92cf0d9265
remove_representation not to leave brokens refs with batch_remove #4138
2023-12-22 16:04:52 +05:00
Andrej730
7c438b6b9b
Purge IfcWindow/DoorStyle/IfcTypeProduct #4137
2023-12-21 14:26:43 +05:00
Sigma Dimensions (Yass)
46454c5c94
consider unit basis for calculating resource costs #4122
2023-12-20 14:19:16 +01:00
Andrej730
73aeafb063
Fix issue renaming objects first time project was loaded after 962b8fa
...
E.g. if you load a project and try to rename some element to "test" it will renamed to "test" instead of "IfcWindow/test" e.g.
Since we relid on `obj.name` handler to set `.is_renaming` back to `False`, it didn't set it back to False when project was just loaded and renamed object was not yet linked to ifc element and name handler is not yet setup.
Another option was to check whether object is linked before changing `is_renaming` but just setting it to False should be more more explicit.
2023-12-20 16:51:02 +05:00
Kristoffer Andersen
e06297940f
Update ci.yml
...
Hopefully this fixes ccache
2023-12-20 12:28:24 +01:00
Andrej730
1652629332
prefix bim.assign/unassign_object to avoid operator override #4099
...
Co-Authored-By: Bruno Perdigão <57102715+brunoperdigao@users.noreply.github.com >
2023-12-20 13:51:26 +05:00
Andrej730
3d8de40407
Fix for 308457300
...
Co-Authored-By: Bruno Postle <bruno@postle.net >
2023-12-20 11:00:24 +05:00
ay-ex
308457300e
fix cmake regex for used blender python version
2023-12-19 15:46:32 +05:00
Andrej730
6ef96841ac
Temp disable setting paint_active_slot from external materials #4129
2023-12-19 14:38:23 +05:00
Andrej730
289b2d1e9d
Less console errors if failed to find external styles library
...
Now:
```
Error: Error loading external style - cannot find file: 'D:\Dropbox\GitHub\OD_Textures\Closed (Encrypted)\Materials.blend'
```
Before:
```
File "\blenderbim\bim\module\style\prop.py", line 250, in update_shading_style
Error: Error loading external style - cannot find file: 'D:\Dropbox\GitHub\OD_Textures\Closed (Encrypted)\Materials.blend'
Traceback (most recent call last):
File "\blenderbim\bim\module\style\prop.py", line 255, in update_shading_style
bpy.ops.bim.activate_external_style(material_name=blender_material.name)
File "L:\Games\SteamLibrary\steamapps\common\Blender\4.0\scripts\modules\bpy\ops.py", line 109, in __call__
ret = _op_call(self.idname_py(), kw)
RuntimeError: Error: Error loading external style - cannot find file: 'D:\Dropbox\GitHub\OD_Textures\Closed (Encrypted)\Materials.blend'
```
2023-12-19 14:38:23 +05:00
Kristoffer Andersen
96db699ad2
Merge pull request #4125 from Krande/fix/convert-units
...
Proposal for updating IfcPatch ConvertLengthUnit.py for compatibility with boost>=1.82
2023-12-19 06:43:01 +01:00
Andrej730
6b7eec0db6
Fix #4124
2023-12-18 12:28:19 +05:00
Sigma Dimensions (Yass)
80f35d0bda
Fix CSV workschedule import - handle date-related attributes more gracefully
2023-12-17 20:25:23 +01:00
Sigma Dimensions (Yass)
df390a655d
fix displaying derived task durations
2023-12-17 20:20:52 +01:00
krande
593fca7c3d
remove ci-py-only.yml as ci.yml already does this
2023-12-17 18:42:15 +01:00
krande
9335c8a0c8
add test and update ci
2023-12-17 18:09:28 +01:00
krande
eccc21277d
update ci
2023-12-17 15:42:38 +01:00
krande
2ce7e16537
add fix for ci tests
2023-12-17 15:33:35 +01:00
Thomas Krijnen
49835ee303
nix build-all: don't strip non-release wrapper builds
2023-12-17 13:18:34 +01:00
krande
f5500da0af
remove ifc2x3 conditional in conversion utility
2023-12-16 14:18:13 +01:00
krande
c9552fac29
update name of function to make its purpose more clear
2023-12-16 14:01:36 +01:00
krande
b11b3b7fa8
update unit_assignment
2023-12-16 13:47:18 +01:00
krande
8aecee5836
initial proposal for updating units conversion
2023-12-16 13:37:38 +01:00
Bruno Postle
2f3b3011ec
BlenderBIM IFC Git set push.autoSetupRemote
...
When pushing to a remote repository set tracking for the current branch
so that a locally created repository behaves the same (on the
command-line) as a cloned repository
2023-12-15 23:26:52 +00:00
Andrej730
491c9203b0
test for loading ifc with blob textures
2023-12-15 18:19:59 +05:00
Andrej730
7f2b996d23
test for loading ifc style to blender material
2023-12-15 18:19:59 +05:00
Andrej730
d2ea6f6656
BBIM to support loading IfcBlobTexture
2023-12-15 18:19:59 +05:00
Andrej730
25128e8aa8
support to add all surface style types creating new IfcSurfaceStyle
...
Previously it was working only for shading styles, for other styles it worked but then produced errors as IfcSurfaceStyle.Styles end up being None.
2023-12-15 18:19:59 +05:00
Dion Moult
30fa917e69
Patch recipes can now be performed in-place and are sorted in the UI.
2023-12-15 23:09:34 +11:00
Dion Moult
40e494996d
Add support for manual classifications and references
2023-12-15 23:09:34 +11:00
Andrej730
cfdc54064e
disable rel paths for adding ref images and textures with unsaved .ifc
2023-12-14 18:53:54 +05:00
Andrej730
6daead6b61
Fixed issues using relative paths for external styles
...
- removed redundant notion about saving .blend file
- relative paths were saved incorrectly
- fix issue using "bim.browse_external_style" if IfcSurfaceStyle already has external style and it's either .blend file or material in it is missing (it was failing opening file browser)
2023-12-14 18:47:55 +05:00
Andrej730
241d52f0ad
small error message fix
...
as it appears as one of the messages during .ifc load, that way it will be more clear that it's related to external styles
2023-12-14 18:43:17 +05:00
Andrej730
68dd93da1d
Fix issue BrowseExternalStyle not selecting current external style in file manager
2023-12-14 17:43:12 +05:00
Andrej730
82703670f0
Pull all shading related material attributes from external styles #4053
2023-12-14 17:42:17 +05:00
Dion Moult
cb8462a0d0
New SetWorldCoordinateSystem patch. Autodesk software is starting to pay attention to this attribute which I find really confusing.
2023-12-14 17:02:00 +11:00
Dion Moult
000245c26c
Nesting collections only generate for element nesting, not port nesting
2023-12-14 16:50:56 +11:00
Andrej730
d97ee8eed4
Support editing IfcSurfaceStyleLighting in UI
2023-12-13 16:57:23 +05:00
Andrej730
f8af28f12a
style.edit_surface_style to support editing IfcSurfaceStyleLighting
...
It was failing because api method wasn't supporting IfcColourRgb attributes edit in general but only for IfcSurfaceStyleShading.SurfaceColour
2023-12-13 16:53:58 +05:00
Andrej730
f6fab30d0a
Support editing IfcSurfaceStyleRefraction in UI
2023-12-13 15:16:52 +05:00
Andrej730
f1a4ed702b
Hide IfcStyledItem from bim.print_unused_elements_stats
...
as IfcStyledItem can be not referred by any other element and it doesn't mean it's not used in the project
2023-12-13 14:29:10 +05:00
Andrej730
c4080626df
style.add_surface_texture to work without blender material provided
2023-12-13 14:07:48 +05:00
Bruno Postle
a8078e38d2
Fix Clipping divide error (reported in #4057 )
2023-12-12 22:15:59 +00:00
Andrej730
c52fe8abf9
data.py rename for consistency
2023-12-12 16:14:19 +05:00
Andrej730
b310b5aaba
Remove old external styles UI from material in favor of general styles UI
...
Adding external styles from other styles now also moved to general styles UI - https://i.imgur.com/uEyjKVY.png
2023-12-12 16:12:55 +05:00
Andrej730
7246e75085
Fix after 2520a9305
2023-12-12 15:32:40 +05:00
Andrej730
48c0378bff
Fixed #4105
2023-12-12 14:48:04 +05:00
Andrej
91c90e7b86
Merge pull request #4095 from c4rlosdias/v0.7.0
2023-12-12 14:09:14 +05:00
Thomas Krijnen
72abdb0569
Update build-all.py - py vers
2023-12-11 16:00:36 +01:00
Andrej730
7947ba4aaf
Override some more blender scene panels #3842
2023-12-11 16:35:21 +05:00
Andrej730
2520a93055
Fix issues unregistering overridden panels
...
Previously overridden scene panels were removed but original panels were not restored.
Also added condition check for Blender version to generate list of panels to override, so we won't miss any errors using `try - except`.
2023-12-11 16:35:21 +05:00
Andrej730
fa480d99a2
Procedural override for default blender panels, hide keying panels #3842
...
also fixed the issue with default scene panels that were parented to other panels - because we didn't change `bl_parent_id` the panel structure for them was broken.
2023-12-11 16:35:21 +05:00
Bruno Postle
72c057e7a0
BlenderBIM user docs update after 6452872
2023-12-10 22:13:05 +00:00
Carlos Dias
61cfb361fa
Update __init__.py
...
Fix bug
2023-12-08 11:09:28 -03:00
Andrej730
3786cfa666
Fixed issues with linked elements from linked blend files #4081
...
In #4081 reported the case when during redo (changing param in operator's popup) `Ifc.rebuild_element_maps` was relinking elements without discarding possible linked blender libraries. It end up accidentally linking some library's objects to the current Ifc file leading to errors.
Also fixed possible similar issue in couple other places.
2023-12-08 18:38:09 +05:00
Andrej730
cabc06821f
test for tool.Blender.copy_node_graph #3876
2023-12-08 16:58:11 +05:00
Dion Moult
f9fef4f5f6
Fix #4085 . Classification reference URIs now have a button you can jump to that link.
2023-12-08 16:35:46 +11:00
Dion Moult
7c89d072e2
Fix #4086 . Add support for non predefined bSDD pset and qto values.
2023-12-08 15:07:46 +11:00
Dion Moult
dbb9e8c907
Fix #4092 . Minor bug with bad detection of text literals when switching geometry.
2023-12-08 14:03:46 +11:00
Dion Moult
2df5b4c70e
Fix #4090 . Bug where profile set generator didn't accommodate optional axes.
2023-12-08 12:17:48 +11:00
Andrej730
a5aa608240
Fix reference images import after styles ui change
2023-12-07 18:09:17 +05:00
Andrej730
f7454366cc
Representation Items UI - replace icon for active style
...
Now it's more consistent because we use the same icon is Styles UI
2023-12-07 18:09:17 +05:00
Andrej730
f773480917
style.edit_surface_style - fix crash setting attribute to None
...
Occured on setting IfcColourOrFactor attribute to None (e.g. DiffuseColour).
2023-12-07 18:09:17 +05:00
Andrej730
89f9cd0403
Styles UI - moved UI from shader graph N-panel to Styles UI #3912
...
Moved all shading style and textures parameters from shader-graph N-panel to general Styles UI. Shader graph now also update in real time on any prop changes in Styles UI.
Now there is practically no need to switch to shader graph to edit styles shaders - all parameters are available from the Styles UI. That also allows you to edit styles and see the results in viewport even if the edited style is not the one that's currently active.
small demo - https://imgur.com/a/i2suoZw
2023-12-07 18:09:16 +05:00
Martin15135215
b21159c6b3
add cff for ifcsverchok
2023-12-07 13:42:32 +11:00
Martin15135215
227f556669
add cff for serializers
2023-12-07 13:42:32 +11:00
Martin15135215
42bd69929c
add cff for qtviewer
2023-12-07 13:42:32 +11:00
Martin15135215
a3532b24b3
add cff for ifcwrap
2023-12-07 13:42:32 +11:00
Martin15135215
5486c4c8e9
add cff for ifctester
2023-12-07 13:42:32 +11:00
Martin15135215
0259d4c0cd
add cff for ifcpatch
2023-12-07 13:42:32 +11:00
Martin15135215
66c4c61dc2
add cff for ifcparse
2023-12-07 13:42:32 +11:00
Martin15135215
0f32ffe232
add cff for ifcopenshell-python
2023-12-07 13:42:32 +11:00
Martin15135215
72630de77a
add cff for ifcmax
2023-12-07 13:42:32 +11:00
Martin15135215
9395bed72b
add cff for ifcjni
2023-12-07 13:42:32 +11:00
Martin15135215
507a5cab83
add cff for ifcgeom_schema_agnostic
2023-12-07 13:42:32 +11:00
Martin15135215
a46a60996d
add cff for ifcgeom
2023-12-07 13:42:32 +11:00
Martin15135215
3106168889
add cff for ifcfm
2023-12-07 13:42:32 +11:00
Martin15135215
7e0c0c5c83
add cff for ifcdiff
2023-12-07 13:42:32 +11:00
Martin15135215
19205c8774
add cff for ifccsv
2023-12-07 13:42:32 +11:00
Martin15135215
62b5f1d728
add cff for ifcconvert
2023-12-07 13:42:32 +11:00
Martin15135215
299df62758
add cff for ifcclash
2023-12-07 13:42:32 +11:00
Martin15135215
e58bfde500
Add cff for ifccityjson
2023-12-07 13:42:32 +11:00
Martin15135215
b60306cdbd
add cff for ifcblender
2023-12-07 13:42:32 +11:00
Bruno Perdigão
61e0549e65
add_aggregate now add the empty using the 3d cursor location
2023-12-07 13:40:16 +11:00
Ryan Schultz
52ae759218
Added classification to selector
2023-12-07 13:39:42 +11:00
c4rlosdias
9b41614eff
Update Load bSDD domains
2023-12-07 13:38:25 +11:00
Dirk Olbrich
58e01751c1
bbim-docs: add interface property editor section
...
- add stubs for each sub-tab
2023-12-07 13:19:46 +11:00
Dirk Olbrich
624134d033
bbim-docs: use figure with caption instead of plain image
2023-12-07 13:19:46 +11:00
Dirk Olbrich
22f83b68e4
bbim-docs: update workspace doc for sidebar panels
2023-12-07 13:19:46 +11:00
Dion Moult
1b35ea122e
Implement support for managing nest hosts and components.
2023-12-07 13:19:29 +11:00
Ryan Schultz
f1deefbcb3
Merge pull request #3969 from brunoperdigao/refactor-duplicate-aggregate
...
Refactor duplicate aggregate
2023-12-06 14:39:43 -06:00
Dion Moult
d6c020b5ee
Fix #4076 . Fix bug where drawing activation priorities didn't match drawing generation priorities, and switching to a text literal representation failed.
2023-12-06 23:04:21 +11:00
Dion Moult
ff4eddf38a
Fix #4078 . Bug in IfcTester that didn't allow certain facets to be used as applicabilities. Also canonicalise facet ordering for convenience.
2023-12-06 15:06:11 +11:00
Dion Moult
2b34dc4ce7
Fix bug in TessellateElements patch recipe where sometimes the patch would run forever.
2023-12-06 14:16:18 +11:00
Dion Moult
530260ebe7
Run black on cityjson2ifc
2023-12-05 09:54:38 +11:00
Dion Moult
594268c860
Fix two minor bugs in cityjson2ifc
2023-12-05 09:54:38 +11:00
Andrej730
e5fa8a01b4
fixed couple styles ui bugs
...
1) it was failing adding a new IfcSurfaceStyle if surface_style_class != Shading/Render as surface_style was not defined
2) It was never creating render material as IfcSurfaceStyleRendering class is a child of IfcSurfaceStyleShading and if statement never got to the is_a("IfcSurfaceStyleRendering") check
2023-12-04 17:38:22 +05:00
Andrej730
ad934cd9a6
Use paths relative to .ifc instead of .blend choosing texture paths
...
Texture path file dialog is also filtering image files now.
Removed subtype from `FILE_PATH` from all related props since `layout.prop()` for those props starts file dialog that cannot return path relative to .ifc. It can return path relative to .blend - though it can be processed in props update to convert to relative to .ifc, this doesn't allow setting relative paths if .blend is not saved. Therefore, I've created a separate operator.
add
2023-12-04 16:42:31 +05:00
Andrej730
92fe325816
Store reference images by relative paths #3447
2023-12-04 16:42:31 +05:00
Andrej730
818bb9c823
Fix normals for generic parametric stairs #4020
...
Also made concrete stair normals defined more explicitly.
2023-12-04 16:42:30 +05:00
Andrej
d71fad988d
Merge pull request #4071 from maxfb87/fix_clone_opening
2023-12-04 16:39:34 +05:00
Dion Moult
ff0d6c810f
Fix #4072 . IDS reports now include filename.
2023-12-04 17:26:57 +11:00
Dion Moult
8b72929d22
Fix #4073 . Objects with no applicable context for the drawing view are now hidden.
2023-12-04 12:47:07 +11:00
Bruno Postle
6452872e83
BlenderBIM IFC Git allow branch creation from HEAD
...
Previously you could only create branches by checking out an older
revision, making changes and committing it. This was an annoyance as
typically you are making changes to the HEAD of a branch, then you
realise this should have been a branch - now you can create the branch
on commit (#3096 )
2023-12-03 16:15:09 +00:00
Ryan Schultz
88d2c61453
Merge pull request #3906 from IfcOpenShell/si_unit_w_cad_tools
...
allow SI with CAD tools.
2023-12-03 09:59:14 -06:00
Bruno Postle
f777be6403
BlenderBIM IFC Git fix typo in function name
2023-12-02 23:59:07 +00:00
Massimo Fabbro
9aad249586
fix #3834 . Now clone opening produces valid IFC files
2023-12-02 17:38:28 +01:00
Thomas Krijnen
7168f8eeff
#2796 don't fail on null guid for rooted element deletion
2023-12-01 15:49:31 +01:00
Andrej730
da306c6141
Reference images attached to the drawings #3447
...
You can also save them as annotation types.
Example - https://imgur.com/a/6trT7SZ
2023-12-01 17:05:02 +05:00
Andrej730
e53c0b74b1
bim.update_representation to save non-body representations styles #3447
2023-12-01 16:53:50 +05:00
Andrej730
cb2f58ba0f
Fixed issue importing drawing's IfcAnnotations with styles #3447
2023-12-01 16:53:50 +05:00
Andrej730
c0c7727f36
fix poll errors
2023-12-01 16:53:50 +05:00
Andrej730
60526e62b4
Revert "Minor fix - remove redundant code"
...
This reverts commit 7828508179 .
Turned out when I was assuming `bim.add_style` is assigning the style but it wasn't, it was `bim.update_representation` on the file save. So basically during the session style wasn't assigned, therefore I added back explicit style assignment. 😬
2023-12-01 16:53:50 +05:00
Andrej730
496e58418a
fixed typo
2023-12-01 16:53:50 +05:00
Thomas Krijnen
b976ad3880
occ_utils.py - #1037
2023-12-01 12:42:09 +01:00
MicheleBenedetti
31a763fe12
mistype-fix
2023-12-01 10:34:11 +11:00
Andrej730
93ef2d0349
Fixed issues applying arrays
...
because pset wasn't removed BBIM was recognizing those elements as parts of an array resulting in issues during deletion and duplication. This issue is a regression after ec4f0e5 , the root problem was that `keep_objs` wasn't working with `sync_children`.
Since `keep_objs` was used only for applying array layers I've replaced it with `array_layers_to_apply` that works for both `sync_children` = True and False.
https://community.osarch.org/discussion/1831/duplicating-failed-for-array-items-after-apply-array
2023-11-30 16:24:39 +05:00
Andrej730
7828508179
Minor fix - remove redundant code
...
style assignment was already done by `bim.add_style`
2023-11-30 10:41:57 +05:00
Dion Moult
7aa6be8e8a
FixRevitTINs patch now also flips normals for surface TINs instead of solid TINs.
...
Minor fixes to use view_layer.object.active etc instead of context.active_object when running via Blender UI (it seems when you run the patch recipe from the Blender UI at least in later versions, context does not have an "active_object" property.
2023-11-30 14:58:32 +11:00
Andrej730
0679956add
bim.add_reference_image #3447
...
Added operator to load image references as planes that will be stored in IFC.
Button location - https://i.imgur.com/L87BPyX.png
Example - https://imgur.com/a/JJXyU6C
2023-11-29 17:23:27 +05:00
Andrej730
b86f924543
move all operators added to "add mesh" menu to common method in ui.py
2023-11-29 15:12:33 +05:00
Dion Moult
962b8fac67
Fix #4049 . New basic "regenerate occurrence name" operator.
2023-11-29 17:36:59 +11:00
Dion Moult
fdcb705551
Fix #4054 . You can now select objects based on diff results.
2023-11-29 16:27:20 +11:00
Dion Moult
b80ca3c167
See #4054 . Diffing now allows partial loading of changed elements to make it easier to visualise without loading and linking two models.
2023-11-29 15:57:59 +11:00
Dion Moult
e8bd272189
Fix #4057 . Data objects for the API are now in util.data instead of mixed into the shape builder utility and only depends on numpy.
2023-11-29 14:36:01 +11:00
Bruno Postle
25bd94e84a
minor documentation typo fix
2023-11-28 23:28:38 +00:00
Bruno Postle
5face7170f
Fix python 3.12 SyntaxWarning ( #4045 )
...
Regular expressions now need to be double-escaped:
https://docs.python.org/3/whatsnew/3.12.html#other-language-changes
2023-11-28 22:51:58 +00:00
Dion Moult
434a11a502
Fix #4057 . Move clipping info dataclass to util.shape_builder
2023-11-29 09:28:24 +11:00
krande
eb91f5179b
suggested change of ifcwrap pythoninterpreter function to no longer rely on distutil (which is deprecated in python 3.12).
2023-11-28 15:03:31 +01:00
Andrej730
c6643da4ba
created uv map to have constistent name with Blender uvs
...
Previously it was named "Float2"
2023-11-28 16:01:10 +05:00
Andrej730
18c93a13ec
moved load_texture_map to tool.Loader, added a test
2023-11-28 15:53:40 +05:00
Andrej730
7cb582de5d
bim.save_uv_to_style - experimental operator to save current uv to ifc
...
it's very limited and covering very little cases now. It works only for IfcPolygonalFaceSets representations that consists of triangles.
Short example - https://imgur.com/a/1AxunSN
2023-11-28 15:53:40 +05:00
Andrej730
a5bb458d3d
fixed issue importing uv failing for some IfcPolygonalFaceSets
...
It was failing with IfcIndexedTriangleTextureMap + IfcPolygonalFaceSet
2023-11-28 15:34:21 +05:00
Andrej730
c7f6a5e621
fixed issue importing uv on non meters projects
2023-11-28 12:17:31 +05:00
Andrej730
141e0240d4
fixed issue settings style blender props if there are not texture style
2023-11-28 12:17:30 +05:00
Andrej730
15cd2b6075
fixed issue with importing ifc objects with uv after 03a6ee912
2023-11-28 12:17:30 +05:00
Dion Moult
fab8b5b702
Fix #3059 . Implement IfcTester prohibited string templates (taking into account double negatives)
2023-11-28 17:20:20 +11:00
c4rlosdias
844f4c4944
Update IfcTester and Tester module of Blenderbim
2023-11-28 16:48:19 +11:00
Dion Moult
03809b3d5e
Fix #3996 . Reassigning occurrences or types now also reassigns the correlating occurrence or type.
2023-11-28 16:44:31 +11:00
Dion Moult
3e268be5c7
Fix #4052 . Bug where invalid plane was generated due to missing X axis.
2023-11-28 11:52:56 +11:00
Dion Moult
6e932ec2fb
Fix #3974 . Bug where orphaned histories would be left in API remove operations.
2023-11-28 10:46:03 +11:00
Kristoffer Andersen
58414777be
Update installation.rst
...
add more information about conda package installation
2023-11-27 10:25:11 +01:00
Dion Moult
14f1acadb7
See #3974 . WIP review to ensure history removal in API.
2023-11-27 18:31:55 +11:00
Andrej730
f215670381
Small styles UI tweaks
...
- fixed a typo in bim.select_by_style
- added note to clarify what Shade/Render/Texture/Lighting/etc buttons do and moved style selection block at the beggining (maybe it's just me but when edit buttons are above selection ui it seemed like they affect all the styles somehow, not just the currently active one), so it will be more intuitive
Before:
https://i.imgur.com/jRSTLGI.png
After:
https://i.imgur.com/8ih4qSX.png
2023-11-27 12:29:28 +05:00
Andrej730
11df5065e4
bim.validate_ifc_file to detect if there where no validation errors
2023-11-27 11:18:38 +05:00
Dion Moult
ed47b6b227
Fix #4044 . Bug where object in camera view algorithm was wrong. Simplied to simple AABB test.
2023-11-25 16:02:51 +11:00
Andrej730
6216ee9a98
Fixed issue duplicating IfcRelSpaceBoundary #4043
2023-11-24 20:37:23 +05:00
Andrej730
848d6b294e
Fixed console errors with BIM Tool when boundary object is selected
2023-11-24 20:24:25 +05:00
Andrej730
795a372ac9
test creating surface style without IFC entities
2023-11-24 16:49:02 +05:00
Andrej730
03a6ee9121
BBIM Shader Graph Settings - setting uv mode for the textures
...
Now you can set UV mode that will be used to sample textures (previously it was always using UV data on geometry or breaking if it was otherwise). Basically now you can use autogenerated UV for the objects without UV.
https://i.imgur.com/WtYdpmU.png
Removed BIMMaterialProperties.ifc_coordinate_id as it was only used during the ifc_import and maintained by the `Loader.create_surface_style_with_textures` which is also used to update live shader graph that not always have specific IFC id for the UV.
2023-11-24 15:52:31 +05:00
Andrej730
5299a9d8a2
Fixed issue updating texture style for non-faceset representations
2023-11-24 15:24:56 +05:00
Kristoffer Andersen
a5d5d72064
Update meta.yaml
...
add python version to conda build string
2023-11-24 09:29:34 +01:00
Kristoffer Andersen
b6f2a76385
Update ci-ifcopenshell-conda-daily.yml
...
add anaconda-client to the mamba env dependencies
2023-11-24 08:30:05 +01:00
Dion Moult
ea6c8fe2f8
Fix #4027 . Fix regression where S-D or A-D hotkeys didn't follow vanilla Blender behaviour from 81a1bd9
2023-11-24 15:09:29 +11:00
Dion Moult
c7268b6f42
Fix #4037 . IfcTester reports now also include an element type column.
2023-11-24 14:44:28 +11:00
Dion Moult
5937ed4b63
Fix #4034 . Bug where abstract pset template applicabilities didn't apply to occurrences as well as types.
2023-11-24 14:02:27 +11:00
Bruno Postle
8f650c56e5
Revert 1d972a6 as no datetime.UTC on CI server
2023-11-23 21:59:23 +00:00
Bruno Postle
1d972a6a6f
fix python 3.12 utcnow() deprecation warning
...
Warning is:
/usr/lib64/python3.12/site-packages/ifcopenshell/api/project/create_file.py:61:
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version.
Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
2023-11-23 21:16:24 +00:00
Bruno Postle
70a1d7d345
python api documentation fix
2023-11-23 21:15:24 +00:00
Kristoffer Andersen
519d59effe
Update ci-ifcopenshell-conda-daily.yml
2023-11-23 20:38:11 +01:00
Kristoffer Andersen
7f5f67b131
Update meta.yaml
2023-11-23 20:35:28 +01:00
Kristoffer Andersen
8c64d9ddcc
Update ci-ifcopenshell-conda-daily.yml
...
Update repo activation
2023-11-23 17:23:01 +01:00
Kristoffer Andersen
397f333db0
Merge pull request #4041 from Krande/v0.7.0-conda/update
...
V0.7.0 conda/daily-builds-update
2023-11-23 17:17:16 +01:00
krande
b01bd8afb3
only modify windows in CMakeLists.txt
2023-11-23 16:05:00 +01:00
krande
1dd8624825
need to use a push trigger on fork (dispatch is not allowed on PR from forks it seems).
2023-11-23 15:55:23 +01:00
krande
bc0c2e641b
make modifications to support conda hdf5 1.14 in CMakeLists.txt
2023-11-23 15:51:41 +01:00
krande
f5f68ea150
add a workflow dispatch trigger (lets you click a button in the github actions workflow panel to start a new build)
2023-11-23 15:39:24 +01:00
krande
76ce117b46
test one more time on my fork before merging
2023-11-23 15:37:41 +01:00
krande
52cad9d11c
pin windows hdf5 to 1.12
...
windows hdf5 1.14 results in ninja: error: 'libhdf5_cpp.lib', needed by 'IfcConvert.exe', missing and no known rule to make it
2023-11-23 15:30:41 +01:00
krande
58af81e256
drop "all" variant for now. Will include if people request it.
2023-11-23 15:17:59 +01:00
krande
fc2da4ee8f
add conda-forge as a channel
2023-11-23 15:11:46 +01:00
krande
c04fa12051
add mamba env name
2023-11-23 15:09:24 +01:00
krande
623d2b5be1
add matrix variant to workflow name and do not use conda env yml file
2023-11-23 15:06:56 +01:00
krande
46319634fb
run it once on fork
2023-11-23 15:05:17 +01:00
krande
91d2e5ccd1
add novtk/all variants to daily builds
2023-11-23 14:58:34 +01:00
Bruno Perdigão
d23e32c64a
added report messages
2023-11-23 10:57:17 -03:00
Kristoffer Andersen
764efa1fed
Update ci-ifcopenshell-conda-daily.yml
...
add missing multiline flag for condarc setup
2023-11-23 14:33:10 +01:00
Kristoffer Andersen
b051adcc6c
Update ci-ifcopenshell-conda-daily.yml
...
change from deprecated mamba provisioner and move to python 3.11 and 3.12
2023-11-23 14:31:53 +01:00
Bruno Perdigão
b815719477
added the option to refresh different groups of linked aggregate
2023-11-23 10:27:54 -03:00
Gorgious56
0612d2b615
You can now select the same ifc classes and match predefined types with SHIFT + Clicking the "Select Ifc Class" button
2023-11-23 09:52:37 +01:00
Andrej730
0da210b732
edit_object_placement optimization for objects with subchildren #4035
...
1) We were iterating over same subchildren 2 or more times.
2) There is no need to change subchildren position at all since their parent position is already adjusted.
Explained here in detail - https://github.com/IfcOpenShell/IfcOpenShell/issues/4035#issuecomment-1822824352
2023-11-23 13:43:39 +05:00
Dion Moult
9429e478fe
Fix #3691 . Add toggle for power users to disable the BIM toolbar if an IFC isn't loaded.
2023-11-23 14:59:26 +11:00
Dion Moult
2f6c50d9c2
New style manager supports basic editing of externally defined surface styles
2023-11-23 13:17:33 +11:00
Dion Moult
640341715c
Minor IfcPatch doc fix where examples had a missing argument
2023-11-23 12:07:29 +11:00
Dion Moult
42878e325e
Minor fix to "select multiple IFC class" implementation
2023-11-23 11:18:04 +11:00
Dion Moult
ac5cf95f9e
IfcFM panel now autodetects available engines with names and descriptions
2023-11-23 11:00:10 +11:00
Ryan Schultz
c9189055c7
Select all objects from multiple selected classes
2023-11-22 10:47:04 -06:00
Andrej730
6a08993f5e
fill userdefined type field during reassigning IFC class #4034
...
to avoid confusion
2023-11-22 15:01:36 +05:00
Andrej730
df2a50b335
store path to bcf in Blender file to reaccess it on Blender restart
...
Previously it was throwing errors if load .bcf and then restart Blender, since it was just trying to reaccess file in BcfStore.bcfxml which is gone after Blender restart. Now we store filepath to bcf in Blender properties to reload it after Blender restart.
Removed BCFProperties.is_loaded as it won't be possible to rely on it after Blender restart - after restart it will still indicate that file is loaded and it won't be possible to change it from .poll and .draw if file is gone.
2023-11-22 11:55:07 +05:00
Dion Moult
c7543ff48d
New graphical element filtering UI for drawing filters that lets you also use saved searches.
2023-11-22 15:33:30 +11:00
Dion Moult
1f75fa09ae
If there is a Blender offset, show the non-offset placement in the placement panel
2023-11-22 11:32:14 +11:00
Dion Moult
94ce8e2c9c
Fix bug when loading IFC with unsupported reflectance method (even though we don't fully support them yet)
2023-11-22 11:00:47 +11:00
Dion Moult
85e94d2cfc
Move georeferencing calculator panel until scene georeferencing panel.
...
Slowly all the N sidebar panels should be moved away.
2023-11-22 11:00:47 +11:00
Andrej730
c2b332da48
BCF Viewpoint - clear selection before hiding IfcSpaces #4031
2023-11-21 22:12:26 +05:00
Andrej730
6ee4edd0a0
Fixed issue reassigning class to type class with userdefined type #4018
...
When PredefinedType is not found in the related enum reassign_class is considering it USERDEFINED and trying to set .ObjectType. The problem was it was doing for type classes also, when it should have set .ElementType instead.
Why it crashed BlenderBIM - in IfcClassData.data["has_entity"] we store currently active IFC entity which is recreated during `ifcopenshell.util.schema.reassign_class` making old entity invalid. Since `root.reassign_class` was failing in the process, related BBIM operator was failing too, IfcClassData wasn't updated and removed entity was accessed from UI leading to crash.
2023-11-21 12:35:35 +05:00
Dion Moult
0d757027e3
Fix critical georeferencing autodetection regression due to refactor of new context filters.
2023-11-21 15:10:01 +11:00
Dion Moult
9ffe56e64d
Improve geometry guessing to also check placements of random sample of elements (not just site and building), not just geometry
2023-11-21 14:21:09 +11:00
Dion Moult
37a9a1b5d9
New IfcPatch recipe to tessellate elements to account for bugs in other vendors.
2023-11-21 14:21:09 +11:00
Dion Moult
c30c9d50c9
Fix missing LGPL license blocks in IfcPatch
2023-11-21 14:21:09 +11:00
Bruno Perdigão
8e64b55290
bugfix in recreate_aggregate
2023-11-20 22:05:41 -03:00
Bruno Perdigão
b45001a95a
fix conflicts
2023-11-20 18:40:17 -03:00
Bruno Perdigão
fd65009f5a
Refresh Linked Aggregate now handles multiple selection
2023-11-20 18:34:46 -03:00
Bruno Perdigão
52036e9bd4
merged the branch 'improvements-on-override-duplicat'
2023-11-20 16:38:10 -03:00
Bruno Perdigão
5399767898
Merge branch 'improvements-on-override-duplicate' into refactor-duplicate-aggregate
2023-11-20 16:24:16 -03:00
Bruno Perdigão
f96d477d2b
Groups are only added to the parent. Parts now have a pset with index
2023-11-20 16:23:34 -03:00
Andrej730
d5f3991d06
Fixed more overlooked context overrides... #3876
2023-11-20 15:13:54 +05:00
Andrej730
2f2e81f585
Fixed #4026 related to #3876
2023-11-20 14:47:06 +05:00
Andrej730
0b7442b288
Move code using ui index from data to ui #4028
...
As UI indices changes doesn't trigger data.py updates and information on screen is not synced with the active item anymore.
2023-11-20 12:24:06 +05:00
Dion Moult
229c7285c2
Add support for loading nested elements and consider nesting for indirect spatial containment.
2023-11-20 16:57:38 +11:00
Dion Moult
4fb99d2eed
Don't unnecessarily merge materials which can be very computationally consuming on file loads (e.g. from software like Solidworks) which will be made redundant now that a new materials/style management system is WIP.
2023-11-20 16:57:38 +11:00
Dion Moult
123557939f
New ConvertNestToAggregate patch recipe
2023-11-20 16:57:38 +11:00
Bruno Postle
3c396d3180
IfcGit.load_project() can be used to refresh scene
...
If no file path is given, clear blender objects and regenerate
the scene from the current ifc project in IfcStore
2023-11-19 10:49:58 +00:00
Massimo Fabbro
5d39603308
fix #4011 . More precise IfcRoof qto calculator
2023-11-17 16:39:29 +01:00
Massimo Fabbro
b792673f88
Minor fix
2023-11-17 16:14:08 +01:00
Massimo Fabbro
cf65612a96
Covering Tool: fixed bug if the project is defined in units different from SI units
2023-11-17 16:14:08 +01:00
Andrej730
50bbe849ff
minor fix to support union typing before python 3.10 #3774
2023-11-17 18:57:51 +05:00
Andrej730
dc438b2560
ClippingInfo util class to pass and apply plane clippings #3774
...
Co-Authored-By: Carlos Villagrasa <carvillasil@gmail.com >
2023-11-17 16:52:59 +05:00
Andrej730
6750dd927c
minor fixes
...
- error in settings poll message for bim.assign_selected_as_product
- test that drawing.assign_product won't create new assignments for the same product
2023-11-17 12:30:34 +05:00
Andrej730
9fb1986cad
minor fix - clean up after debug
2023-11-16 19:26:12 +05:00
Andrej730
60f8d30fc1
Tests for connecting mep elements and regenerating them
...
Also:
- fixed bug with bim.mep_connect_elements not considering actual blender blender object's position
- moved syncing ifc position with blender object position to tools (sync_object_ifc_position)
- fixed a bug in adding a bend that occured if either any of the start/end points of the start/end segments matched - in that case one of the segments end up not connected to the bend
2023-11-16 19:15:56 +05:00
Ryan Schultz
67be2e8ce8
Refresh different types of aggregates at one time
2023-11-15 21:40:15 -06:00
Andrej730
2557580500
Fixed error importing .ifc that has element aggregated by ifcproject
...
In case if some element (not another aggregate) was aggregated by IfcProject directly, importing IFC was resulting in error below since the project's collection was never added to `self.collections`.
Traceback:
```
File "\scripts\addons\blenderbim\bim\module\project\operator.py", line 732, in execute
ifc_importer.execute()
File "\scripts\addons\blenderbim\bim\import_ifc.py", line 292, in execute
self.place_objects_in_collections()
File "\scripts\addons\blenderbim\bim\import_ifc.py", line 1668, in place_objects_in_collections
self.place_object_in_collection(self.file.by_id(ifc_definition_id), obj)
File "\scripts\addons\blenderbim\bim\import_ifc.py", line 1672, in place_object_in_collection
self.place_object_in_decomposition_collection(element, obj)
File "\scripts\addons\blenderbim\bim\import_ifc.py", line 1689, in place_object_in_decomposition_collection
return self.collections[aggregate.GlobalId].objects.link(obj)
KeyError: '2bKVb8E7L6e89EQYJUk8BM'
```
2023-11-15 18:33:20 +05:00
Andrej730
c0d2ac6ff9
Assigning product from selected objects #4015
2023-11-15 17:12:08 +05:00
Dion Moult
52c168051e
Revert "You can now override custom category element functions in IfcFM"
...
This reverts commit 8a63275db0 .
2023-11-15 17:19:10 +11:00
Dion Moult
e072da8d65
Minor alignment of Basic FM preset to IFC property naming
2023-11-15 16:47:42 +11:00
Dion Moult
8a63275db0
You can now override custom category element functions in IfcFM
2023-11-15 16:35:46 +11:00
Dion Moult
69be3a005c
Minor bug fix to COBie 2.4 space descriptions
2023-11-15 15:59:24 +11:00
Dion Moult
ad9ad3f060
Purge data recipe now also purges shape aspect names and layers.
2023-11-15 14:22:21 +11:00
Bruno Perdigão
f0e5304b8e
fix conflicts merging with v0.7.0
2023-11-14 11:58:35 -03:00
Andrej730
c6454803ee
fixed issue adding bend between segments located at the same point
...
also added some tests
2023-11-14 17:18:57 +05:00
Andrej730
e8aa8c44e5
Fixed issue with UI for types withotu PredefinedType after 1621449
...
Noticed the issue adding IfcFurnitureType in IFC2x3
```
Traceback (most recent call last):
File "\Blender\4.0\scripts\addons\blenderbim\bim\module\model\workspace.py", line 71, in draw_settings
BimToolUI.draw(context, layout, ifc_element_type="all")
File "\Blender\4.0\scripts\addons\blenderbim\bim\module\model\workspace.py", line 230, in draw
AuthoringData.load(ifc_element_type)
File "\Blender\4.0\scripts\addons\blenderbim\bim\module\model\data.py", line 56, in load
cls.data["predefined_type"] = cls.predefined_type()
File "\Blender\4.0\scripts\addons\blenderbim\bim\module\model\data.py", line 258, in predefined_type
predefined_type = relating_type.PredefinedType
File "\Blender\4.0\scripts\addons\blenderbim\libs\site\packages\ifcopenshell\entity_instance.py", line 191, in __getattr__
raise AttributeError(
AttributeError: entity instance of type 'IFC2X3.IfcFurnitureType' has no attribute 'PredefinedType'
```
2023-11-13 16:56:58 +05:00
Andrej730
48b237ab54
New context override method for setting viewport tools #3876
2023-11-13 15:51:50 +05:00
Andrej730
608b3e5401
DumpSlabPlaner.change_thickness to use si units #4004
...
It was providing project units to `geometry.add_slab_representation` resulting and then they were converted to project units once again during `geometry.add_slab_representation`.
2023-11-13 15:38:08 +05:00
Andrej730
c5d38227fc
black format
2023-11-13 14:25:34 +05:00
Andrej730
e98ff136c2
Merge two Services sections in Services and Systems tab #4001
...
Two similar sections were needed in the old ui before we added tabs
2023-11-13 14:25:09 +05:00
Ryan Schultz
02ebc80525
closes #4006 : automatically update the geometry of all the objects that have 'similar openings'.
2023-11-12 12:39:44 -06:00
Ryan Schultz
66431158b5
fixes #3908 : Close the opening (bim.edit_openings) while having the opening selected
2023-11-12 10:11:13 -06:00
VDobranov
dd044c8516
Update reference_structure.py
...
A mistype in docs: should be IfcRelReferencedInSpatialStructure instead of IfcRelContainedInSpatialStructure
2023-11-11 12:56:26 +01:00
Massimo Fabbro
55763ea7df
Covering Tool now it is possible to add ceiling coverings from selected walls
2023-11-10 22:19:47 +01:00
Andrej730
8fe92e810f
show mep regenerate and connecte elements for non-profile based elements
2023-11-10 16:28:44 +05:00
Andrej730
c26988b292
root.remove_product to remove IfcRelFlowControlElements
2023-11-10 12:10:22 +05:00
Andrej730
46e70c92c5
fixed issues with ports ui on undo
...
data.py doesn't update on every undo, so passed blender objects got invalidated on undo resulting in errors. changed blender objects to blender object names
2023-11-10 11:39:49 +05:00
Andrej730
325c3665d9
UI for assigning controls to flow elements #3981
...
Example - https://imgur.com/a/CZQIoHp
2023-11-10 11:18:52 +05:00
Andrej730
9a80dc14e9
api for assigning/unassigning flow controls #3981
2023-11-09 17:34:26 +05:00
Andrej730
6bda066e1b
Fixed typo in control.assign_control, added tests
2023-11-09 15:33:31 +05:00
Andrej730
912b01587b
tool.System.add_ports tests
2023-11-08 18:01:30 +05:00
Andrej730
5d4d953320
fixed issue placing ports on a bend if start segment is bending using Z-
2023-11-08 16:54:05 +05:00
Andrej730
11ed8cc787
fixed issue in add_ports mutating object's matrix
...
inherently modifying ports positions in some cases
2023-11-08 16:49:31 +05:00
Dirk Olbrich
d1a7b99eda
bbim docs: add user interface subsection, general workspace
2023-11-08 22:12:40 +11:00
Dirk Olbrich
85bdeaeef4
bbimdocs: reorder images folder in users section
2023-11-08 22:12:40 +11:00
Dirk Olbrich
a5f0de4d19
bbim docs: reorder images folder in dev section
2023-11-08 22:12:40 +11:00
Dirk Olbrich
cb3392ec70
bbim docs: use absolute path for icon images
2023-11-08 22:12:40 +11:00
Dirk Olbrich
1dbe42061d
bbim doc: fix list indentation
2023-11-08 22:12:40 +11:00
Dirk Olbrich
a024d5c07f
bbim docs: fix minor warning in ux-guidelines
2023-11-08 22:12:40 +11:00
Dirk Olbrich
ea5e3c30b6
bbim docs: update bbim version, copyright year
2023-11-08 22:12:40 +11:00
Andrej730
ebfc8ef619
remove BIMGroupProperties.is_adding attribute to avoid confusion
...
The problem with that attribute was that object's and project's group ui section were both using groups loaded to BIMGroupProperties.groups.
So you could run into situation when you try to load object's groups ui and it would show empty list because user never loaded the groups from the project's ui...
So it was either caching groups twice or just using same `is_editing` flag to check whether groups were previously loaded and I went with the single flag.
2023-11-08 15:13:49 +05:00
Andrej730
c0d8467154
define inherited ports attributes in bim.add_constr_type_instance
2023-11-08 14:19:36 +05:00
Andrej730
d0adbab9c2
fixed issue finding finding compatible fitting
...
it occured sometimes when segment's or fitting's PredefinedType/System were not defined
2023-11-08 12:21:50 +05:00
Andrej730
8e80f456cb
fixed bug with system decoration data if no system were selected
2023-11-08 11:50:05 +05:00
Bruno Perdigão
61bd98e7db
moved 'recreate_assembly' to tool/root.py
2023-11-07 18:28:43 -03:00
Bruno Perdigão
4bf0d9ccff
added more tests
2023-11-07 18:19:42 -03:00
Bruno Perdigão
1e36ac8740
removed the pset and added group to all elements
2023-11-06 21:38:06 -03:00
Bruno Perdigão
af864e8556
added test scenario for duplicating an aggregate
2023-11-06 12:15:31 -03:00
Andrej730
8cd9fb9015
test stairs calculated params
2023-11-06 15:56:33 +05:00
Andrej730
d9fdc0908a
Nosing Lengths / Tread Gap for parametric stairs #3422
...
Example - https://imgur.com/d8PxLV4
2023-11-06 15:35:14 +05:00
Ryan Schultz
a218ce5160
Select multiple arrays at one time, from various parts. Deselect non-compliant objects.
2023-11-04 11:35:30 -05:00
Igor.Sokolov
b3a6b8e07f
bf: IfcBSplineCurve is an isntance of abstract entity
2023-11-04 15:41:38 +01:00
Igor.Sokolov
52700452d9
bf: pass-valid-selected-enumeration.ifc
2023-11-04 15:41:38 +01:00
Igor.Sokolov
aab011f7bf
bf: pass-group-1-rels-IFC2X3.ifc failed
2023-11-04 15:41:38 +01:00
Igor.Sokolov
5f129e2357
bf: pass-attr-count-ok.ifc failed
2023-11-04 15:41:38 +01:00
Dion Moult
4e76f36af1
Black
2023-11-04 16:07:40 +11:00
Dion Moult
6f3ff51d91
Docs now mention historic builds
2023-11-03 22:45:42 +11:00
Dion Moult
0de0422c2e
Minor fix
2023-11-03 22:45:42 +11:00
Andrej730
98de86e0ba
Customize tread width for the first and last treads #3419
...
Available on all types of stairs, shouldn't break stairs previously created with BBIM.
Example - https://imgur.com/a/2wSueTM
2023-11-03 16:32:14 +05:00
Andrej730
142e41b3ad
minor refactor
2023-11-03 16:32:14 +05:00
Andrej730
1e0dc7749d
add force depsgraph update method
2023-11-03 16:32:14 +05:00
Andrej730
0f29de0391
skip black format on type manager template description for readibility
2023-11-03 16:32:14 +05:00
Andrej730
9933cc1b20
stair profile generation code refactor
...
hopefully it's now a bit more readable
2023-11-03 16:32:14 +05:00
Andrej730
fa6192e9bc
Fixed stair calculated params not updating during edit (after 8b23c615c)
...
.data doesn't update on props change, so need to take data from props explicitly when BIMStairProperties.is_editing
2023-11-03 16:32:14 +05:00
Andrej730
bfd4559da8
move generate_stair_2d_profile to tool, add tests
2023-11-03 16:32:14 +05:00
ceegartner
01f52e069e
Update unit.py - convert function, case issue
...
Hi,
I noticed an issue and suggest a fix:
Unit names from <si_conversions> are all lowercase, whereas project units extracted from the IFC files with <get_project_unit(...).Name> are uppercase. So the convert function didn't seem to work properly.
Hope this helps!
2023-11-03 11:47:44 +01:00
Dion Moult
2fbc9e4424
Forgot rabbit branding.
2023-11-02 15:15:04 +11:00
Dion Moult
ba97da20eb
New data purging IfcPatch recipe
2023-11-02 14:59:18 +11:00
Dion Moult
44f5be142f
Fix #3963 . Bind IFC separate to P hotkey and prevent separation on non-IFC meshes.
2023-11-02 13:03:56 +11:00
Dion Moult
2f951d352b
Fix #3948 . Bug where IfcTester PartOf facet didn't correctly read entity XML.
2023-11-02 12:29:05 +11:00
Andrej730
8b23c615c3
Fix issue with calculated params in stair ui
...
it was displaying incorrect data when stair was just loaded because it was relying on BIMStairProperties in ui.py
2023-11-01 17:33:38 +05:00
Dion Moult
7c694e5b3e
Fix #3951 . mats selector now supports IfcMaterialList.
2023-11-01 22:48:31 +11:00
Dion Moult
8eeb212003
See #3951 . IfcCSV now supports list concatenation.
2023-11-01 22:47:30 +11:00
Dion Moult
7bf8d58cde
Improve data type error reporting
2023-11-01 22:23:55 +11:00
Dion Moult
b6e24559e5
Fix #3961 . Improve UI so setting null now clears the value.
2023-11-01 18:04:44 +11:00
Andrej730
0d87d5927e
bim.select_all_array_objects not to clear previous selection #3960
2023-11-01 10:53:25 +05:00
Dion Moult
dfd5cc4728
See #3953 . Fix bug where IDSes with a single enumeration value didn't validate.
2023-11-01 16:28:42 +11:00
Dion Moult
20b7ee009d
Fix #3957 . Fix bug where shared properties were not edited independently.
2023-11-01 15:18:57 +11:00
Dion Moult
19a3f56941
Fix #3958 . Bug where reassigning type class would incorrectly assign occurrence classes.
2023-11-01 14:41:25 +11:00
Dion Moult
3b298d44c1
Fix regressions in mapped native swept disk handling
2023-11-01 14:16:12 +11:00
Andrej730
038d3bc41c
fix future warning for xml.etree
...
The warning was: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
2023-10-31 16:24:41 +05:00
Andrej730
235e89ae14
remove blf.size deprecated dpi argument #3876
...
turn out it wasn't working for awhile now and in Blender 4.0 was completely removed
2023-10-31 16:19:42 +05:00
Andrej730
e2de9efc33
Move new Blender 4.0 Simulation section to Scene/Blender tab #3876
2023-10-31 15:57:54 +05:00
Andrej730
8126085037
Warning message on copying node graph on Blender 4.0+ #3876
...
As we're still looking for a workaround
2023-10-31 15:38:57 +05:00
Andrej730
bbe14834e4
Remove 3D shaders prefix #3876
...
In Blender 4.0 3D_* shaders are called without "3D_" prefix, otherwise it throws an error. Tested on Blender 3.6 - they work without "3D_" prefix too.
2023-10-31 15:27:43 +05:00
Andrej730
45f2d301b3
More context override fixes #3876
2023-10-31 15:18:33 +05:00
Andrej730
2ecd11d71f
fixing test after 0d0b91e
2023-10-31 15:18:33 +05:00
Gorgious56
b42f072bd5
You can now eyedrop an object in the viewport to copy container when editing container
2023-10-31 11:14:54 +01:00
Ryan Schultz
3b3668eedf
More IFC class suggestions
2023-10-30 22:51:55 -05:00
Dion Moult
7f7f353131
Disable batching for removal as it doesn't seem to help mostly from experience. Still testing.
2023-10-31 12:31:05 +11:00
Dion Moult
53594de1ff
See #3955 . PyPI release now specifies compatible Python versions.
2023-10-31 08:32:51 +11:00
Gorgious56
4fbbfb5191
You can now eyedrop an object in the viewport to copy class and predefined type when reassigning class
2023-10-30 15:04:37 +01:00
Gorgious56
4e1daea838
Clicking on an entry in the search field popup automatically validates and closes the popup
...
No need to click on "OK" anymore.
This is not a hacky workaround using the mouse position, it uses a signal sent to Blender to close the active popup
See https://blenderartists.org/t/programatically-close-pie-menu-2-79/1488807/2
re-committing since it seems I commited to the wrong branch last week
2023-10-30 14:19:01 +01:00
Andrej730
d8ff83da73
Replacing old context override method #3876
2023-10-30 15:14:34 +05:00
Andrej730
a7712a923f
setup_pytest to find site-packages folder near sys.executable
...
Used to get errors running setup_pytest.py having python 3.10 installed on my pc (`sys_paths[-1]` was the system's python folder, not the blender's python).
2023-10-30 15:14:34 +05:00
Andrej730
01b5f8f237
Fixed #3949
2023-10-30 11:27:55 +05:00
Dion Moult
b9ad15c50f
Minor fix to Uniclass classification
2023-10-30 09:31:00 +11:00
Thomas Krijnen
db06cff997
Update test file for case insensitivity. Thanks Igor.
2023-10-29 14:35:14 +01:00
Dion Moult
f0028c0094
get_footprint_area now unions 2D polygons to prevent double counting
2023-10-28 15:54:45 +11:00
Dion Moult
1c954801b0
Fix #3939 . Bug where IfcLabel data type was incorrectly used for longer text data.
2023-10-28 14:44:41 +11:00
Ryan Schultz
973e4f0064
Updated default JoinCriteria to accommodate new facet selector for statuses.
2023-10-27 11:24:49 -05:00
Andrej730
be5d291bd9
test creating mep transition
2023-10-26 17:21:42 +05:00
Andrej730
cbec56c2f0
ifc2x3 pset library - fix bunch of unit related vlaidation errors #3929
2023-10-26 15:54:34 +05:00
Dion Moult
880d0ba753
Minor fixes
2023-10-26 13:08:30 +11:00
Dion Moult
db85689364
Add support for latest uniclass and add Uniclass July 2023
2023-10-26 13:08:30 +11:00
Sigma Dimensions (Yass)
48a0d8c508
fix displaying undefined or userdefined units in cost schedules
2023-10-25 15:01:52 +01:00
Sigma Dimensions (Yass)
df4cd493ee
fix displaying cost item totals
2023-10-25 13:54:13 +01:00
Massimo Fabbro
74132dcd49
New operator that creates a ceiling from cursor position in covering tool
2023-10-23 20:58:59 +02:00
Bruno Perdigão
ef72cd3250
recreates assembly for array children objects
2023-10-23 15:46:14 -03:00
Andrej730
5cf1dd4249
fixed core tests after switch_representation changes
2023-10-23 17:25:07 +05:00
Andrej730
29bd30d3bf
"Edit Profile" in BIM Tool for mapped representations
...
basically now "edit profile" will be shown in BIM Tool UI and will work from shift+e hotkey if the active element's representation is mapped (for example, if it has openings)
2023-10-23 16:50:05 +05:00
Andrej730
3f8a0a91b3
switch_representation to automatically switch to unresolved mapped representation
...
The cool thing about it now that it will automatically create a new mesh for "unresolved" representation if element has openings, otherwise it'll stick to the same mesh representation as the type object.
This fixed a few bugs:
- similar to b9a9abd but during extrusion profile edit
- applying void to the occurence used to remove the type and other occurences. Apparently it occured after 744c08e - previously we seems to rely on `ifcopenshell.geom.create_shape(settings, element)` to unresolve the representations. Though before 744c08e there still was an issue - it would apply the same opening to the all occurences and the type meshes but wasn't removing them.
Probably fixed a few other similar issues.
2023-10-23 16:49:56 +05:00
Andrej730
416a572664
switch_representation not to break with temporary mesh representations
...
I've found a bug that if you have some object that consists of extrusion and can be edited in profile edit mode, when you finish editing, it would remove the type object (and I guess the other occurences objects).
It happened because during edit mode it's using temporary mesh data and `switch_representation` would replace this temp mesh data with new representation and remove the old mesh data that might still used by the other occurences and the type.
The issue also was leading to a crash during `box.template_icon(icon_value=AuthoringData.data["type_thumbnail"], scale=5)` if you had BIM Tool thumbnail preview opened in the process - removing type object would make thumbnail icon become invalid leading to the crash.
Crash mentioned here: https://community.osarch.org/discussion/1753/bbim-two-door-types-with-connected-properties
2023-10-23 15:24:43 +05:00
Thomas Krijnen
388c72360d
Use --start/end-group on linux to fix ld geomserver
2023-10-21 22:26:16 +02:00
Dion Moult
b841afc2e4
Update beginners tutorial documentation with images from new UI.
2023-10-21 22:46:15 +11:00
Dion Moult
f10d340254
You can now assign and unassign styles to materials
2023-10-21 15:23:55 +11:00
Dion Moult
0d0b91ee9b
You can now specify a name when adding materials
2023-10-21 15:23:55 +11:00
Bruno Perdigão
4f1e59a613
improvements on dealing with sub-aggregates
2023-10-20 21:26:56 -03:00
Bruno Perdigão
5960e4153c
wip: RefreshLinkedAggregate is working with IfcGroup
2023-10-20 14:34:03 -03:00
Ryan Schultz
8032333a17
Additional clarification on save and save as
2023-10-20 09:53:29 -05:00
Dion Moult
712ec6def3
Reorganise new stakeholders panel, move profiles into geometry tab. General UI polish.
2023-10-20 22:18:32 +11:00
Andrej730
0d43ef0736
option to set active system
...
Now it's possible to set in UI active system (currently it's done "select" button next to the system).
Also changed the elements that are going to be decorated with system decorator. Previously it was decorating all the mep elements in the projects which was very performance heavy on large projects.
2023-10-20 15:59:24 +05:00
Andrej730
b318509cba
Merge systems UI into one
...
We had two very similar systems panels that were part of the old UI.
2023-10-20 14:00:32 +05:00
Dion Moult
f3b541f00a
Fix #3095 . Very basic implementation of a new zones panel.
2023-10-20 17:51:48 +11:00
Andrej730
4f64dcdbd4
Fixed tests after selector syntax update
2023-10-20 11:06:10 +05:00
Dion Moult
68acf84e26
Fix #3901 . Add configurable list concatenation support in IfcFM.
2023-10-20 13:38:17 +11:00
Dion Moult
aaceb923ad
Fix #3903 . Bug where stairs started off with an empty mesh and had a representation added, resulting in an invalid empty point cloud.
...
Now stairs have should_add_representation=False when creating the IfcStairFlight, and the representation is updated explicitly, similar to how parametric doors and windows etc have their representations updated.
2023-10-20 12:28:18 +11:00
Dion Moult
074de2741a
Fix regression from 744c08e where type products cannot have an instance specified in create_shape
2023-10-20 12:24:57 +11:00
Dion Moult
0e4bc320cb
Adding / editing shading / rendering styles in the style manager now updates Blender materials
2023-10-20 10:26:35 +11:00
Andrej730
9e9412bec0
Forgot to fix test after 35d66f5
2023-10-19 18:10:31 +05:00
Andrej730
7e92471ac9
Fixed issue unlinking mesh objects
...
After d67eae5 delete_ifc_object is removing the meshes and it end up invalidating the unlinked object. Now mesh is copied before running delete_ifc_object
2023-10-19 17:05:14 +05:00
Andrej730
078a7eb290
Fix tests after 808ff54
2023-10-19 16:42:20 +05:00
Andrej730
df3876b438
Minor fix after a47c57c
2023-10-19 16:11:57 +05:00
Andrej730
d414de450b
Fixed test after c34a9c5
...
Also fixed bug in the sheeter
2023-10-19 16:11:56 +05:00
Andrej730
9e89bb5044
Fixed test after 418444a
2023-10-19 13:22:06 +05:00
Andrej730
aa0c42e1ec
Fixed test after 90b40ff
2023-10-19 13:05:25 +05:00
Andrej730
a4daa0e3d9
Fixed test after 88d96f7
2023-10-19 11:03:27 +05:00
Andrej730
162ac39570
Fixed test after 6e9639446
2023-10-19 11:03:27 +05:00
Andrej730
8c73fa69a1
Fixed #3907 after dd7a6a80e
2023-10-19 10:49:47 +05:00
Dion Moult
159eeeb3a4
You can now edit rendering styles in the style manager
2023-10-19 16:38:42 +11:00
Bruno Perdigão
66f735fde9
wip: refactor of RefreshLinkedAggregate. The operator triggers all the other linked aggregates deletion.
2023-10-18 21:36:04 -03:00
Bruno Perdigão
1a3aa7f031
IfcElementAssembly share a group instead of a pset
2023-10-18 20:43:41 -03:00
Ryan Schultz
ac41a9e63a
allow SI with CAD tools.
2023-10-18 17:07:29 -05:00
Andrej730
eb0873996f
Added IfcZone to systems UI in IFC2X3 #3905
...
In IFC2X3 IfcZone is a subtype of IfcGroup but not subtype of IfcSystem (it become one after IFC4), therefore IfcZone wasn't presented anywhere in BBIM UI.
It's a bit confusing though to include IfcZone in systems when it's not actually a IfcSystem but having it in IfcGroups would be confusing too.
2023-10-18 17:13:22 +05:00
Andrej730
c85826ef2e
Fixed #3901
...
It was throwing an error because was failing to write a list to an excel cell, now it's explicitly converting the value to string.
Python: Traceback (most recent call last):
File "\blenderbim\bim\module\fm\operator.py", line 102, in execute
writer.write_xlsx(filepath)
File "\blenderbim\libs\site\packages\ifcfm\__init__.py", line 259, in write_xlsx
cell = worksheet.cell(row=r, column=c, value=col)
File "\blenderbim\libs\site\packages\openpyxl\worksheet\worksheet.py", line 247, in cell
cell.value = value
File "\blenderbim\libs\site\packages\openpyxl\cell\cell.py", line 218, in value
self._bind_value(value)
File "\blenderbim\libs\site\packages\openpyxl\cell\cell.py", line 187, in _bind_value
raise ValueError("Cannot convert {0!r} to Excel".format(value))
ValueError: Cannot convert ['USE TYPE CATALOG'] to Excel
2023-10-18 16:40:07 +05:00
Andrej730
627cf63a4c
ifcfm symlink to dev environment setup script
2023-10-18 16:07:27 +05:00
Andrej730
744c08e13e
bim.switch_representation to switch to exact representation
...
previously it was switching to the first representation that matches the context, so it wasn't possible to switch to the second one if you had more than 1 representation in the same context
using always both element and representation in `geometry.import_representation` so it will import the exact representation and not the first one found by `ifcopenshell.geom.create_shape`
2023-10-18 15:48:08 +05:00
Andrej730
dd7a6a80eb
activate_drawing to prioritize already active representation
...
If there are multiple representations in the same subcontext, when it was searching for the representation for some specific subcontext, it would previously always switch to the first representation from the list, now it's going to prioritize the one that's already active.
2023-10-18 15:48:01 +05:00
Andrej730
ab807e3b9b
bim.create_all_shapes info message
2023-10-18 12:21:41 +05:00
Andrej730
c35be50c83
Bump build version to fix #3889
2023-10-18 11:10:04 +05:00
Bruno Perdigão
37ab9c80e3
Duplication now recreates connections path #3770
2023-10-17 18:45:14 -03:00
Andrej730
7ff98d2918
Some UI to mark booleans as manual #3709
...
Currently it allows only to either set all object's booleans to be marked as manual or all of them marked as automatic, can't change some specific boolean.
Short demo - https://imgur.com/a/bczv35N
2023-10-17 18:19:45 +05:00
Andrej730
35d66f5d8c
move to tools methods for working with manual booleans #3709
...
Also fixed a bug adding boolean when pset is already added and representation type in add_boolean
```
File "\addons\blenderbim\tool\ifc.py", line 201, in execute
IfcStore.execute_ifc_operator(self, context)
File "\addons\blenderbim\bim\ifc.py", line 336, in execute_ifc_operator
result = getattr(operator, "_execute")(context)
File "\addons\blenderbim\bim\module\model\opening.py", line 534, in _execute
data = json.loads(pset["Data"])
File "\addons\blenderbim\libs\site\packages\ifcopenshell\entity_instance.py", line 248, in __getitem__
if key < 0 or key >= len(self):
TypeError: '<' not supported between instances of 'str' and 'int'
```
2023-10-17 18:13:54 +05:00
Andrej730
3f018a4195
localize mathutils dependency in tests #3895
...
replaced shapebuilder with general ifcopenshell code in `test_add_boolean` (the only place besides `test_shape_builder` where it was used), that way mathutils dependency in tests is localized only to `test_shape_builder.py`.
added test-safe option to makefile, so github workflow would ignore `test_shape_builder` tests for now and it wouldn't interrupt the entire workflow
2023-10-17 15:53:26 +05:00
Andrej730
578e15adb2
refresh_aggregate to show time it took
...
since this can get very time consuming on large projects
2023-10-17 15:07:43 +05:00
Andrej730
c4474455e9
Fix poll error after 3de9915
...
The error was
Traceback (most recent call last):
File "\blenderbim\bim\module\model\covering.py", line 64, in poll
return element.is_a("IfcCovering")
AttributeError: 'NoneType' object has no attribute 'is_a'
2023-10-17 15:07:43 +05:00
Dion Moult
8f43854cbf
Minor fix
2023-10-17 20:47:39 +11:00
Thomas Krijnen
787149da13
Regen express rule code: lowercase str comparison in express rule generated code
2023-10-17 11:04:46 +02:00
Thomas Krijnen
3b31f6932a
Compile IFC4X3_ADD2 express rules
2023-10-17 09:50:39 +02:00
Andrej730
6c9e130ca8
small fix f38952dc5 #3898 😬
2023-10-17 10:47:52 +05:00
Bruno Perdigão
86a234d17e
Changed operator name
2023-10-16 22:32:09 -03:00
Bruno Perdigão
f68baee5c3
small deletions
2023-10-16 22:17:22 -03:00
Bruno Perdigão
0028fd3e9c
ifc_duplicate_operator now remove the connections with old objects. Similar solutions presented in PR #3789
2023-10-16 15:39:38 -03:00
Bruno Perdigão
f5f9862b78
Fix #2187 . ifc_duplicate_operator now recreates the IfcElementAssembly structure into a new Assembly
2023-10-16 15:31:56 -03:00
Andrej730
f38952dc51
small refactor
2023-10-16 16:23:48 +05:00
Andrej730
24eb149221
Support other voiding IfcFeatureElementSubtraction elements #3889
...
Support other voiding IfcFeatureElementSubtraction besides IfcOpeningElement.
2023-10-16 15:31:53 +05:00
Andrej730
ce8598a0b4
Fixed issue after 19345ff
...
It wasn't considering that EnumerationReference could be None
2023-10-16 15:31:53 +05:00
Thomas Krijnen
fb9cf75412
#3889 Apply handling of openings on IfcFeatureElementSubtraction generically
2023-10-16 11:02:40 +02:00
Andrej730
68f5df73b9
black formatting
2023-10-16 12:21:20 +05:00
Andrej730
e068c523ec
Keep placement axes recalculating profiles #3879
2023-10-16 12:19:18 +05:00
Andrej730
aa182bf047
small fix add_profile_representation - use of undefined variables
2023-10-16 11:59:33 +05:00
Ryan Schultz
6e9639446d
Add a preference for particular app to open sheet layout
2023-10-15 20:04:53 -05:00
Bruno Postle
c48c1c3b32
BlenderBIM minor fix after 7107a91
2023-10-15 21:15:32 +01:00
Dion Moult
14224ac538
Fix #3870 . Bug where element filtering wasn't initialised properly when loading a camera for the first time.
...
Raster_x/y would only be set after the handler triggers. This is no longer necessary with the new explicit width / height properties.
2023-10-15 22:23:10 +11:00
Dion Moult
58be92d3fc
New verbose option in util get_pset(s) which lets you get ID and class for complex processing.
2023-10-15 08:57:37 +11:00
Bruno Postle
7107a91f6f
BlenderBIM keep camera position on git switch
...
New 'zoom extents' behaviour on IFC load is unwanted when switching
between git revisions
2023-10-14 21:54:16 +01:00
Thomas Krijnen
438ed22f8f
Merge pull request #3888 from isma3lMB/v0.7.0
...
Adding support for non ascii characters when reporting
2023-10-14 16:00:18 +02:00
isma3lMB
a9dfc9a9fd
Adding support for non ascii characters when reporting
2023-10-14 15:31:33 +02:00
Thomas Krijnen
f8b09b3525
Update build-deps.cmd: proj compilation
2023-10-13 22:34:35 +02:00
Massimo Fabbro
f1ab02b311
Fix bug in covering/space tool with matrix global and local
2023-10-13 22:03:43 +02:00
Bruno Perdigão
4e833e26ca
wip: DuplicateMoveAggregate now calls DuplicateMove function and removes code duplication
2023-10-13 14:41:21 -03:00
Dion Moult
25df2f6414
See #3884 . Rewrite native geometry handling with a much more robust approach fixing a number of invalid coordinates and simplifying things.
2023-10-13 23:40:23 +11:00
Dion Moult
42719d3fe3
Fix bug where native meshes had normal smoothing enabled by default
2023-10-13 23:40:23 +11:00
Dion Moult
1f6d23c19c
Minor fixes to placement utilities for getting mapped item matrixes
2023-10-13 23:40:23 +11:00
Thomas Krijnen
94db9ec522
Add IFC4X3_ADD2 schema
2023-10-13 11:51:05 +02:00
Dion Moult
a47c57c22c
First draft of style manager panel
2023-10-13 17:38:55 +11:00
Dion Moult
8f4bc0ea00
Material manager panel now moved to geometry tab
2023-10-13 17:37:24 +11:00
Dion Moult
dd70b09fb1
Representation items panel now shows styles and layers
2023-10-12 22:56:36 +11:00
Dion Moult
c930050da6
Accommodate bug in Revit where mapped representations were missing... well, a representation map.
2023-10-12 22:56:36 +11:00
Dion Moult
55a7a72e61
Minor bug fixes with error message when selecting objects in layers without objects
2023-10-12 22:56:36 +11:00
Dion Moult
ca2ae36d41
Modernize zone and type table mappings for COBie 2.4 with Emma Hooper
2023-10-12 22:56:36 +11:00
Thomas Krijnen
81b4e42ca2
Use schema_identifier for schema and express rule validation. See #3126
2023-10-12 10:37:44 +02:00
Massimo Fabbro
55e61b55d8
better UI for covering tool
2023-10-12 05:58:52 +02:00
Massimo Fabbro
a99529cb1e
fix generate space and covering where objects weren't created in the right location
2023-10-12 05:58:52 +02:00
Dion Moult
bf43efe509
Begin drafting out a new representation items panel for managing styles and layers properly
2023-10-11 23:26:48 +11:00
Vukas Pajic
da7f5b015b
add missing attributes in ids.parse
2023-10-11 10:06:54 +02:00
Massimo Fabbro
3de9915389
Add generate flooring from cursor and regen ( #3874 )
2023-10-11 09:15:36 +11:00
Dion Moult
418444a196
Fix #3873 . Regression due to new importing logic.
2023-10-11 09:12:00 +11:00
Dion Moult
171251b27d
See #1619 . Fix issue where copying non-templated properties didn't work.
2023-10-11 08:53:53 +11:00
Ryan Schultz
9fef920a6f
Further clarify the bim.link_ifc command
2023-10-10 13:43:56 -05:00
Dion Moult
5bff837a61
Minor fix
2023-10-10 22:21:32 +11:00
Dion Moult
05f6f4efab
Manual booleans are now tracked via a Pset instead of arbitrary class conventions which should fix a bunch of issues.
2023-10-10 17:33:00 +11:00
Dion Moult
e4f5b0e3d8
Write documentation for placement utility
2023-10-10 10:56:28 +11:00
Dion Moult
49b733f660
See #3817 . WARNING: fundamental change. Standardise prioritisation of all context permutations when loading occurrences and types.
2023-10-09 23:21:09 +11:00
Dion Moult
36ed618adf
You can now federate FM spreadsheets using the Blender UI
2023-10-09 17:26:45 +11:00
Dion Moult
48042011e2
Merge pull request #3860 from IfcOpenShell/Representation_Utilities_more_functions
...
Adding "Manually Save Representation" and bim.get_representation_ifc_…
2023-10-09 09:58:58 +11:00
Andrej730
0e1939a871
Minor fix #3862
2023-10-08 21:32:34 +05:00
Ryan Schultz
bea1e61739
Adding "Manually Save Representation" and bim.get_representation_ifc_parameters back to Representation Utilities panel
...
from: https://github.com/IfcOpenShell/IfcOpenShell/commit/3a812a9ec156818061c01bd5b2ac2c2bee09faf1#r123820129
2023-10-08 09:24:18 -05:00
Ryan Schultz
72cd82f450
fixed error when creating new walltype in IFC2x3
2023-10-07 10:25:22 -05:00
Massimo Fabbro
befa059591
Merge pull request #3838 from maxfb87/covering_tool
...
Covering tool (see #3754 )
2023-10-07 14:20:27 +02:00
Bruno Postle
7229f7271c
BlenderBIM make fca90e9 optional
...
setup_viewport_camera() does a 'zoom extents' on IFC import.
Create a should_setup_viewport_camera option (default True)
2023-10-06 22:34:43 +01:00
Andrej730
9c5970e757
fixed issue with placing end port for a bend
2023-10-06 17:30:01 +05:00
Andrej730
2fe3f0a9df
system decorations - indicate both directions flow
2023-10-06 17:30:01 +05:00
Dion Moult
3929f02e94
Fix #3843 . Regression where IfcMaterialList UI didn't show list of materials.
2023-10-06 22:43:56 +11:00
Andrej730
1abf80c310
Minor fix after b9a9abd30
2023-10-06 16:03:40 +05:00
Andrej730
2c18c89807
revert flow directions icons to arrows
2023-10-06 16:01:46 +05:00
Andrej730
1b81fa5aa1
Minor fix after 78c748df5
...
RuntimeError: Error: Registering panel class: parent 'BIM_PT_tab_placement' for 'BIM_PT_placement' not found
2023-10-06 15:31:41 +05:00
Hilko
baa08b3221
Update build-deps.cmd
2023-10-06 12:16:51 +02:00
Andrej730
b9a9abd30d
Fixed adding opening to meshes of all occurences for non material based representations
...
Mentioned in #3817
2023-10-06 15:11:14 +05:00
Andrej730
33536957d8
Moving some code to tool.Geometry
2023-10-06 15:11:14 +05:00
Dion Moult
d092fd45ba
You can now select coloured objects in a colourscheme.
2023-10-06 16:51:50 +11:00
Dion Moult
78c748df5d
New placement panel to consolidate placement data in geometry tab
2023-10-06 15:25:51 +11:00
Dion Moult
3d76de3041
New geometry tree documentation picture and minor documentation improvements including mention of COBie 2.4 legacy mode in IfcFM.
2023-10-06 13:05:38 +11:00
Dion Moult
ed3e9f3347
New documentation for shape utility
2023-10-06 13:04:54 +11:00
Dion Moult
eb836436b9
Implement projected surface area calculation function in util.shape
2023-10-06 13:04:34 +11:00
Dion Moult
c34a9c52d0
New drawing width / height / depth / raster DPI controls
2023-10-06 10:45:54 +11:00
Dion Moult
88d96f7d57
You can now easily create orthographic and perspective model drawings from a preset
2023-10-06 10:44:51 +11:00
Dion Moult
69e447be1c
Active drawing panel moved from camera properties to drawing tab.
2023-10-06 08:17:03 +11:00
Massimo Fabbro
df09acfa31
Merge branch 'v0.7.0' into covering_tool
2023-10-05 21:23:11 +02:00
Massimo Fabbro
6343f77c0d
Minor spatial refactor
2023-10-05 21:17:25 +02:00
Thomas Krijnen
285fc2269e
#3852 Update pyproject.toml
2023-10-05 15:52:59 +02:00
Andrej730
68a1da9190
test for model.get_manual_booleans() #3709
...
added test that model.get_manual_booleans will ignore IfcBooleanClippings until we find some other solution to distinguish automatic and manual clippings. And some refactor along the way.
2023-10-05 18:38:46 +05:00
Andrej730
ceae7d4fdb
DumbWallJoiner to work with IfcBooleanResult correctly #3831
...
It wasn't detecting extrusion as part of IfcBooleanResult and was using default wall data as fallback.
Occured after 0044ef5
Solves #3831
Related to #3709
2023-10-05 17:31:24 +05:00
Dion Moult
371daa6c80
Revise COBie 2.4 mappings for facility, floor, and some of space worksheet in collaboration with Emma Hooper
2023-10-05 22:49:52 +11:00
Dion Moult
948993e066
Fix #3845 . Select similar for predefined type now takes into account inheritance.
2023-10-05 22:47:12 +11:00
Andrej730
ec4f0e5ad6
Fixed issue applying array with Sync Children #3822
2023-10-05 15:32:45 +05:00
taylor
ef56c6ce7e
Fixed model reference
2023-10-05 10:17:03 +02:00
Dion Moult
3c02da416e
Georeference module now supports IFC2X3 georeferencing / conversion utilities.
2023-10-05 16:15:28 +11:00
Dion Moult
6660bf7618
Document geolocation util and add support for ePSet IFC2X3 fallbacks.
2023-10-05 16:15:28 +11:00
Dion Moult
000e5ec29a
Merge pull request #3835 from c4rlosdias/v0.7.0
...
Fix problem in facets.py (IfcTester)
2023-10-05 11:39:47 +11:00
Dion Moult
ef8f4df4ab
Fix #3841 . Bump IOS.
2023-10-05 09:57:03 +11:00
Andrej730
dff70f2608
bim.flip_object #3803
...
Added new operator bim.flip_object that flips the object by flipping two of its axes and keeps the original placement.
Currently it can be found either from F3 search or from Shift-F hotkey for IfcBeam and IfcColumn in BIM tools.
2023-10-04 18:20:17 +05:00
Andrej730
0d7967ff62
.reg file for #3778
...
Forgot to commit the .reg file...
2023-10-04 15:13:57 +05:00
Andrej730
4fe459dab6
Fixed typo
2023-10-04 09:47:38 +05:00
Thomas Krijnen
0e5e1f7873
Option to write Earth-Centered Earth-Fixed glTF
2023-10-03 21:26:11 +02:00
Dion Moult
82d4829c83
Clean up IfcFM's Basic preset to be more true to IFC rather than follow naming schemes from stuff like COBie
2023-10-03 21:21:28 +11:00
Dion Moult
a24fab6d92
You can now select and bulk process multiple models using IfcFM in Blender.
2023-10-03 21:21:28 +11:00
Dion Moult
748055dcf1
New IfcPatch recipe to fix Revit bug with occurrence based classifications
2023-10-03 21:21:28 +11:00
Dion Moult
3904162360
New IfcPatch recipe to fix Revit bug with hardcoded Uniformat classification
2023-10-03 21:21:28 +11:00
Andrej730
7ca24ede4c
IfcSverchok docs update urls
2023-10-03 10:50:56 +05:00
Ryan Schultz
1e59b10479
Merge pull request #3820 from brunoperdigao/fix-duplicate-agg-pset-for-new-objs
...
Fixed a bug where the refresh aggregate operator was not working afte…
2023-10-02 15:14:05 -05:00
Massimo Fabbro
cda61bff5b
Refactor create_space operator and better UI for covering tool
2023-10-02 22:13:03 +02:00
Massimo Fabbro
09a9753ca7
refactor create spaces from walls
2023-10-02 22:13:03 +02:00
Massimo Fabbro
1621449143
Add predefined type to AuthoringData
2023-10-02 22:13:02 +02:00
Ryan Schultz
d0ef7f69b1
fix #3792
2023-10-02 14:56:17 -05:00
c4rlosdias
3df95b8970
Merge branch 'v0.7.0' of https://github.com/c4rlosdias/IfcOpenShell into v0.7.0
2023-10-02 13:49:32 -03:00
c4rlosdias
ddd4b0e262
Fix problem in getpsets(facet.py) and added descriptions to specifications (IfcTester)
2023-10-02 13:49:27 -03:00
Carlos Dias
6b05b6e7fb
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2023-10-02 12:58:10 -03:00
Andrej730
9dd728ce7e
Fixed error creating a door type / window types after 8f6be60c6
2023-10-02 17:32:56 +05:00
Andrej730
90b40ff0dc
Getting drawing group more precisely
...
Previously it was conflicting with other possible groups assigned to the object. It's now even more important since we're actively using groups to save search queries.
Example error caused by this issue - during drawing activation if you had 2 IfcGroups on the drawing element:
draiwng's IfcGroup RelatedObjects attribute was updated, then inverse attrtibute `drawing.HasAssignments` order was updated too (DRAWING IfcGroup now would be positioned second after IfcGroup for search query) and it was leading to errors during filtering current drawing annotations
2023-10-02 16:55:38 +05:00
Andrej730
3c27c52c9f
Small fix for 05d4dc566
2023-10-02 15:38:26 +05:00
Andrej730
05d4dc5666
Rever IFC Project
...
https://i.imgur.com/ajQiK8D.png
2023-10-02 15:30:32 +05:00
Andrej730
edaabf5bd2
Fixed #3829 occured after ae45e6b
...
similar_openings wasn't reset on each iteration causing moving unrelated openings
2023-10-02 11:44:31 +05:00
Andrej730
ad79c63a37
Fixed #3832
2023-10-02 10:57:24 +05:00
Sigma Dimensions (Yass)
9461bf2129
fix f2097c0
2023-09-29 17:30:33 +01:00
Sigma Dimensions (Yass)
f2097c0c5f
importing csv cost schedules now allows using selector queries for effortless product assignments to cost items, and add new ods and csv format templates (in french)
2023-09-29 16:10:16 +01:00
Dion Moult
d838e1808d
IfcFM can now be used to federate multiple spreadsheets together
2023-09-29 23:03:58 +10:00
Dion Moult
5ed54d9e7c
Revise COBie 2.4 contact table mapping in collaboration with Emma Hooper
2023-09-29 23:03:58 +10:00
Andrej730
78aba1c7e4
Workaround for #3778
2023-09-29 15:28:11 +05:00
Andrej730
3faaee80ec
copy_deep to always pass exclude_callback to the recursion
...
It wasn't passing the exclude_callback if attribute of the copied element wasn't a tuple, resulting in duplicated named profiles in case if you'd copy a IfcBooleanClippingResult #3810
For example, how copy_deep of IfcProductDefinitionShape with boolean clipping previously would work:
V IfcShapeRepresentation - copied with exlude_callback (part of .Representations[])
V IfcBooleanClippingResult - copied with exlude_callback (part of .Items[])
X IfcExtrudedAreaSolid - copied without exlude_callback becuase it's part of .FirstOperand (not an array) and we have IfcIShapeProfileDef duplicated
Case without booleanclippings:
V IfcShapeRepresentation - copied with exlude_callback (part of .Representations[])
V IfcExtrudedAreaSolid - copied with exlude_callback, since it's part of .Items[], IfcIShapeProfileDef not duplicated
2023-09-29 09:29:25 +05:00
Andrej730
a847b8f4e4
bim.remove_opening not to force Model/Body/Model_view
...
Now it won't be forcing Model/Body/Model_view representation on the objects if some other context is active for the object.
Indirectly solves #3817
2023-09-28 18:51:27 +05:00
Dion Moult
24170a8a16
Ship with fallback IFC2X3 georeferencing pset
2023-09-28 23:07:43 +10:00
Massimo Fabbro
5438331fe1
fix generate spaces from walls bug
2023-09-27 18:52:49 +02:00
Carlos Dias
3c957e0cbe
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2023-09-27 10:55:52 -03:00
Andrej730
10672f3e1a
Print unused elements stats / purge unused elements
...
Added to Purge Data section in Quality Control some tools - https://i.imgur.com/Nz3YoiH.png
1) Print unused elements - useful to investigate how much unused data you have in IFC file.
https://i.imgur.com/9Fkn0JD.png
2) purge unused elements by ifc class, it's doing it in pretty naive way and can be dangerous, so maybe it should be moved to debug section.
2023-09-27 15:42:31 +05:00
Andrej730
fa90e420eb
info message for amount of purged elements
2023-09-27 13:55:56 +05:00
Dion Moult
347bb2df4b
Introductory docs written for IfcFM
2023-09-27 18:22:02 +10:00
Dion Moult
986ffe66f8
New introduction section in IOS docs
2023-09-27 18:22:02 +10:00
Andrej730
c1bedec354
Minor fix after 22edbdd
...
Error was:
TypeError: EnumProperty(..., default='cobie'): not found in enum members
Exception in module register(): \3.6\scripts\addons\blenderbim\__init__.py
Traceback (most recent call last):
File "\Blender\3.6\scripts\modules\addon_utils.py", line 369, in enable
mod.register()
File "\3.6\scripts\addons\blenderbim\__init__.py", line 42, in register
blenderbim.bim.register()
File "\3.6\scripts\addons\blenderbim\bim\__init__.py", line 190, in register
bpy.utils.register_class(cls)
ValueError: bpy_struct "BIMFMProperties" registration error: 'engine' EnumProperty could not register (see previous error)
2023-09-27 12:09:44 +05:00
Dion Moult
182b6c7b07
IfcFM now supports writing to Pandas Dataframes
2023-09-27 14:18:48 +10:00
Dion Moult
22edbddd84
You can now interact with IfcFM via CLI
2023-09-27 14:17:46 +10:00
Dion Moult
50f6f44d26
You can now specify empty formatting for IfcCSV via CLI
2023-09-27 14:16:43 +10:00
Dion Moult
e93a697179
Fix #3788 . Fix crash when opening drawing SVGs using webbrowser module which is not recommended and the file is on a Dropbox synced external drive. Now replaced with generic os.startfile / xdg-open / open commands.
2023-09-27 11:50:52 +10:00
Sigma Dimensions (Yass)
f1a5805b1c
fix loading animation color scheme
2023-09-26 18:33:52 +01:00
Sigma Dimensions (Yass)
126f530af1
run black and forgotten calender utils
2023-09-26 16:44:35 +01:00
Sigma Dimensions (Yass)
5dfbbb8d96
maintain tasks bar visual property state when tasks properties are reloaded
2023-09-26 16:42:35 +01:00
Sigma Dimensions (Yass)
6962e505f9
hide spaces when creating an animation
2023-09-26 16:38:33 +01:00
Sigma Dimensions (Yass)
5c2523e752
fix warning statement when there are no saved animation color schemes
2023-09-26 16:36:48 +01:00
Sigma Dimensions (Yass)
635dff73b4
fix typo
2023-09-26 16:35:31 +01:00
Sigma Dimensions (Yass)
c85e4e7ceb
fix missing task types for animations color scheme
2023-09-26 16:35:00 +01:00
Sigma Dimensions (Yass)
7ed4301c6c
fix tasks not displaying derived calendar
2023-09-26 16:29:53 +01:00
Andrej730
1193e7025a
system decorations - live time update
...
Decoration data is now updating in live time, caching some parts in Data for performance. Real time update is needed because Data doesn't allow update on objects positions change and later will need real time update for viewport orientation data.
2023-09-26 17:08:39 +05:00
Andrej730
cc1ee19115
Add ports to MEP bends/transitions types instead of occurences
2023-09-26 15:19:49 +05:00
Andrej730
e975eac4a7
system decorations to show flow direction
2023-09-26 11:47:10 +05:00
Andrej730
779fc35228
settings flow direction without jumping to ports
...
https://imgur.com/a/F00tG7g
2023-09-26 11:47:10 +05:00
Dion Moult
8e59282fe0
Possible optimisation by caching in IfcTester property checks
2023-09-26 16:03:10 +10:00
Bruno Perdigão
11c8d47909
fixed a bug where the refresh aggregate operator was not working after adding new objects to the parent aggregate
2023-09-25 22:55:56 -03:00
Claudio Benghi
2661999f3e
Fixed most issues with IDS auditing
2023-09-26 11:06:58 +10:00
Ryan Schultz
e4bfb05875
proposed fix for #3792
2023-09-25 10:32:06 -05:00
Massimo Fabbro
fe14988d50
Merge pull request #3790 from maxfb87/new_covering_tools
...
New covering tools (see #3754 )
2023-09-25 16:03:56 +02:00
Massimo Fabbro
d45bef5e70
Merge branch 'v0.7.0' into new_covering_tools
2023-09-25 15:01:03 +02:00
Andrej730
82d03b98c6
Descriptions for add_representation conversion methods
2023-09-25 16:32:48 +05:00
Andrej730
9c1ecf3f2c
draw calculate_all_quantities hotkey in bim tool ui
...
hotkey was already there, it just wasn't added to UI
https://i.imgur.com/nar5WYI.png
2023-09-25 16:32:48 +05:00
Andrej730
8f6be60c6e
recalculate fills on applying changes to ifc windows / ifc doors
...
previously if you'd move the window and then change it's parametric data and try to apply it, opening's position wouldn't be updated
2023-09-25 16:32:48 +05:00
Andrej730
81a1bd9206
Moved common duplication operators code to DuplicateMove
...
Now OverrideDuplicateMoveLinked allways will be in sync with OverrideDuplicateMove.
Also fixed the issue when DuplicateMoveLinked for non ifc elements worked the same was DuplicateMove (it was copying mesh data when it's not suppose to).
2023-09-25 16:32:48 +05:00
Andrej730
9f7dffb29d
replace Drawing.remove_object_data with more general method
2023-09-25 16:32:47 +05:00
Dion Moult
eee799bfc4
Purge IfcCOBie deps from build
2023-09-25 19:24:01 +10:00
Dion Moult
9665adb61d
Fix #3793 . Bug where flipping a wall with generic connection relationships would fail.
2023-09-25 08:34:48 +10:00
Sigma Dimensions (Yass)
e40019f3cb
resources code cleanup
2023-09-24 19:02:35 +01:00
Sigma Dimensions (Yass)
b2f95bfa60
change tests due to new class assignment workflow ref commit 808ff54
2023-09-24 18:45:12 +01:00
Bruno Perdigão
be2c7a62fd
remove connections with old objects when duplicating aggregates
2023-09-24 22:23:55 +10:00
Dion Moult
38f5468f19
We now support separating IFC meshes.
2023-09-24 15:45:22 +10:00
Dion Moult
31dcbc0159
Splitting by edge now resolved mapped representations, voided, and non-mesh geometries
2023-09-24 15:45:22 +10:00
Sigma Dimensions (Yass)
bd81320c08
fix parametric duration/ resource update
2023-09-24 04:39:30 +01:00
Dion Moult
0707f37247
Minor fix during loading arrays
2023-09-24 13:18:32 +10:00
Dion Moult
0993736cea
Fix #3791 . Add isodate as an optional dependency to ifcopenshell-python.
2023-09-24 13:14:56 +10:00
Sigma Dimensions (Yass)
cc3e2204e2
improved template for resource csv imports
2023-09-24 03:17:39 +01:00
Sigma Dimensions (Yass)
8ac5f0318b
fix location search filter
2023-09-23 23:35:17 +01:00
Sigma Dimensions (Yass)
270a61e73a
bring back filter operators into new Filter subpanel and change filter by storey to filter by container
2023-09-23 21:26:58 +01:00
Massimo Fabbro
1c057b1ce1
Add new covering tool. Mock up and initial functions
2023-09-23 18:09:59 +02:00
Sigma Dimensions (Yass)
e74e824417
Proposal to use resource's parent cost, reducing manual insertions
2023-09-23 16:04:01 +01:00
Dion Moult
73d1de5dcf
New debug feature to override the display type.
2023-09-23 14:51:27 +10:00
Dion Moult
4549be0d05
Autodetect dense meshes to make it faster when loading so users don't need to go into advanced mode.
2023-09-23 14:51:27 +10:00
Andrej730
e3f2f2175d
Moving common code for duplication operators
2023-09-22 16:37:50 +05:00
Andrej730
a604cf2b2a
Duplicate the array if all it's elements are selected #3763
...
Demo - https://imgur.com/a/0wYZOPl
2023-09-22 16:37:49 +05:00
Andrej730
d6b4c1f454
Setup arrays constraints on loading .ifc #3753
2023-09-22 13:56:55 +05:00
Andrej730
d3258693b2
Clear constraint and transform lock on duplicating array child object
...
Previously it was locked even though it's not part of an array anymore.
2023-09-22 13:56:55 +05:00
A. R. S
9eba3b6eaa
Try to get unit from EnumerationReference for IfcPropertyEnumeratedValue
2023-09-22 17:41:05 +10:00
Dion Moult
7b75364feb
Refactor IfcFM to make it easier to exclude things
2023-09-22 17:17:15 +10:00
Dion Moult
4a4a0f09ef
Finally purge IfcCOBie to be superseded by IfcFM
2023-09-22 17:04:22 +10:00
Andrej730
6d14c2d448
removing arrays if all array elements are selected #3781
...
I think there is still some space to improve but it should cover the main problem with need going to array section to remove it
Demo - https://imgur.com/a/9Z3t5Q8
2023-09-22 11:25:56 +05:00
Andrej730
57edd47ed7
Fixed error editing pset with prop with empty prop.NominalValue
...
Traceback:
```
Error: Python: Traceback (most recent call last):
File "\blenderbim\bim\module\pset\operator.py", line 103, in execute
self.load_from_pset_data(pset)
File "\blenderbim\bim\module\pset\operator.py", line 226, in load_from_pset_data
value = prop.NominalValue.wrappedValue
AttributeError: 'NoneType' object has no attribute 'wrappedValue'
```
2023-09-22 10:25:51 +05:00
Massimo Fabbro
aefcedf754
Add model test about manual booleans
2023-09-21 23:19:47 +02:00
Massimo Fabbro
2c685c846f
Added calculating quantities function for Qto_DuctSegmentBaseQuantities and Qto_DuctFittingBaseQuantities
2023-09-21 23:19:24 +02:00
Ryan Schultz
6536f7b56b
small fix for 9e67565
2023-09-21 12:58:16 -05:00
Vukas Pajic
9d3881b00e
typo
2023-09-21 16:14:37 +02:00
Vukas Pajic
baffbd6a32
Update ids validation
...
see https://github.com/IfcOpenShell/IfcOpenShell/issues/2933
2023-09-21 13:27:38 +02:00
Sigma Dimensions (Yass)
9e4702c102
small fix when calculating resource work
2023-09-21 06:04:24 +01:00
Dion Moult
b63f3f335c
Autogenerate API docs for more modules.
2023-09-21 13:33:26 +10:00
Dion Moult
29b0bcb6b9
Forgot to commit BCF docs
2023-09-21 13:23:43 +10:00
Dion Moult
62fa0bb218
Migrate more documentation to the official Sphinx docs and mention IfcOpenShell-WASM as an installation option
2023-09-21 13:21:43 +10:00
Ryan Schultz
9e67565c71
Refresh aggregate from selecting a part
2023-09-20 08:54:04 -05:00
Andrej730
dee4cf591e
mep system decorators - basic implementation
...
All it does currently it draws all MEP elements connections in viewport. It also highlights with green color all elements connected to the active object
Demo - https://imgur.com/a/haAQeWt
2023-09-20 15:28:06 +05:00
Andrej730
bc5d6ee113
fixed error in api.system.disconnect_port
...
Error was:
TypeError: can only concatenate tuple (not "list") to tuple
2023-09-20 15:28:05 +05:00
Andrej730
5af3b537da
get_viewport_context to also return space
2023-09-20 15:28:05 +05:00
Andrej730
4b159d400c
bim.draw_system_arrows updated for ifc4
2023-09-20 15:28:05 +05:00
Sigma Dimensions (Yass)
f3c012660a
improve pset editing workflow and use refactored core and tool functions
2023-09-20 01:22:18 +01:00
Sigma Dimensions (Yass)
b5b8b5df26
cascade schedule when adding a sequence relationship
2023-09-20 01:15:06 +01:00
Sigma Dimensions (Yass)
6d38d9b538
fix count_working_days when the start and finish are the same same hours
2023-09-20 01:11:42 +01:00
Sigma Dimensions (Yass)
ef11ae6540
fix calculating critical path to consider:
...
- parent tasks with sequence assignments #3772
- tasks that are constrained by a schedule start
2023-09-20 01:10:34 +01:00
Sigma Dimensions (Yass)
a3802c25c0
fix cascading schedule when parent tasks have sequence relationships #3772
2023-09-20 01:05:19 +01:00
Andrej
377bcfe6da
Merge pull request #3732 from brunoperdigao/fix-refresh-aggregate-rotation
2023-09-19 23:57:52 +05:00
Dion Moult
63a5c0986f
Datatype checks in IfcTester are now case insensitive
2023-09-19 23:56:04 +10:00
Andrej730
8320623210
Exposed some MEP operators in BIM Tool UI
...
https://i.imgur.com/U61QqlQ.png
2023-09-19 17:00:14 +05:00
Andrej730
90c4a2fd41
bim.mep_connect_elements to connect elements by the closest ports
...
Previously it was looking for exact match. Now operator also adjusts connected ports
2023-09-19 17:00:14 +05:00
Andrej730
4ee66caaf9
override_outliner_delete poll error fix
2023-09-19 16:59:15 +05:00
Andrej730
23251de6f1
info message for refresh_aggregate
2023-09-19 16:59:15 +05:00
Dion Moult
37287bac7e
You can now add bSDD properties when assigning bSDD classifications
2023-09-19 20:30:56 +10:00
Vukas Pajic
43a7340f5d
Fix case when ids_dict has key but value is None
2023-09-19 12:28:09 +02:00
Dion Moult
2363b5e167
Minor fix
2023-09-19 19:13:21 +10:00
Dion Moult
62bf8c2287
Fix crash where IFCTester read directly from IFC in the UI
2023-09-19 18:17:24 +10:00
Dion Moult
a5a958d6e2
Basic integration of bSDD with BlenderBIM Add-on: you can now assign classification references from the bSDD and set the active bSDD domain.
2023-09-19 18:17:24 +10:00
Dion Moult
812d8508f4
Implement classification searching in bSDD library
2023-09-19 18:17:24 +10:00
Andrej730
c40cc3f740
select array parent / all array objects to work without parent guid argument
...
now it's getting parent guid from the currently active object, not from provided guid argument - so now it's possible to add those operators to quick favorites
2023-09-19 11:48:06 +05:00
Ryan Schultz
56040951f1
Have bim.select_aggregate make the aggregate empty the active object, as well.
2023-09-18 20:21:19 -05:00
Dion Moult
39b1a65dc5
IfcTester now includes percentages per requirement
2023-09-19 09:03:53 +10:00
Sigma Dimensions (Yass)
438f35fe88
purge cost schedules
2023-09-18 20:20:23 +01:00
Dion Moult
9240518066
Accommodate potential manual deletion of EPset drawing.
2023-09-18 23:41:13 +10:00
Dion Moult
27b71a9d07
Fix #3752 . Accommodate situations where layouts don't match IFC.
2023-09-18 23:15:05 +10:00
Andrej730
0f1d675bef
Associate IFC files with BlenderBIM on Windows
...
Buttons located in addon preferences - https://i.imgur.com/Unp4P9L.png
Just waiting for this to break somehow...
It's not completely automatic now and it doesn't create assign special icon for IFC files yet.
2023-09-18 18:01:20 +05:00
Andrej730
19345ff538
Remove orphaned IfcPropertyEnumeration
...
Noticed a couple hundreds of orphaned IfcPropertyEnumeration in my .ifc like below 😁
IFCPROPERTYENUMERATION('Status',(IFCLABEL('NEW'),IFCLABEL('EXISTING'),IFCLABEL('DEMOLISH'),IFCLABEL('TEMPORARY'),IFCLABEL('OTHER'),IFCLABEL('NOTKNOWN'),IFCLABEL('UNSET')),$);
2023-09-18 12:08:16 +05:00
Andrej730
7b28bc9c68
fixed bug creating transition shapes
...
it was accidentally assigning extrusion vector instead of an offset
2023-09-18 11:30:36 +05:00
Andrej730
d67eae55df
Clean up orphaned meshes
...
- delete_ifc_project
- bim.add_constr_type_instance
- adding transitions and bends
- add profile / slab / wall
2023-09-18 10:58:26 +05:00
Andrej730
8e375dcf73
Save last active context editing doors/windows, solves #3735
...
previously - https://imgur.com/a/gri6zMk
now - https://imgur.com/a/GIwZP6c
2023-09-18 10:04:45 +05:00
Sigma Dimensions (Yass)
a34d0cabfc
MSP calendar exceptions are now also imported #3766
2023-09-17 03:10:31 +01:00
Sigma Dimensions (Yass)
a668743d10
fix msp .xml import: exception days for a standard working week #3766
2023-09-16 19:29:48 +01:00
Massimo Fabbro
b13cbbb244
Partial spatial tool refactor
2023-09-15 22:47:35 +02:00
Andrej730
b6ae5fd344
For parametric doors and windows remove "Edit Profile" button from BIM Tool UI to avoid confusion
2023-09-15 15:55:15 +05:00
Andrej730
1c85034e19
Add starting/saving IFC project to Blender F4 file context menu
...
https://i.imgur.com/FDvZZwc.png
2023-09-15 15:36:33 +05:00
Andrej730
b0d1823968
MEP bends - fixed bunch of bugs related to adjusting already existing bends types
2023-09-15 15:36:33 +05:00
Dion Moult
f0e03c79df
Project advanced mode filtering now uses new filter syntax
2023-09-15 11:25:08 +10:00
Andrej730
6109cdf41b
Ooops, forgot to remove debug shape creation
2023-09-14 18:19:03 +05:00
Andrej730
ec0873d527
transitions - fixed bug finding compatible fitting
...
For example, there was a fitting from segment of type A to the segment of type B with start/end transition lengths equal a/b respectively.
And then if you'd try to create a transition from B to A and start/end transition lengths being equal to b/a, previously BBIM wouldn't be able to find that already existing fitting is still compatible.
2023-09-14 18:19:03 +05:00
Andrej730
63223172b4
mep operators - clamp properties below zero
2023-09-14 18:19:03 +05:00
Andrej730
9778253d21
bends - support for zero radius bends
2023-09-14 18:19:03 +05:00
Dion Moult
0140b4ded1
IfcDiff can now visualise across linked IFCs
2023-09-14 22:50:57 +10:00
Dion Moult
dca60b83a9
Make IfcDiff more forgiving when invalid geometry occurs. See #3755 .
2023-09-14 22:28:03 +10:00
Andrej730
42e683375c
Fixed bug using tab editing arbitrary profile
...
It was assuming we were editing extrusion profile and therefore was giving errors.
2023-09-14 11:06:42 +05:00
Dion Moult
66e07c2f69
Include buildingSMART psets in IfcFM Basic preset
2023-09-14 15:17:52 +10:00
Dion Moult
2b067b9dec
Minor fix
2023-09-14 14:27:07 +10:00
Dion Moult
c22d7d2f41
More minor fixes to IfcFM basic preset
2023-09-14 14:24:06 +10:00
Dion Moult
ea3d489c24
Minor fixes to IfcFM
2023-09-14 12:10:36 +10:00
Andrej730
97683a14ef
Revert "Replace currently selected objects with occurences of type"
...
This reverts commit 58199ef7c9 .
2023-09-13 18:44:00 +05:00
Andrej730
d79b912e0e
bends - consider profile dimensions searching for compatible fitting
...
So basically now it won't reuse a bend fitting created for the same profile but with different dimension.
2023-09-13 16:30:20 +05:00
Andrej730
7ec8f8b03e
bends - adjusting compatible fitting rotation to match the segments
...
Demo - https://imgur.com/a/cYdWy9X (note that no bend types created in the process - it's just adjusting the type created for the first two segments).
2023-09-13 16:30:20 +05:00
Andrej730
58199ef7c9
Replace currently selected objects with occurences of type
...
Added operator to replace currently selected objects with occurences of the chosen type. I kept doing this from the code and thought it could be generally useful.
It's working pretty naive now and just replacing objects with occurences preserving the original transform (location/rotation/scale), nothing else is preserved.
Demo - https://imgur.com/a/qm8a6Ns
PS Hopefully I'm not reinventing the wheel and not missed some other similar operator
2023-09-13 16:30:20 +05:00
Andrej730
d5c46514d3
bends - considering parametric data searching for compatible fitting
2023-09-13 16:30:20 +05:00
Thomas Krijnen
f400973557
Correct xsi:schemaLocation
2023-09-13 12:47:33 +02:00
Thomas Krijnen
148d6e7b1b
Update IDS.xsd
2023-09-13 10:11:01 +02:00
Dion Moult
74dec650a7
New FM module in BlenderBIM Add-on for interacting with IfcFM.
2023-09-13 17:08:33 +10:00
Dion Moult
5f6e003e4e
Implement COBie documents and attributes
2023-09-13 17:08:33 +10:00
Andrej730
d3df22b44b
bends - use IfcArcIndex to define bends curves
...
instead of manually generating polylines of segments
2023-09-12 16:29:33 +05:00
Andrej730
257208d55b
bends - support for start and end segments
2023-09-12 16:00:02 +05:00
Andrej730
d8b9b09d14
shapebuilder - replace y extrusion args with shortcut for readibility
2023-09-12 16:00:02 +05:00
Andrej730
6f9e14ceb0
Bends - replace faceset with simple extrusion
2023-09-12 16:00:02 +05:00
Andrej730
d854984dda
MEP bends - support for circular profiles
...
Demo - https://imgur.com/a/XQBOvGz
2023-09-12 16:00:01 +05:00
Dion Moult
2951721886
Don't strip selector query keys to allow for explicit "mistakes" in key names.
2023-09-12 20:45:24 +10:00
Dion Moult
02801b32a6
Minor fix in IfcCSV where strings didn't get auto quoted.
2023-09-12 17:48:23 +10:00
Dion Moult
b243e04fd2
New util.system.get_port_element function.
2023-09-12 17:48:23 +10:00
Dion Moult
02902d9a41
Allow optional second arguments to substr formatting.
2023-09-12 17:48:23 +10:00
Dion Moult
5c33034455
Implement COBie assemblies, connections, spares, resources, and jobs.
2023-09-12 17:48:23 +10:00
Thomas Krijnen
7541293a3c
Case sensitivity on entity str comparison from cmd line https://sourceforge.net/p/ifcopenshell/discussion/1782717/thread/2bf3324a7f
2023-09-11 21:27:54 +02:00
Dion Moult
da7d4dac7a
Implement COBie systems
2023-09-11 23:24:34 +10:00
Andrej730
507ab8ec11
Fixed top and center alignment in the schedule
...
Solves #3599
Before - https://i.imgur.com/9s7MxH5.png
After - https://i.imgur.com/ojDj09G.png
Inkscape - https://i.imgur.com/pWF4Ouy.png
2023-09-11 17:30:59 +05:00
Andrej730
e93ff7a6b1
MEP bends - more robust start/end points detection
...
also support for bends with angles > 90 degrees and some other bugs fixed
2023-09-11 16:28:14 +05:00
Dion Moult
098ae2b69f
Implement COBie type and component tables
2023-09-11 18:31:37 +10:00
Dion Moult
a58a10e93d
Deprecate purge_module_data in favour of newer refresh_ui_data function.
2023-09-10 18:27:05 +10:00
Dion Moult
9be7d951c3
Improve usability of pset template UI by removing save button and using new explicit applicable entity defaults to mitigate possible invalid pset templates.
2023-09-10 17:38:07 +10:00
Dion Moult
6cf482dc63
Minor UI bugfix where pset template files sometimes displayed with truncated filenames
2023-09-10 17:36:07 +10:00
Dion Moult
aaa4683462
Fix bug where you couldn't add psets that were inherited.
2023-09-10 17:35:33 +10:00
Dion Moult
0b5535b6d4
Implement COBie zones
2023-09-10 09:04:19 +10:00
Andrej730
45feaeaec4
Spatial Manager - try to preserve the selection on loading the manager
...
Also noticed in Sigma Dimensions video that every time user deletes a storey or applies new elevation the selection was jumping to the first storey. Now it's going to be more natural.
Before - https://imgur.com/a/gbn7ryQ
After - https://imgur.com/a/QX2RulF
2023-09-09 18:04:35 +05:00
Andrej730
90f92cd139
Units formatting for Spatial Manager
...
Noticed in Sigma Dimensions video that we have some floating point garbage displayed in the Spatial Manager UI and I've added some simple formatting.
Now - https://i.imgur.com/eM1rDDu.png
Before - https://i.imgur.com/ySln5uU.png
2023-09-09 17:55:58 +05:00
Dion Moult
0285d97e3f
Reimplement IfcCOBie contacts, facilities, floors, and spaces in IfcFM.
2023-09-09 21:27:10 +10:00
Andrej730
bf80e4b5e1
Considering parametric data for fitting #3695
...
Search for compatible fitting wasn't taking into account that maybe fitting used for the same segments but fitting's parameters are not the same (such as start_length, end_length, angle and offset between profiles).
I also forgot to promote transition angle to operator's property😬
2023-09-08 19:40:18 +05:00
Andrej730
d4e4717857
Fixed issue creating slabs in IFC2X3 #3696
...
Error traceback is below - it was trying to set IfcExtrudedAreaSolid.Position to None when in IFC2x3 Position wasn't optional, so now in IFC2X3 it's going to have some default position
RuntimeError: Error: Python: Traceback (most recent call last):
File "\bim\module\model\product.py", line 123, in execute
return IfcStore.execute_ifc_operator(self, context)
File "\bim\ifc.py", line 336, in execute_ifc_operator
result = getattr(operator, "_execute")(context)
File "\bim\module\model\product.py", line 148, in _execute
if self.generate_layered_element(ifc_class, relating_type):
File "\bim\module\model\product.py", line 274, in generate_layered_element
obj = slab.DumbSlabGenerator(relating_type).generate()
File "\bim\module\model\slab.py", line 143, in generate
return self.derive_from_cursor()
File "\bim\module\model\slab.py", line 147, in derive_from_cursor
return self.create_slab()
File "\bim\module\model\slab.py", line 179, in create_slab
representation = ifcopenshell.api.run(
File "\libs\site\packages\ifcopenshell\api\__init__.py", line 66, in run
result = usecase_class(ifc_file, **settings).execute()
File "\libs\site\packages\ifcopenshell\api\geometry\add_slab_representation.py", line 42, in execute
[self.create_item()],
File "\libs\site\packages\ifcopenshell\api\geometry\add_slab_representation.py", line 58, in create_item
extrusion = self.file.createIfcExtrudedAreaSolid(
File "\libs\site\packages\ifcopenshell\file.py", line 337, in create_entity
e[idx] = arg
File "\libs\site\packages\ifcopenshell\entity_instance.py", line 260, in __setitem__
self.wrapped_data.setArgumentAsNull(idx)
File "\libs\site\packages\ifcopenshell\ifcopenshell_wrapper.py", line 4929, in setArgumentAsNull
return _ifcopenshell_wrapper.entity_instance_setArgumentAsNull(self, i)
RuntimeError: Attribute not set
2023-09-08 17:46:58 +05:00
Andrej730
fca90e9b0f
automatically adjust viewport camera on loading ifc
...
It will make sure you'll be able to see the project's elements in viewport when it's loaded (same way as if you'd select all objects and hit "Numpad .").
Couldn't find any way to make it work without enablging / disabling selection - https://projects.blender.org/blender/blender/issues/112141
2023-09-08 17:10:52 +05:00
Andrej730
ffbb91216f
Fixed issue using mitre with small angles between walls ( #3721 )
...
Normalization is unrelated, just added to be safe.
2023-09-08 15:47:20 +05:00
Andrej730
09620e060f
some DumbWallJoiner.join() refactor
2023-09-08 15:47:20 +05:00
Dion Moult
0ea38384cc
Minor fix after 6887210
2023-09-08 17:44:33 +10:00
Dion Moult
aae659c5fd
Fix bug when casting to tessellation for invalid IFCs which don't use material sets properly.
2023-09-08 15:52:44 +10:00
Dion Moult
b7a481ec79
IfcFM now uses Openpyxl and supports xlsx. Reorder columns to be more logical and group similar data types together (at least for me).
2023-09-08 13:16:17 +10:00
Dion Moult
763eaf83da
Fix #3733 . Fix round function precision error.
2023-09-08 12:20:52 +10:00
Dion Moult
2843d1e13e
Enable Sphinx auto section labels. Minor doc link fix.
2023-09-08 12:06:59 +10:00
Dion Moult
e897797955
For convenience, rounding to an integer value now also casts to integer.
2023-09-08 11:17:28 +10:00
Bruno Perdigão
cc8f103465
fix rotation from refresh aggregate operator
2023-09-07 21:06:08 -03:00
Ryan Schultz
f1c3a90bc5
Update installation.rst
2023-09-07 14:23:37 -05:00
Dion Moult
c90c438324
ResetAbsoluteCoordinates IfcPatch recipe can now choose whether to reset placements, geometry, or both points.
2023-09-07 22:15:44 +10:00
Dion Moult
ae1ff3f6f7
Fix bug where unedited mesh objects were still tagged as edited which led to unnecessary processing prior to drawing generation or saving.
2023-09-07 22:09:26 +10:00
Dion Moult
e2224386bf
You can now customise the display of empty strings in IfcCSV.
2023-09-07 18:15:12 +10:00
Dion Moult
6ad51ebd18
Update documentation with new selector keys.
2023-09-07 18:11:55 +10:00
Dion Moult
0fb9f584cb
Big clean up to IfcFM. It's almost usable!
2023-09-07 17:38:33 +10:00
Dion Moult
9a34b94568
Fix #3682 . You can now tag setout points with dynamic xyz / enh values.
2023-09-07 13:47:54 +10:00
Dion Moult
7bca3bcac3
Drawing text annotation now use the new format functions instead of executing arbitrary code.
2023-09-07 13:05:03 +10:00
Dion Moult
de27554043
New substr formatting function.
2023-09-07 13:02:45 +10:00
Dion Moult
306ee3dfa4
You can now choose both input and output units for imperial formatting
2023-09-07 12:18:43 +10:00
Ryan Schultz
3593b6b5c2
Update ifc_classes_suggestions.json
2023-09-06 20:13:55 -05:00
Dion Moult
e06acab39b
Revert "Spreadsheet Import/Export: Fix feet and inch formatting"
...
This reverts commit 921d412fc7 .
2023-09-07 10:13:00 +10:00
Dion Moult
6dd4e0f53a
Revert "Small fix for feet and inch formatting on Spreadsheet Import/Export"
...
This reverts commit 7935bd22c2 .
2023-09-07 10:12:50 +10:00
Dion Moult
2c2a37cacb
Fix #3722 . Fix ifcopenshell pypi distribution to use modern manylinux tag for glibc 2.31.
2023-09-07 09:57:58 +10:00
Ryan Schultz
7935bd22c2
Small fix for feet and inch formatting on Spreadsheet Import/Export
2023-09-06 13:49:32 -05:00
Andrej730
6887210a1a
remove the orphaned data created on object duplicate
...
orphaned mesh still had ifc_definition_id of the original object and could have caused issues in theory
2023-09-06 17:28:37 +05:00
Andrej730
33dc3a4b06
Update status visibility automatically #3721
2023-09-06 15:57:39 +05:00
Dion Moult
ba4610155f
Fix #3705 . Fix ambiguity in using commas in unquoted strings in facet selector.
2023-09-06 16:34:39 +10:00
Dion Moult
28eeba49ba
Fix #3712 . Fix bug where grid axes couldn't be duplicated.
2023-09-06 15:11:07 +10:00
Dion Moult
0a00e529c3
Improve hello world documentation to be more beginner friendly
2023-09-05 23:42:31 +10:00
Dirk Olbrich
c5024cf6be
cmake: ifcconvert is build in minimal
2023-09-05 13:00:39 +02:00
Dirk Olbrich
0f3b416c3f
cmake: reorder build options
2023-09-05 13:00:39 +02:00
Dirk Olbrich
addacd9ce5
cmake: move check fo 3ds max sdk to external file
2023-09-04 15:01:12 +02:00
Dirk Olbrich
5582bb2d4c
ifcmax: format and unify cmake
2023-09-04 15:01:12 +02:00
Andrej730
8b27c0e755
hotfix for ca4efa6e5
2023-09-04 16:33:02 +05:00
Andrej730
ca4efa6e50
Remove operator's name from set_tab tooltip #3704
2023-09-04 16:14:56 +05:00
Andrej730
cfac835607
bim.mep_add_bend
...
Added operator to create bend fittings between objects, it's still work in progress and now it only supports rectangular profiles.
Small demo - https://imgur.com/a/vM7hnJa
2023-09-04 15:42:45 +05:00
Andrej730
3aa72ae74a
notify about unsupported transition case
2023-09-04 15:42:45 +05:00
Dion Moult
07579ee9a1
See #3700 . Fix issue in drawing include filter where "addition" selections like GlobalIds and classes didn't have any impact.
2023-09-04 15:59:13 +10:00
Dirk Olbrich
fe4823681f
ifcgeom: fix compiler warning -Wunused-but-set-variable
2023-09-03 20:02:20 +02:00
Dirk Olbrich
6816ad5c0f
ifcparse: fix compiler warning -Wignored-qualifiers
2023-09-03 20:02:20 +02:00
Dirk Olbrich
aace987149
ifcgeom: fix compiler warning -Wreorder-ctor
2023-09-03 20:02:20 +02:00
Carlos Dias
339ab9eeab
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2023-09-03 12:33:20 -03:00
Thomas Krijnen
eee844e204
Express rules: Workaround str case in IfcBlobTexture
2023-09-02 15:58:05 +02:00
Dion Moult
46cfe70181
You can now load 2D point clouds.
2023-09-02 16:31:08 +10:00
Dion Moult
294935ceed
See #3682 . You can now add symbols and multisymbols (i.e. one vertex per symbol) annotations. New default symbols for setout points in demo library.
2023-09-02 16:31:08 +10:00
Dirk Olbrich
f2097b9036
cmake: fix PATHS syntax error closes #2632
2023-09-01 17:35:02 +02:00
Andrej730
e48a3a06c0
Fixed bug with adding obstruction fittings
2023-09-01 18:24:02 +05:00
Andrej730
c07371cb76
couple descriptions for setting north
2023-09-01 18:05:22 +05:00
Dion Moult
8d450aa500
Fix #3470 . Fix bug where hppfcl for IfcClash was incorrectly bundled for Windows.
2023-09-01 22:14:09 +10:00
Dirk Olbrich
726c792fbe
cmake: remove unused CONVERT_PRECISION closes #3672
2023-09-01 11:56:11 +02:00
Dirk Olbrich
83dda3e73f
cmake: fix QT version number from merge conflict
2023-09-01 11:56:11 +02:00
Dirk Olbrich
5c78e29849
cmake: fix target versions closes #3671
2023-09-01 11:56:11 +02:00
Dirk Olbrich
e6d48cd37f
cmake: fix reset to ROOT_PATH back in
2023-09-01 11:56:11 +02:00
Dirk Olbrich
a3ecde3ad9
cmake: reset wrong fix on merge conflict
2023-09-01 11:56:11 +02:00
Dirk Olbrich
2bb64a6cae
cmake: fix order to set boost components
2023-09-01 11:56:11 +02:00
Dirk Olbrich
764c818d10
cmake: fix inline variable error
2023-09-01 11:56:11 +02:00
Dirk Olbrich
2d18185928
cmake: fix lowercase and duplicates from rebase
2023-09-01 11:56:11 +02:00
Dirk Olbrich
43468166d2
fix format of license block
2023-09-01 11:56:11 +02:00
Dirk Olbrich
fbfd6bc485
refactor order of unify envvars
2023-09-01 11:56:11 +02:00
Dirk Olbrich
1578efe366
refactor conditional for 3ds Max SDK
2023-09-01 11:56:11 +02:00
Dirk Olbrich
76948c5156
add uninstall target
2023-09-01 11:56:11 +02:00
Dirk Olbrich
562ed5908d
fix IFC_MAX check
2023-09-01 11:56:11 +02:00
Dirk Olbrich
9caac14014
make 3ds SDK search optional, order cmake options
...
# Conflicts:
# cmake/CMakeLists.txt
2023-09-01 11:56:11 +02:00
Dirk Olbrich
695f75f3a7
fix missing capitalization
2023-09-01 11:56:11 +02:00
Dirk Olbrich
7d7c04ddc0
cmake format and unify file
2023-09-01 11:56:11 +02:00
Dion Moult
863bf8ebbe
Fix bug where models that might have invalid shapes or 2D far shapes might break georeferencing and model loading.
2023-09-01 17:39:53 +10:00
Dion Moult
0fcc28f50c
Minor fix
2023-09-01 17:33:33 +10:00
Dion Moult
04e9a08f3d
IfcTester BCFs now include viewpoints for occurrences
2023-09-01 17:29:06 +10:00
Dion Moult
837c401116
Add filepath popup when saving IDS reports to BCF
2023-09-01 17:28:19 +10:00
Dion Moult
b087d5125f
Bump IOS
2023-09-01 16:55:18 +10:00
Dion Moult
a6bff09c78
Update BBIM tester module UI to be compatible with new IfcTester upgrades
2023-09-01 16:47:55 +10:00
Dion Moult
4716c0b7b7
IfcTester now supports much more granular statistic reports and more detailed / beautiful HTML reports.
2023-09-01 16:46:49 +10:00
Dion Moult
1d040a170e
Fix #3649 . Increase profile threshold.
2023-08-31 23:04:55 +10:00
Dion Moult
951026a95c
Fix #3667 . Allow removing drawings if the sheet hasn't yet been generated or manually removed.
2023-08-31 22:36:18 +10:00
Dion Moult
c6b82bfa56
Fix #3647 . Fix bug where Windows .exe suffix needed to be explicit in commands. No more eval, and commands must now be provided in json form, and variables should be given as simple strings.
2023-08-31 22:28:33 +10:00
Sigma Dimensions (Yass)
01b6d90432
fix failed context for hotkey Shitf+C #3676
2023-08-31 11:14:53 +01:00
dushyant basson
504a116ebf
Update src/qtviewer/ParseIfcFile.cpp
...
Co-authored-by: Thomas Krijnen <t.krijnen@gmail.com >
2023-08-31 10:17:30 +02:00
dushyant basson
be785a878c
Update src/qtviewer/ParseIfcFile.cpp
...
Co-authored-by: Thomas Krijnen <t.krijnen@gmail.com >
2023-08-31 10:17:30 +02:00
dushyant basson
5c2b7404d2
Revert "Updated included header files"
...
This reverts commit 65f86d929e .
2023-08-31 10:17:30 +02:00
dushyant basson
84e9e2396a
Updated included header files
2023-08-31 10:17:30 +02:00
Dushyant Basson
7687d5e26e
Added output panel (for debug info, etc.)
2023-08-31 10:17:30 +02:00
Dushyant Basson
25ce3b039e
added IFCOS libraries; Qt include dir
2023-08-31 10:17:30 +02:00
Dushyant Basson
9c4c42e27e
comment edit: Qt5 to Qt6
2023-08-31 10:17:30 +02:00
dushyant basson
26dd850ac1
added .cache to .gitignore
2023-08-31 10:17:30 +02:00
dushyant basson
0380c286a5
Rename files - fixing case change
2023-08-31 10:17:30 +02:00
dushyant basson
10aca77de4
Updated to use Qt6; Created initial structure of the viewer with OpenGL widget
2023-08-31 10:17:30 +02:00
Dion Moult
b6f2fdef77
Fix #3531 . See #3660 . Exclude 2D elements from generating shapely surface polygons in drawings.
2023-08-31 18:14:06 +10:00
Thomas Krijnen
9cc1f5f0e3
#3660 Oops... propagate setting
2023-08-31 08:27:45 +02:00
Dion Moult
adcf22f281
Fix #3002 . You can now have metadata classes on projection lines.
2023-08-31 12:40:39 +10:00
Dion Moult
ad0c49ac37
Bump IOS to take advantage of setSegmentProjection
2023-08-31 12:40:39 +10:00
Thomas Krijnen
73d77b8382
Update rule_executor.py - catch some runtime errors
2023-08-30 14:56:35 +02:00
Andrej730
3e45f39ea2
Fixed #3666 after 101972f
2023-08-30 17:43:11 +05:00
Thomas Krijnen
a2bb015c79
Update validate.py - catch some runtime errors
2023-08-30 13:48:31 +02:00
Thomas Krijnen
b231f43fc7
Update ci.yml
2023-08-30 11:38:28 +02:00
Thomas Krijnen
383038fdb4
Update ci-py-only.yml
2023-08-30 11:38:20 +02:00
Thomas Krijnen
fbd8ea1edb
#3660 setSegmentProjection() / --svg-segment-projection options
2023-08-30 10:57:33 +02:00
Dirk Olbrich
26e292dd34
docs: fix backslash in cmake command
2023-08-30 10:31:41 +02:00
Dion Moult
c520e16031
Fix #3644 . Annotation matrixes properly calculated now for RCPs.
2023-08-30 18:16:08 +10:00
Bruno Postle
101972fbad
BlenderBIM keep view when switching git revision
2023-08-29 22:28:02 +01:00
Sigma Dimensions (Yass)
f23ebc4031
fix issue where add materials operator would only show when a material is selected
2023-08-29 17:00:24 +01:00
Sigma Dimensions (Yass)
44431db092
fix toggle link selectability and visibility when linked IFCs use a relative path
2023-08-29 16:32:18 +01:00
Sigma Dimensions (Yass)
d1b6c1ffe4
fix loading and unloading linked IFCs with a relative path
2023-08-29 16:30:29 +01:00
Sigma Dimensions (Yass)
4d98151b62
fix various issues by preventing data from linked IFCs to be saved in current project
2023-08-29 16:28:40 +01:00
Sigma Dimensions (Yass)
5e8e18e3b5
Maintain active status filters override when activating 3D model during drawing worfklows
2023-08-29 10:29:03 +01:00
Andrej730
808ff548ec
IfcElementType now appears first in Object Metadata
...
Because it's seems more general workflow to create types than just assign classes.
Example - https://i.imgur.com/DD8twX3.png
2023-08-29 13:58:14 +05:00
Andrej730
bc9b482373
Rename IFC AU Library to IFC Furniture library
...
Just thought watching BIM Voice last video that some people may overlook it like something Australia specific with "IFC AU Library" name.
2023-08-29 13:58:14 +05:00
Sigma Dimensions (Yass)
4506eb0df9
fix removing drawings from sheets when deleting drawings #3645
2023-08-29 00:45:01 +01:00
Ryan Schultz
921d412fc7
Spreadsheet Import/Export: Fix feet and inch formatting
2023-08-28 10:11:24 -05:00
Andrej730
6089d3af78
shape_builder docs test
2023-08-28 16:14:05 +05:00
Christoph Mellueh
b8168ca606
add build to Makefile and use it in bcf-pypi Workflow
2023-08-28 11:24:19 +02:00
Andrej730
61a7325bc0
fill-bg for text instead of the entire symbol by default #3594
...
Before - https://i.imgur.com/OsQycgW.png
After - https://i.imgur.com/rZvXIoT.png
2023-08-28 11:58:17 +05:00
Chetan
c483116b32
Create constants ELEMENT_ARRAY_BUFFER and ARRAY_BUFFER to allow for more descriptive bufferview construction. Change the bufferViewId variable from a static variable to a member variable because python instances of IfcOpenShell can have multiple serializers open at any given time. This commit also includes some minor code reformatting and code comments explaining the changes done. Finally integer constants GLB_FILE_HEAER, GLB_JSON_HEADER, GLB_BINARY_CHUNK_HEADER were added to make the glb file header creation more descriptive
2023-08-28 08:46:11 +02:00
Chetan
55a623dc97
Give each accessor its own buffer view to improve the memory and rendering efficiency of the glb file
2023-08-28 08:46:11 +02:00
Sigma Dimensions (Yass)
ad420108b0
run black and fix silly code #3652
2023-08-27 18:43:33 +01:00
Sigma Dimensions (Yass)
9944c7d2de
you can now reload linked IFCs #3652
2023-08-27 18:21:19 +01:00
Sigma Dimensions (Yass)
1a8f2be4fd
Move grids panel under Project Setup
2023-08-27 18:19:33 +01:00
Dion Moult
13f64fdfe2
Write documentation describing facet selector and element query syntax.
2023-08-27 22:32:41 +10:00
Dion Moult
38a9e29102
Bump IOS and enable unify inputs.
2023-08-26 22:11:54 +10:00
Dion Moult
3c23a57138
Minor fix to use new regex syntax in select similar dialog.
2023-08-26 18:26:03 +10:00
Dion Moult
7baed872c6
Minor fixes, and IfcCSV now uses pandas to import ODS/XLSX for more robust importing.
2023-08-26 18:24:48 +10:00
Dion Moult
9a7a284561
Selector element key queries now allow for regex matching, and single regex matches return that only item, not a list with one item in it.
2023-08-26 16:42:18 +10:00
Dion Moult
e9c24a2656
Fix #3587 . IfcCSV now supports custom formatting functions.
2023-08-26 15:15:34 +10:00
Gorgious56
5c73ef0a6d
Fix #3641 : Error when creating roof type
2023-08-25 15:13:07 +02:00
Carlos Dias
6c29c53a72
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2023-08-25 08:25:25 -03:00
Thomas Krijnen
dadcbe61ea
#3158 Fix unify inputs
2023-08-25 12:48:45 +02:00
Thomas Krijnen
93502a05ea
Update draw.py --with-unify-inputs [True]
2023-08-25 12:43:32 +02:00
Andrej730
5ebde4c79a
small info message on bim.get_representation_ifc_parameters
...
just to notify that it worked but haven't found any parameters
2023-08-25 12:16:40 +05:00
Dion Moult
cf21ae22f1
Fix incorrect implementation of regex matching
2023-08-25 17:15:21 +10:00
Dion Moult
cc500ae833
Fix #3635 . Minor fix.
2023-08-25 16:59:08 +10:00
Dion Moult
256c0baa14
Accommodate invalid Revit models where they have invalid material relationships.
2023-08-25 16:52:00 +10:00
Dion Moult
66decc604e
Fix failing tests and optimise brick tests.
2023-08-25 16:52:00 +10:00
Andrej730
356bc18078
fixed errors after 13309cb8c #3624
...
for example it was throwing errors when using WindowTool you selected a wall and it would try to assign current type to wall
2023-08-25 11:26:37 +05:00
rileywong311
1344cbc192
Update core/test_brick.py
2023-08-24 16:38:54 -07:00
rileywong311
e00ffb07ad
Update tool/test_brick.py
2023-08-24 16:38:54 -07:00
rileywong311
dba43590a5
Fix bug where split screen selection from previous page is out of range on the next
2023-08-24 16:38:54 -07:00
rileywong311
a0613cfee6
Undo indentation from commit <e08283350> (did not account for no name existing)
2023-08-24 16:38:54 -07:00
rileywong311
c3de72b71a
Fix Brick core
...
- Refresh viewer now reloads both screens by default
- Rename "add_namespace" to "add_brick_namespace"
- Fix error where "view_brick_class" was run instead of "brick.run_view_brick_class"
2023-08-24 16:38:54 -07:00
rileywong311
39fc60a482
Update core\tool.py for Brick
2023-08-24 16:38:54 -07:00
rileywong311
0d7e71a269
Fix Brick tool
...
- Data is now stored regularly and parsed in props
- "get_convertable_brick_spaces" returns a set
- "export_brick_attributes" always returns a tuple of strings
2023-08-24 16:38:54 -07:00
rileywong311
78a2f65ec3
Fix brick.feature
...
For one particular, I removed "And I set 'scene.BIMRootProperties.new_brick_relation_type' to 'hasPart'". Although it should really be "https://brickschema.org/schema/Brick#hasPart " to begin with, it was still failing the test. So removing it as a work around.
2023-08-24 16:38:54 -07:00
rileywong311
802bd74c52
Refactor UI get_brick_relations
2023-08-24 16:38:54 -07:00
rileywong311
33cf40debb
Fix condition for hiding "view_brick_item"
2023-08-24 16:38:54 -07:00
rileywong311
ff63fd9f6f
Rename 'add_brick_failed" to "add_brick_relation_failed"
2023-08-24 16:38:54 -07:00
rileywong311
5b207e6f54
Fix indentation for assign Brick reference
2023-08-24 16:38:54 -07:00
Gorgious
695dc6ec5a
Fix #3636 : Check if representation class exists before testing if it's a circle extrusion representation
2023-08-24 20:42:42 +02:00
Sigma Dimensions (Yass)
d3bcb8c6b9
updating a duration will not auto update schedule usage
2023-08-24 15:51:33 +01:00
Andrej730
6226aea3c3
Fixed bug adding ports to the transitions between profiles with an offset
...
end port ended up located without the offset
2023-08-24 18:22:03 +05:00
Andrej730
a30ad9b886
Fixed bug in shape_builder.mep_transition_calculate
...
it wasn't taking account that `h` can also end up negative
2023-08-24 18:22:03 +05:00
Andrej730
2b1e17681f
Fixed bug with segments incorrectly adjusted after adding transition
...
If transition was really long comparing to segments length then DumbProfileJoiner.join_E would start change their their length in unexpected way - ATSTART when you'd still expect ATEND and vice versa.
Also fixed the bug when segments length was incorrectly calculated - it wasn't calculating it world space when it makes more sense here to calculate it by local segments Z axis.
2023-08-24 18:22:03 +05:00
Dion Moult
8f25a31f19
Fix more failing tests.
2023-08-24 23:03:43 +10:00
Sigma Dimensions (Yass)
1c7e6cf1b9
fix bug where nested resources in task ICOM panel didn't show
2023-08-24 13:58:18 +01:00
Sigma Dimensions (Yass)
fc7459c07f
Resource Features :
...
- Adding/removing and edit productivity data is now easier (+ cleaner UI)
- Pressing calculate schedule work on a parent resource will default to calculating its nested resources schedule work.
- Show derived Schedule Work for a parent resource
- Improve apperance of Resource Tree Structure
2023-08-24 13:43:25 +01:00
Gorgious56
8f6932de64
Prevent user from editing the mesh of a circle based extrusion
2023-08-24 14:16:59 +02:00
Dion Moult
b708100c03
See #3581 . Fix failing IOS tests.
2023-08-24 22:12:44 +10:00
Christoph Mellueh
d4e2d3d2dd
rename File and unify with ci-ifctester-pypi
2023-08-24 21:05:54 +10:00
Andrej730
13309cb8c4
Fixed #3624 - tools props were updating only for BIM Tool
...
It wasn't taking into account WallTool, BeamTool and all other tools we have.
2023-08-24 15:42:23 +05:00
Andrej730
5a4bc0909b
Update currently selected ifc class and type on selecting object
...
Had this idea for awhile now and heard it multiple times from other people. Please give feedback if this feature gets in the way instead of helping.
Example - https://imgur.com/a/K4hz2FB
2023-08-24 15:20:36 +05:00
Andrej730
39540e5794
A button to jump back from boolean to the original object
...
Example - https://imgur.com/a/A3dVbFM
2023-08-24 14:29:42 +05:00
Dion Moult
0a0f977b5c
Fix #3632 . Make search and CSV UIs share the same Blender props for DRY.
2023-08-24 17:01:25 +10:00
Dion Moult
13a75e7ad7
You can now reorder columns in IfcCSV
2023-08-24 13:56:43 +10:00
Dion Moult
99574d6255
Loading IFCs now prioritise 2D bodies over 3D non-bodies. This helps prevent loading and seeing a bunch of Box / Clearance representations.
2023-08-24 13:24:08 +10:00
Dion Moult
968cceb725
Fix #3627 . Bug where exclude didn't take into account entities are "OR" not "AND". Whoops.
2023-08-24 11:50:48 +10:00
Sigma Dimensions (Yass)
002985a446
run black
2023-08-23 21:21:19 +01:00
Sigma Dimensions (Yass)
5adc29b0b3
Feature to calculate required resources
2023-08-23 21:21:03 +01:00
Sigma Dimensions (Yass)
52ea4ff44d
Calculates the number of resources based on required person-hours.
2023-08-23 21:19:16 +01:00
Sigma Dimensions (Yass)
4e31a87c20
clean up Resource UI using column layout
2023-08-23 21:15:59 +01:00
Jesusbill
5d85390715
Fix duplicate id in EP_set_Drawing template
2023-08-23 17:01:25 +02:00
Andrej730
3e13eb8942
bump ifcsverchok release in readme
2023-08-23 18:43:27 +05:00
Andrej730
262c6d1fcb
added UI to display connections for realizing elements
...
Example - https://imgur.com/a/1ZZlTwp
2023-08-23 18:42:07 +05:00
Andrej730
12b5a88861
Added small UI to show realizing elements for the connections
...
Example - https://i.imgur.com/JLDcnbK.png
2023-08-23 18:42:06 +05:00
Andrej730
2ccc9d886e
test to make sure nothing happened to ifcsverchok 😅
2023-08-23 18:42:06 +05:00
Andrej730
a78769c8ff
a bit faster renaming ifc elements when renaming blender objects
...
Previously when you renamed blender object it was requiring the "Ifc.../" prefix so it would also change the name for ifc element. So when you wanted to rename something you'd only select and change the name part without prefix.
Now you can just type the name right in after using F2 which seems a bit quicker by a few less clicks.
Before - https://imgur.com/a/Rn7a17W
After - https://imgur.com/a/a3lmxte
2023-08-23 18:42:06 +05:00
Andrej730
1a142ad5eb
fixed bug in mep transitions
...
it wasn't taking into account that offset can be too big to sustain the angle
2023-08-23 18:42:06 +05:00
Andrej730
2bc22e150c
added tests for shape builder transition length calculator
2023-08-23 18:42:06 +05:00
Sigma Dimensions (Yass)
aad5d280fd
you can now also update resource numbers (usage) from the task ICOM resource list
2023-08-23 14:13:16 +01:00
Sigma Dimensions (Yass)
7ab07ed149
refactor highligh_task code
2023-08-23 14:04:39 +01:00
Dion Moult
3690998dbc
Fix #3620 . Bug where manually inserted windows should preseve the existing Z value.
2023-08-23 23:03:13 +10:00
Sigma Dimensions (Yass)
1b83fcc1c7
when editing sequence relationships, enabling selecting successor and predecessor task
2023-08-23 14:02:53 +01:00
Sigma Dimensions (Yass)
5cf25c45f9
feature to select a resource in resource tree from task ICOM list
2023-08-23 13:59:31 +01:00
Dion Moult
efa734c06e
Fix #3628 . Minor issue where regex queries didn't load properly.
2023-08-23 22:42:21 +10:00
Dion Moult
e242244ec0
The copy property tool now works on enumerated properties. Hooray for copying over statuses!
2023-08-23 17:47:20 +10:00
Andrej730
6f9da163fb
Small fix for 422f772c4
2023-08-23 12:32:37 +05:00
Dion Moult
a3fd169bb6
IfcPatch now uses the new facet selector syntax.
2023-08-23 17:10:17 +10:00
Dion Moult
899056f929
Due to popular demand, custom EPset_Status to be used for "userdefined" status values as well as for things which don't have a status.
2023-08-23 17:10:17 +10:00
Dion Moult
132fef1b76
New Status panel for managing statuses in the costing / scheduling tab.
2023-08-23 17:10:17 +10:00
Andrej730
422f772c40
Fixed bug with remembering materials assigned to faces
...
The problem was that bim.update_representation was assigning representation styles without taking into account that some styles may not be actually used in the mesh, so it was always assigning first style (blender material) to the first IFCPOLYGONALFACESET even though it might be using for example the 3rd style.
More - https://community.osarch.org/discussion/1636/materials-not-remembering-their-assigment
2023-08-23 11:07:57 +05:00
Sigma Dimensions (Yass)
66f5081ada
implement calculating task duration based on resource usage change for fixed person-hours and prevent constrained attributes from updating
2023-08-23 02:19:44 +01:00
Dion Moult
839e35f1da
Fix #3627 . Error where using filters incorrectly applied includes / excludes.
2023-08-23 11:15:38 +10:00
Sigma Dimensions (Yass)
40d9713326
consolidate constraint utilities into ifcopenshell.util.constraint and refactor
2023-08-23 02:11:18 +01:00
rileywong311
17b04ad697
Update Brick feature tests
2023-08-22 13:15:01 -07:00
rileywong311
2f99dd8e98
Catch Assign_Brick_Reference with no selections
2023-08-22 13:15:01 -07:00
rileywong311
49f825ba82
Refactor+polish Brick UI
2023-08-22 13:15:01 -07:00
rileywong311
3f18ad0bc5
Use "split" in Brick relations list to better align layout
2023-08-22 13:15:01 -07:00
rileywong311
991c42e816
Update Brick References Panel
2023-08-22 13:15:01 -07:00
rileywong311
20d6eae50a
Export/assign Brick library reference uses "label" if there is one
2023-08-22 13:15:01 -07:00
rileywong311
9740582a84
Brick UI relations list uses "label" if there is one
2023-08-22 13:15:01 -07:00
rileywong311
a8046a6d69
Restore Brick select ifcGlobalID functionality
2023-08-22 13:15:01 -07:00
rileywong311
d6655a5c14
Move Brick "set last saved" to BrickStore
2023-08-22 13:15:01 -07:00
rileywong311
0a3a2db4ae
Simplify buttons for add Brick relations manually
2023-08-22 13:15:01 -07:00
rileywong311
499eb5ea14
Rework Brick UI into toggle panels
2023-08-22 13:15:01 -07:00
rileywong311
b8ca287883
Fix up convert_ifc_to_brick
...
Remove line separation between code, but add comments
Add full URI to Brick relations
Fix typo where "system_uris" was written as "space_uris"
Remove unnecessary get of "distribution_elements = brick.get_convertable_brick_elements()" again
2023-08-22 13:15:01 -07:00
rileywong311
52f3392ece
Remove Brick data debugging printouts
2023-08-22 13:15:01 -07:00
rileywong311
d53641ce5e
Check Brick library location exists
2023-08-22 13:15:01 -07:00
Sigma Dimensions (Yass)
7a3ad6c3a1
forgotten bits and bobs + run black
2023-08-22 20:03:09 +01:00
Sigma Dimensions (Yass)
0b2007011e
Feature to constrain a resource work or number of used resources
2023-08-22 20:01:19 +01:00
Sigma Dimensions (Yass)
eae6983ca5
Fix calculating resource work based from parent's productivity and improve UI to show this
2023-08-22 19:54:37 +01:00
Sigma Dimensions (Yass)
0ec337748f
improve purge of remove_metric usecase
2023-08-22 19:36:01 +01:00
Sigma Dimensions (Yass)
2699278ba3
api usecase to add a reference path to a metric objective
2023-08-22 19:34:47 +01:00
Sigma Dimensions (Yass)
0406166d8a
fix updating an objective's metric
2023-08-22 19:21:26 +01:00
Andrej730
2128eda87b
Save blenderbim last commit hash to the ifc header
...
Now it's possible to identify blenderbim version from .ifc file which is useful for debugging
Example:
FILE_NAME('test.ifc','2023-08-22T18:07:07+05:00',(),(),'IfcOpenShell v0.7.0-fc50bdd3a','BlenderBIM 0.0.999999-64bc7af','Nobody');
2023-08-22 19:59:46 +05:00
Carlos Dias
59e11aa804
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2023-08-22 11:14:04 -03:00
Dion Moult
21f4fb169f
New util function to format a length value in preparation for custom formatting rules in drawings and schedules.
2023-08-22 23:12:37 +10:00
Thomas Krijnen
30fc52ebd9
#3616 Only consider distance orthogonal to projection vector for 2d boolean preprocessing
2023-08-22 15:00:25 +02:00
Andrej730
64bc7af4ef
mep transitions - correct angle when connected segments share the same dimensions
...
Basically there are 3 methods to define the transition angle (https://i.imgur.com/AtCIJty.png ). Before we supported only the second method, now we support 1 and 3 too.
2023-08-22 16:06:24 +05:00
Dion Moult
b3f1fc667a
IfcCSV can now create summary rows (e.g. total, average) at the end of the table (may or may not be in addition to group totals).
2023-08-22 21:04:59 +10:00
Dion Moult
fcbb28f9d8
When you force an object to be a tessellation, automatically remove all parametric constraints for you.
2023-08-22 17:32:29 +10:00
Dion Moult
240a31db3a
Fix bug where split elements by plane didn't work on multiple elements due to forgetting to toggle normals of the cutting plane.
2023-08-22 17:31:54 +10:00
Dion Moult
c1bde09585
IfcCSV now supports grouping and group operations like concat, sum, min, max, etc.
2023-08-22 15:43:31 +10:00
Dion Moult
5dd2b5e555
New support for sorting IfcCSV outputs
2023-08-22 14:32:26 +10:00
Dion Moult
37dcb92220
Drawing include/exclude filters now use the new facet selector syntax
2023-08-22 11:31:18 +10:00
Dion Moult
6c43c60d04
Drawings now can include non-drawing specific annotations too.
2023-08-22 11:30:48 +10:00
Dion Moult
b8d191ac1c
Now support custom queries for advanced users in the facet selector (similar to old selector). Also support types and count keys. (e.g. filter by objects with zero types, or zero materials, etc).
2023-08-21 23:44:20 +10:00
Dion Moult
57173c7740
You can now get specific container types via util.element or util.selector. E.g. if you wanted to know what building an object is in or what storey an object is on.
2023-08-21 23:07:02 +10:00
Andrej730
2d3295ec54
more work on transitions for MEP
...
- support transitions from and to circle profiles
- reworked transition length algorithm now it should be more accurate
- added support for creating transitions between profiles that are parallel but not collinear
2023-08-21 17:56:17 +05:00
Andrej730
941ede117c
show error if transition length is more the segments length
2023-08-21 17:56:17 +05:00
Andrej730
4210b8333f
fix the errors occured trying to find compatible fitting type
...
1) It would stop if the first occurence would be connected to a segment without type
2) It would raise an error if one of the fitting's ports was not connected.
2023-08-21 17:56:17 +05:00
Sigma Dimensions (Yass)
1723d1e5a9
Update tests for editing sequence relationships
2023-08-21 13:43:43 +01:00
Sigma Dimensions (Yass)
3ee06ee7a0
remove unused function
2023-08-21 13:41:42 +01:00
Sigma Dimensions (Yass)
d3e8da58dc
stop committing print statements
2023-08-21 13:30:20 +01:00
Sigma Dimensions (Yass)
29e000b939
clean up updating selected task ICOM and UI re-ordering for work schedule subpanels
2023-08-21 13:28:08 +01:00
Sigma Dimensions (Yass)
6686a72d1f
editing sequence relationships now requires less clicks
2023-08-21 13:24:36 +01:00
Sigma Dimensions (Yass)
7dd20f69d7
ligten up add cost schedule UI
2023-08-21 01:13:17 +01:00
Dion Moult
0044ef5588
Close #3615 . Follow (terrible, unofficial) convention that boolean result is intentional and boolean clipping result is automated.
2023-08-21 08:53:14 +10:00
Dion Moult
ffa5686b22
Fix #3614 . Remove_pset API now supports removing predefined property sets (E.g. door lining properties).
2023-08-21 08:44:24 +10:00
Sigma Dimensions (Yass)
ab8d6bea99
update sequence tool functions
2023-08-20 23:02:31 +01:00
Sigma Dimensions (Yass)
e7bb89f582
You can now save and load 4D animation color schemes
2023-08-20 21:39:00 +01:00
Dion Moult
c80b0464e5
Fix #3551 . Project specific pset templates now show up in the pset template editor.
2023-08-20 23:51:38 +10:00
Dion Moult
7e3547b309
Fix #3610 . Glitch where editing existing float cells in IfcCSV ODS files created new cells or didn't update.
2023-08-20 23:42:11 +10:00
Dion Moult
45c7432ff7
Minor fix
2023-08-20 22:53:32 +10:00
Dion Moult
c98c20d403
Fix #3583 . BaseQuantity QTOs in IFC4 can now be set on types.
2023-08-20 20:50:46 +10:00
Dion Moult
d26a2580ea
Fix #3605 . Bug where invalid representation type was created when booleans are added / removed.
2023-08-20 17:12:01 +10:00
Dion Moult
f84c4ab2e5
IfcCSV now supports importing from ODS, XLSX, and Pandas dataframes in addition to CSV
2023-08-20 16:55:01 +10:00
Dion Moult
de6676a516
Fix #3609 . IfcCSV can now optionally attempt to "preserve" formatting for XLSX and ODS.
2023-08-20 16:34:42 +10:00
Dion Moult
bfbb7bec94
Fix #2973 . Bundle pandas, openpyxl, and odfpy in preprataion for upgrades in IfcCSV and IfcFM.
2023-08-20 15:28:09 +10:00
Dion Moult
ac00aaae4d
Fix #3607 . IfcCSV now supports omitting the GlobalId column. This is great for presentation schedules, but the tradeoff is that you can't use it for imports.
2023-08-20 14:41:34 +10:00
Dion Moult
422222a7cb
Bump IOS
2023-08-19 23:13:25 +10:00
Dion Moult
e1c7b37d62
See #3587 . IfcCSV now supports custom header titles.
2023-08-19 23:09:40 +10:00
Ryan Schultz
dec978743b
small fix on 'Live development environment' instructions
2023-08-18 13:15:35 -05:00
Sigma Dimensions (Yass)
10fae033c8
fix saving and loading coulour schemes
2023-08-18 17:09:00 +01:00
Sigma Dimensions (Yass)
b23180d287
fix enumartion of saved searches
2023-08-18 17:08:01 +01:00
Gorgious56
99ccd81b3f
You can now purge unused representations from the purge data panel
2023-08-18 16:20:41 +02:00
Gorgious56
e2d3f3a351
You can now purge types from the Purge data panel
...
And refactor a bit the purge profiles code to make use of the profile tool module
2023-08-18 16:04:08 +02:00
Dion Moult
5e6a444aa2
Advanced users can now directly edit search filter queries.
2023-08-18 23:39:13 +10:00
Dion Moult
72cf5cfc59
Minor fix to allow edit_work_time to work seamlessly for IFC4X3.
2023-08-18 23:01:24 +10:00
Andrej730
75cb68d2f1
Refactored svg angle decorator code, solves #3602 , more constistency between viewport and svg
...
Now it should be more consistent and more stable since svg and viewport are now using much more similar approach.
2023-08-18 17:59:40 +05:00
Dion Moult
7f40a9d723
See #3603 . Base64 encode gantt chart JSON data to prevent JSON parsing problems.
2023-08-18 22:19:27 +10:00
Andrej730
dcc9d0e9cd
set_objects_selection to set selection only if active_object is not None
...
It was creating errors if you'd try to add angle annotation without having any objects active.
2023-08-18 15:37:04 +05:00
Sigma Dimensions (Yass)
7228329f5e
Start improving UI for clash detection and management
2023-08-18 11:04:21 +01:00
Gorgious56
d8786717b6
Active profil users count is now dynamically fetched when the profile is clicked in the UI list
2023-08-18 09:43:46 +02:00
Andrej730
b73bd3506f
Fixed clearing scales (after 3345d7e)
...
It was producing a bug with text rotation in elevation view
Added fix to make matrix normalization work for the cases when matrix is rotated and I've just found that mathutils.Matrix.normalize(d) is very conveniently ignoring 4th column (translation) (same for mathutils.Vector)
2023-08-18 12:05:53 +05:00
Andrej730
bdb2791b35
Fill-bg for template tags #3594
...
Also simplified create_text_tag a bit - now it adds fill_bg by just by copying text tags and adding fill_bg filter to them instead of going through the entire logic again.
2023-08-18 12:04:42 +05:00
Dion Moult
549ea11945
Support arbitrary element selection for manual groups in search / IfcCSV, with support for huge element selections.
2023-08-18 16:58:07 +10:00
Dion Moult
aed01b5703
IfcCSV can now use the graphical filter query builder too.
2023-08-18 13:43:42 +10:00
Dion Moult
13eb8562e0
Add support for converting IFC spaces, systems, and feed / location / part relationships into Brick. Brick utilities can now get downstream equipment, and system util can now take into account port flow direction.
2023-08-18 10:25:06 +10:00
rileywong311
c022a12835
Support displaying Brick Bnode relations
...
- Important for Ifc External References and other data.
- Set predicate_uri of predicates of the Bnode to None, which is used to remove the ability to delete the relationship in the UI.
- Also added try/excepts to difficult edge cases such as the object_uri not having a "#" character in it (such as "<http://qudt.org/vocab/unit/ >") and the object_uri not being a brick class, which breaks "view_brick_item".
- Removing a Bnode type from the entity's relation removes all relations of the Bnode also
2023-08-17 16:19:49 -07:00
rileywong311
04eb47ff65
HIde Brick "Create Relation:" when not toggled
2023-08-17 16:19:49 -07:00
rileywong311
10ecd16f0c
Refresh Brick split screen on ConvertIfcToBrick
2023-08-17 16:19:49 -07:00
rileywong311
75852bfa75
Rework "view brick item" conditional access
...
Change from never show the operator if the relation is "type" to not showing it only if the "type" is the current class being viewed.
This may come in handy if other list views other than hierarchy are implemented.
It also implies why we don't want to show "view brick item" here: because we already viewing it.
2023-08-17 16:19:49 -07:00
rileywong311
750c720c9b
Support Add Brick with IfcEntity selected (part 2 aka references)
...
Can now assign references again.
See https://github.com/BrickSchema/Brick/tree/master/examples/ifc for examples.
2023-08-17 16:19:49 -07:00
rileywong311
4697681fcb
Support Add Brick with IfcEntity selected (part 1)
...
Next is to add the reference
2023-08-17 16:19:49 -07:00
Dion Moult
9398363cbf
Fix #3589 . Users can now configure how the null values are represented in IfcCSV.
2023-08-18 08:50:48 +10:00
Massimo Fabbro
ae45e6b960
Clone opening initial draft
2023-08-18 08:30:36 +10:00
Gorgious
88c002703e
Move profile data and inverse check in data class
2023-08-17 21:00:03 +02:00
Gorgious56
51c78a89bd
simplify ifc class suggestions json file and operator
2023-08-17 17:31:00 +02:00
Gorgious56
e36a958c0d
Scene properties : Highlight buttons to make them stand out more ( #3598 )
2023-08-17 16:56:26 +02:00
Gorgious56
a8126a6f90
You can now purge unused profiles
2023-08-17 16:26:21 +02:00
Dion Moult
9b857cdefa
Fix #3596 . Fix bug where objects marked as edited were not unmarked after saving when toggling mode. Also fix bug where updating representation didn't check whether or not the meshlike representation has openings applied (which would bake the openings, instead of leaving them dynamic).
2023-08-18 00:04:02 +10:00
Gorgious56
90e6400115
Active Profile's inverse relationships count is now displayed in the profiles editor
2023-08-17 15:44:37 +02:00
Dion Moult
2dcfcf9708
Fix #3591 . Fix bug where IfcCSV import was not symmetric capability wise. Now you can set all sorts of complex values with the exact same keys you are using to query.
2023-08-17 23:33:40 +10:00
Thomas Krijnen
f4971da42e
#3429 Fix b operand non-planar face check
2023-08-17 11:28:02 +02:00
Andrej730
008f953b6c
Fix tests errors after 8689164
...
Error was AttributeError: module 'blenderbim.bim.handler' has no attribute 'setDefaultProperties'
2023-08-17 13:18:27 +05:00
Andrej730
5481237480
geometry.edit_object_placement was producing orphaned placements
...
It was producing orphaned IfcLocalPlacement if placement was parent to some other one. During edit_object_placement we were replacing all parent references with the new placement but wasn't removing the old one.
2023-08-17 13:18:27 +05:00
Andrej730
4f7564e5ae
misspelling 😅
2023-08-17 13:18:27 +05:00
Dion Moult
d214cbaece
Fix #3590 . Update dev instructions to symlink other utility libraries in BBIM.
2023-08-17 17:37:37 +10:00
Dion Moult
d0c5f1e69f
Fix #2626 . New IFC overrides for setting object origins.
2023-08-17 17:25:40 +10:00
Massimo Fabbro
4ba3240fb4
fix #3213 Problem related with sheet created on windows and opened on Linux
2023-08-17 16:22:16 +10:00
rileywong311
6d8e5e4c83
Merge Brick classification
...
https://github.com/rileywong311/BrickIfcClassification
2023-08-17 16:21:29 +10:00
rileywong311
cd1402570b
Merge IfcClassification
...
https://github.com/Moult/IfcClassification/tree/master
2023-08-17 16:21:29 +10:00
Sigma Dimensions (Yass)
6c0e528dd2
enable an object to take part in an object type decomposition #3592
2023-08-16 16:08:27 +01:00
Dion Moult
297a513d21
Don't strictly require guids / class filters that exist in new facet selector.
2023-08-16 14:05:26 +10:00
Andrej730
9f0a4ba064
Calculate/guess quantity descriptions to avoid confusion
2023-08-15 14:42:31 +05:00
Dion Moult
8813ed66e0
See #3582 . Fix bug where switching representations didn't handle curves in a body / model_view.
...
This means that if you created a curve body, you couldn't switch to it, or if you deleted everything, you ended up with an empty object. If you then tried to switch to that, it would "sync" the empty object and leave you with an empty cartesian point list. E.g:
1. Create cube and assign IFC element.
2. Remove all faces only (leaving edges and verts). Save changes.
3. Switch to representation (bug!)
4. Delete everything (no verts, edges, or faces). Attempt to save.
5. "Revert" switch will fail, leading to empty mesh.
6. Manually try to switch. Empty mesh will sync, creating an empty point list.
2023-08-15 18:06:16 +10:00
Andrej730
fafcd5dfca
root.copy_class to remove connections from previously connected ports
2023-08-15 10:35:36 +05:00
Carlos Dias
155a8b79da
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2023-08-14 22:10:54 -03:00
Dion Moult
f523870b57
Fix #3584 . Support matching enumerated properties in new facet selector.
2023-08-15 09:59:50 +10:00
Sigma Dimensions (Yass)
2ed24434c8
experimental import plot coordinates
2023-08-14 18:22:11 +01:00
Andrej730
6878b2c072
Handle ods schedules without column styles #3573
...
Turned out there are ODS files (and turned out we're producing them ourselves from ifccsv) where column styles are not defined and therefore no width/style assigned to each column which was resulting in errors on building schedule.
2023-08-14 17:46:10 +05:00
Dion Moult
0ed8dc970d
New simplified IfcFM parser for basic object data.
2023-08-14 16:14:57 +10:00
Andrej730
bc85f09109
Small info message on using validate
2023-08-14 11:09:26 +05:00
Andrej730
793b28e43b
Remove empty IfcDocumentInformationRelationship #3581
2023-08-14 11:09:26 +05:00
Dion Moult
ed4abacd1e
Fix #3578 . Support querying surface styles in tools like IfcCSV.
2023-08-14 11:55:15 +10:00
Dion Moult
8bf55ab46c
See #3561 . Misc annotation decorator now only highlights non-internal edges.
2023-08-13 23:34:06 +10:00
Dion Moult
7edabce657
Fix #3562 . Non-manifold geometry is no longer considered in join criteria as there is no such thing as a closed polygon.
2023-08-13 23:04:32 +10:00
Sigma Dimensions (Yass)
56187e4da3
Improve Cost Schedule Layout
2023-08-13 13:23:31 +01:00
Sigma Dimensions (Yass)
31a12faef1
woopsies
2023-08-13 12:18:48 +01:00
Sigma Dimensions (Yass)
eb94c16465
fix the bug fix #07b5c49 - where counting objects controlled by a cost item stopped working
2023-08-13 12:16:29 +01:00
Dion Moult
e8437a9c54
Fix #3253 . Bug where duplicating elements with fillings incorrectly recreated fillings at the cursor (i.e. the cursor was used as a target destination).
...
Now, instead of trying to be clever and regenerating filling locations and opening types, we simply copy the existing scenario. This also means it'll be more stable for weird fillings coming from proprietary apps.
2023-08-13 20:07:33 +10:00
Dion Moult
840039ef1e
Fix #3472 . You can now toggle selectability of linked IFCs.
2023-08-13 15:49:23 +10:00
Dion Moult
84a749605e
See #3579 . Support Google Colab as an installation option.
2023-08-13 14:48:49 +10:00
Bruno Postle
c1283d2ab0
fix SyntaxError: '(' was never closed
2023-08-12 21:36:40 +01:00
Sigma Dimensions (Yass)
07b5c4918b
fix api logic where only quantities of the same type can be assignmed to a cost control
2023-08-12 15:17:32 +01:00
Sigma Dimensions (Yass)
703f0a6b70
fix orphaned data when unassigning element quantities from cost item control
2023-08-12 14:57:01 +01:00
Dion Moult
5e98dee46f
Fix #3554 . Support editing IfcIndexedPolyCurve profiles where IfcLineIndex has >2 indices.
2023-08-12 22:25:34 +10:00
Sigma Dimensions (Yass)
b2eddf55d2
Fix contracting/expanding cost schedule tree and add tests to avoid proof changes
2023-08-12 12:58:16 +01:00
Massimo Fabbro
db7be640d4
Fix #3569 Variable name override caused the bug ( #3575 )
2023-08-12 19:03:58 +10:00
Dion Moult
04fa597844
Fix #3564 . Bug where IfcBuiltSystems didn't show up due to missing icon in IFC4X3.
2023-08-12 17:09:48 +10:00
Dion Moult
694dbeb96c
Fix #3576 . Explicit drawing annotations are now immune to "include / exclude" filters.
2023-08-12 17:06:22 +10:00
Dion Moult
7afd358c3c
Fix #3556 . Bug where quantities could not be imported using IfcCSV. Also make IfcCSV support any qset name, not just "Qto" prefixed names.
2023-08-12 16:41:57 +10:00
Dion Moult
b0a5a570a9
IfcCSV now uses the new filter query system.
2023-08-12 16:40:59 +10:00
Dion Moult
c45b84c850
Fix #3577 . Don't force uppercase in schedules.
2023-08-12 16:16:51 +10:00
rileywong311
d575a43aee
Make refresh Brick viewer refresh both screens
2023-08-11 16:14:41 -07:00
rileywong311
0b151ea559
Second level query for Brick equipment+point roots
2023-08-11 16:14:41 -07:00
rileywong311
926970b256
Polish Brick UI and add "last saved" label
2023-08-11 16:14:41 -07:00
rileywong311
d58af0bfa5
Filter Brick class if deprecated
2023-08-11 16:14:41 -07:00
rileywong311
429da7c6f3
Filter more (all) Brick ontology namespaces
...
I'm not sure if this method of filtering out the entire domain will cause problems. This could use investigation.
2023-08-11 16:14:41 -07:00
rileywong311
60a7433573
Clear Brick breadcrumbs on close project
2023-08-11 16:14:41 -07:00
rileywong311
08a5d444d4
Remove another needless BrickStore.graph.triples check
...
As before, this returns a generator type which always evaluates true, even if it is empty.
2023-08-11 16:14:41 -07:00
rileywong311
1982069b69
Add description to Brick operators
2023-08-11 16:14:41 -07:00
rileywong311
7c06c65df3
Move Brick "set root" button and change roots on update instead of operator
2023-08-11 16:14:41 -07:00
Sigma Dimensions (Yass)
6263766202
fix Cost schedule of rates UI bug where linked types dont't refresh correctly (and black formatting)
2023-08-11 14:57:43 +01:00
Dion Moult
66fbbeff54
See #3561 . Fix bug where schedules couldn't be removed.
2023-08-11 22:47:42 +10:00
Dion Moult
3c5ad1328f
Auto create relevant context when attempting to add an annotation to make it friendlier for new users.
2023-08-11 22:41:47 +10:00
Dion Moult
3345d7e088
Fix #2894 . Implement reflected ceiling plans. Note that this requires new bot build.
2023-08-11 22:41:47 +10:00
Dion Moult
2bb25cb874
See #3501 . Minor matrix math fix that caused annotations to not appear in global coordinates.
2023-08-11 22:41:47 +10:00
Dion Moult
444a728e7a
Improve default search filter to include types and spatial elements.
2023-08-11 22:41:47 +10:00
Sigma Dimensions (Yass)
70bea0c865
Feature to add a camera to extents of the scene objects
2023-08-11 13:39:58 +01:00
Sigma Dimensions (Yass)
6eea1e9035
feature to clear previous 4D Animation (object keyframes & colors)
2023-08-11 13:36:14 +01:00
Kristoffer Andersen
4deb1836ad
Update bld.bat
...
reduce number of schema variations on windows as well
2023-08-11 11:42:08 +02:00
Kristoffer Andersen
4c8007dcfe
Update meta.yaml
...
pin compatible boost, occt and cgal-cpp
2023-08-11 08:44:25 +02:00
Kristoffer Andersen
000116bb3d
Update build.sh
...
limit number of schema variants
2023-08-11 08:22:52 +02:00
Dion Moult
a2b6f21c7a
See #2894 . Implement SVG mirroring options (typically used for RCPs or useful when converting to other things like DXF).
2023-08-11 16:01:01 +10:00
Sigma Dimensions (Yass)
a374ee39d3
simplify setup_default_task_columns
2023-08-11 02:06:49 +01:00
Sigma Dimensions (Yass)
0f5c82dffd
animation settings now use human readable durations to make it less confusing
2023-08-11 02:05:37 +01:00
Sigma Dimensions (Yass)
268fed761e
simplify updateTaskDuration
2023-08-11 02:03:07 +01:00
Sigma Dimensions (Yass)
fe01d252db
WIP - Scheduling UI improvements
2023-08-10 22:07:34 +01:00
Sigma Dimensions (Yass)
dc36d74337
Hide Header for Costing and Schedule Tab
2023-08-10 16:36:35 +01:00
Sigma Dimensions (Yass)
7a0da7bd8e
Revert "Rename and move sub panels of Costing and Schedule Tab"
...
This reverts commit 9d4715c0a9 .
2023-08-10 16:20:13 +01:00
Andrej730
530d5a4e63
plug add_transition to fit_flow_segments
2023-08-10 17:37:52 +05:00
Andrej730
2d847d1704
Adjusting connected elements on bim.regenerate_distribution_element
...
Basically commented out automatic adjustment after 45f81b478 - now it's hapenning only when you decide to regenerate it.
It's adjusting connected segments extrusion and location, for all other elements besides segments it's adjusting only location. The idea is it will try to change as less as possible.
Demo - https://imgur.com/oZ1I2Bl
2023-08-10 16:31:08 +05:00
Andrej730
631d8fcfb1
quickly connect mep elements if they have matching ports
...
Demo - https://imgur.com/a/o9u8M1u
2023-08-10 15:06:16 +05:00
Andrej730
a8888efb88
fixed bug getting port relating element in ifc2x3
2023-08-10 14:12:20 +05:00
Andrej730
a51ecea9b1
More descriptive error message on attempt to delete drawings category
2023-08-10 13:55:46 +05:00
Andrej730
4d49517111
small refactor
2023-08-10 13:49:35 +05:00
Thomas Krijnen
d5d1b3567b
Update draw.py --include-curves
2023-08-10 15:44:21 +08:00
Kristoffer Andersen
7827ce3448
Update build.sh
...
fix env var declaration
2023-08-10 08:22:07 +02:00
Kristoffer Andersen
a05059db01
Update build.sh
...
Reduce number of schema versions
2023-08-10 08:06:38 +02:00
Thomas Krijnen
b78490ca56
#3510 Sample points along diagonal as well for quick and dirty occlusion detection
2023-08-10 10:52:06 +08:00
Andrej730
f8ffc97bf5
remove_product to also remove psets for types
2023-08-09 16:37:47 +05:00
Andrej730
29d4a8d5fe
More Ports UI
...
Created more UI for ports.
Now you can see the list of ports from UI and what objects they are connected to, you can quickly select any ports/connected objects or disconnect objects.
From port UI you can see what object's it located on and what object it's connected to and quickly jump across them.
Demo - https://imgur.com/a/Gu4Vz7V
2023-08-09 15:04:27 +05:00
Andrej730
2c1c13f27e
bim.add_transition
...
Added simple operator to add transition between two mep segments (now only rectangular collinear segments are supported).
It also reuses the transition type that was previously used to connect segments of the same type.
Demonstration - https://imgur.com/a/c1AOxj1
2023-08-09 15:04:27 +05:00
Andrej730
4dc55e844c
Fix default mep profile names
...
Previously it was generating names like 4000000x4000000 in mm projects.
2023-08-09 14:46:58 +05:00
Thomas Krijnen
b611151039
#3536 fix edge segments in world coords
2023-08-09 14:55:23 +08:00
Dion Moult
9fc32e5c2e
IfcTester JSON reporter now also stores identification data separately for convenient reporting.
2023-08-09 16:42:03 +10:00
Dion Moult
c5e5036fd3
Store applicability in IfcTester JSON results
2023-08-09 15:00:58 +10:00
Dion Moult
0f68679295
Fix #2753 . Disable mapping representations when appending assets via the ExtractElements recipe to be more forgiving (and faster) on invalid models.
2023-08-09 00:13:16 +10:00
Dion Moult
fea0d93162
Fix SurfaceColour typo that broke loading colours in some IFCs
2023-08-08 23:47:57 +10:00
Dion Moult
e43347161a
Fix #3547 . Bug where using existing clippings were not preserved when editing profile or wall representations.
2023-08-08 22:35:40 +10:00
arun
706aa70899
Update create_2pt_wall.py ( #3553 )
...
* Update create_2pt_wall.py
included unit scale for use cases other than si unit
* Revised Update create_2pt_wall.py
included is_si kwarg to select between si units and other units and also changed the dtype of p1 and p2 array to float incase they are entered as integers
2023-08-08 13:06:36 +10:00
Carlos Dias
b46ccc9b78
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2023-08-06 11:21:39 -03:00
Carlos Dias
fe5a6749a7
Add element guId in BCF report ( #3549 )
2023-08-06 21:11:31 +10:00
Thomas Krijnen
c3f352c018
#3546 Filter duplicate edge indices
2023-08-06 14:27:31 +08:00
c4rlosdias
4f1e21dfb0
Add element guId in BCF report
2023-08-05 10:50:27 -03:00
Dion Moult
79584dba13
Whoops
2023-08-04 23:56:05 +10:00
Dion Moult
1c74147d89
Dissolve specifically IOS triangulated edges for meshes instead of generic Blender limited dissolve.
2023-08-04 23:49:50 +10:00
Dion Moult
cc53744c29
Skeleton operator to regenerate distribution elements recursively
2023-08-04 17:20:50 +10:00
Dion Moult
945836f578
Initial implementation of scale dependent map conversion for IFC4X3
2023-08-04 14:42:43 +10:00
rileywong311
e88e2f5d9c
Add brick create relation with split screen
2023-08-03 16:41:30 -07:00
rileywong311
ea267d9443
Implement Brick split screen
2023-08-03 16:41:30 -07:00
rileywong311
d64e4d70c5
Add more subclasses to Brick root options
2023-08-03 16:41:30 -07:00
rileywong311
156844b27d
Move Brick list root setting
2023-08-03 16:41:30 -07:00
rileywong311
b96944ff1b
Reformat Brick props order and singularize "brick_entity_classes"
2023-08-03 16:41:30 -07:00
rileywong311
7bfa6115ee
Refactor AddBrickRelation to combine object namespace+label in operator
...
This is an important change that should make adding relations through other methods easier to implement
2023-08-03 16:41:30 -07:00
rileywong311
589b3928f3
Guard loading brick files from bad paths
...
Referred to "IFCFileSelector.is_existing_ifc_file" method for to make this
2023-08-03 16:41:30 -07:00
rileywong311
a884eb5c54
Add "rdfs:label" to Brick relation options
...
This is a tricky one because "rdfs:label" cannot really be queried from the Brick ontology, so it is a special case that probably needs to get added manually. Furthermore, an entity really shouldn't have multiple labels, so the option to give an entity an "rdfs:label"
should only appear if it doesn't have one already. The way I did it meant I had to manually reset the Enum type in Blender because it was the active one selection and made the Enum blank since it got removed now that the entity has a "rdfs:label." One possible alternative solution is to allow multiple labels, but in the query to import bricks in the UI list only select one label somehow.
2023-08-03 16:41:30 -07:00
rileywong311
796d19a3a8
Change BrickschemaData.relations to BrickschemaData.active_relations
2023-08-03 16:41:30 -07:00
rileywong311
b9211e2a93
Load Brick relationships from schema
2023-08-03 16:41:30 -07:00
rileywong311
b662d6f08e
Remove if Brickstore.graph.triples check
...
This returns a generator type which I believe is always truthy, so it didn't change anything.
2023-08-03 16:41:30 -07:00
rileywong311
deecd60ff1
Implement basic Brick create relation
2023-08-03 16:41:30 -07:00
rileywong311
01615724fd
Add "remove brick relation" operator
2023-08-03 16:41:30 -07:00
rileywong311
97685a7a77
Rename Brick "attributes" to "relations"
2023-08-03 16:41:30 -07:00
Dion Moult
dc1721ed60
Fix #3538 . Update bl_info metadata to reflect that we are a native IFC authoring platform not an import-export add-on.
2023-08-03 23:25:13 +10:00
Andrej730
e801ba49b2
option to provide step_id into bim.create_shape_from_step_id directly
2023-08-03 15:54:47 +05:00
Andrej730
2446479d82
remove_product to remove object placement too
...
previously it wasn't deleting object placement when you removed the objects (and related elements like IfcDirections etc) and working on project long enough you might had a bunch of orphaned data in it
2023-08-03 15:54:47 +05:00
Andrej730
8908011ecf
automatically assign ports predefined type
2023-08-03 13:42:00 +05:00
Andrej730
fe6be61d7a
small change for readibility
2023-08-02 16:37:09 +05:00
Andrej730
45f81b4780
adjust obstruction position on changing segment length
...
Now when you change the segment's length connected obstructions will adjust. Same for changing obstruction's length. You can also move obstructions/segment around and then use "Regenerate" to make them fit.
Small demo - https://imgur.com/a/atm8Mdx
2023-08-02 16:33:36 +05:00
Andrej730
92df1b351c
add_obstruction to fit_flow_segments, derive it's position from cursor
2023-08-02 14:09:25 +05:00
Andrej730
002c7c1ad9
Fixed #3533 (also fixed the same issue for windows)
2023-08-02 11:42:48 +05:00
Andrej730
a583860b58
Fixed error on drawing tester UI
...
Error was:
Traceback (most recent call last):
File "\3.6\scripts\addons\blenderbim\bim\module\tester\ui.py", line 39, in draw
row.prop(self.props, "should_load_from_memory")
AttributeError: 'BIM_PT_tester' object has no attribute 'props'
2023-08-02 11:41:37 +05:00
Dion Moult
4efe198dbb
Whoops
2023-08-02 00:03:24 +10:00
Dion Moult
7a6332c883
Skeleton of "add fitting" operator which decides appropriate fitting type
2023-08-02 00:02:05 +10:00
Andrej730
a14ef1ebc2
Fixed TestGetApplicableTypes after 0e69f484f
2023-08-01 18:24:11 +05:00
Andrej730
fab0f92c8a
keep the default flow direction for ports NOTDEFINED as it's not yet set
2023-08-01 17:52:01 +05:00
Andrej730
490937ecf9
operator to add mep obstruction
...
Currently it's not yet available from UI, only from F3 menu.
On changing segment's length obstruction is not yet adjusted.
Short demonstration - https://imgur.com/a/I5fybpO
2023-08-01 17:45:17 +05:00
Andrej730
cbf8b7f3a2
root.remove_product to remove IfcRelConnectsPorts too
...
previously if you deleted some flow segment that was connected to another the connection would stay resulting in invalid ifc and other bugs
2023-08-01 17:45:17 +05:00
Andrej730
6c5bc5a3e8
Poll check for show/hide ports
...
https://i.imgur.com/NFAM1UC.png
2023-08-01 17:45:17 +05:00
Andrej730
f7aa67c6e9
Communicate that blend file is also saved on Ctrl-S
...
https://i.imgur.com/BnzTDhM.png
2023-08-01 17:45:17 +05:00
Andrej730
4ce41b33bb
small add_constr_type_instance refactor
...
ifc_class removed as it was never used - ifc_class was always figured either from BIMModelProperties.relating_type_id or operator.relating_type_id
2023-08-01 17:45:17 +05:00
Dion Moult
a0fd2a11cb
Another minor documentation fix
2023-08-01 22:43:40 +10:00
Dion Moult
4443f484c1
Easily create a "default" duct / pipe even if you have no demo library.
2023-08-01 22:34:34 +10:00
Dion Moult
120a9f9f3e
Minor documentation fix
2023-08-01 22:25:25 +10:00
Andrej730
e33a400ebb
Fixed error opening type manager from window_tool, slab_tool etc
...
Th error was:
Error: Python: Traceback (most recent call last):
File "\scripts\addons\blenderbim\bim\module\model\ui.py", line 54, in invoke
props.type_class = props.ifc_class
TypeError: bpy_struct: item.attr = val: enum "" not found in ('IfcActuatorType', 'IfcAirTerminalBoxType', 'IfcAirTerminalType', 'IfcAirToAirHeatRecoveryType', 'IfcAlarmType', 'IfcAudioVisualApplianceType', 'IfcBeamType', 'IfcBoilerType', 'IfcBuildingElementPartType', 'IfcBuildingElementProxyType', 'IfcBurnerType', 'IfcCableCarrierFittingType', 'IfcCableCarrierSegmentType', 'IfcCableFittingType', 'IfcCableSegmentType', 'IfcChillerType', 'IfcChimneyType', 'IfcCivilElementType', 'IfcCoilType', 'IfcColumnType', 'IfcCommunicationsApplianceType', 'IfcCompressorType', 'IfcCondenserType', 'IfcControllerType', 'IfcCooledBeamType', 'IfcCoolingTowerType', 'IfcCoveringType', 'IfcCurtainWallType', 'IfcDamperType', 'IfcDiscreteAccessoryType', 'IfcDistributionChamberElementType', 'IfcDistributionElementType', 'IfcDoorStyle', 'IfcDoorType', 'IfcDuctFittingType', 'IfcDuctSegmentType', 'IfcDuctSilencerType', 'IfcElectricApplianceType', 'IfcElectricDistributionBoardType', 'IfcElectricFlowStorageDeviceType', 'IfcElectricGeneratorType', 'IfcElectricMotorType', 'IfcElectricTimeControlType', 'IfcElementAssemblyType', 'IfcEngineType', 'IfcEvaporativeCoolerType', 'IfcEvaporatorType', 'IfcFanType', 'IfcFastenerType', 'IfcFilterType', 'IfcFireSuppressionTerminalType', 'IfcFlowInstrumentType', 'IfcFlowMeterType', 'IfcFootingType', 'IfcFurnishingElementType', 'IfcFurnitureType', 'IfcGeographicElementType', 'IfcHeatExchangerType', 'IfcHumidifierType', 'IfcInterceptorType', 'IfcJunctionBoxType', 'IfcLampType', 'IfcLightFixtureType', 'IfcMechanicalFastenerType', 'IfcMedicalDeviceType', 'IfcMemberType', 'IfcMotorConnectionType', 'IfcOutletType', 'IfcPileType', 'IfcPipeFittingType', 'IfcPipeSegmentType', 'IfcPlateType', 'IfcProtectiveDeviceTrippingUnitType', 'IfcProtectiveDeviceType', 'IfcPumpType', 'IfcRailingType', 'IfcRampFlightType', 'IfcRampType', 'IfcReinforcingBarType', 'IfcReinforcingMeshType', 'IfcRoofType', 'IfcSanitaryTerminalType', 'IfcSensorType', 'IfcShadingDeviceType', 'IfcSlabType', 'IfcSolarDeviceType', 'IfcSpaceHeaterType', 'IfcSpaceType', 'IfcSpatialZoneType', 'IfcStackTerminalType', 'IfcStairFlightType', 'IfcStairType', 'IfcSwitchingDeviceType', 'IfcSystemFurnitureElementType', 'IfcTankType', 'IfcTendonAnchorType', 'IfcTendonType', 'IfcTransformerType', 'IfcTransportElementType', 'IfcTubeBundleType', 'IfcUnitaryControlElementType', 'IfcUnitaryEquipmentType', 'IfcValveType', 'IfcVibrationIsolatorType', 'IfcWallType', 'IfcWasteTerminalType', 'IfcWindowStyle', 'IfcWindowType')
WARN (bpy.rna): C:\Users\blender\git\blender-v360\blender.git\source\blender\python\intern\bpy_rna.c:1343 pyrna_enum_to_py: current value '8' matches no enum in 'BIMModelProperties', '', 'ifc_class'
2023-08-01 14:19:30 +05:00
Andrej730
2cc9ea0539
tests for system.get_connected_to / get_connected_from
2023-08-01 13:40:06 +05:00
Andrej730
3c8dc70198
error message on setting flow direction for disconnected port
...
previously it just did nothing which was a bit confusing
2023-08-01 13:40:06 +05:00
Chetan
08d8657588
When creating a GLTF file, make the material double sided to fix a bug where some surfaces were transparent. This will allow surfaces created from a mesh to be be viewed from all angles regardless of the shape of the mesh or the directions of the normals.
2023-08-01 08:46:57 +08:00
Dion Moult
e0b4c1a810
Flow segments are now created at a specific RL above the active storey in the BIM Tool
2023-07-31 23:32:10 +10:00
ay-ex
a517c9338d
fix_choco_cmake_url ( #3528 )
...
fixed problematic url for blender cmake
2023-07-31 22:50:26 +10:00
Andrej730
ef01766f4d
fixed bug in system.get_connected_to / get_connected_from
...
import was missing
2023-07-31 17:30:40 +05:00
Andrej730
e9f77f8d2e
Create empty at object placement from debug panel
...
Small feature for debugging - https://i.imgur.com/OSOCIqG.png
2023-07-31 16:00:44 +05:00
Andrej730
a93d4da810
Fixed #3262
2023-07-31 15:17:45 +05:00
Andrej730
e86d3731ff
sort keys in the entity to type mapping
2023-07-31 11:46:27 +05:00
Andrej730
0e69f484f4
More general solution for #3466
2023-07-31 11:45:03 +05:00
Dion Moult
3a812a9ec1
Fix #3465 . Move representation utilities into new tab system.
2023-07-30 23:18:58 +10:00
Dion Moult
12d70324b8
Fix #3483 . You can now conveniently duplicate material layers.
2023-07-30 22:41:28 +10:00
Bruno Postle
caff4d0b20
Fix some broken restructured text formatting
2023-07-30 12:41:45 +01:00
Dion Moult
afb9aa178f
Fix #3453 . Hidden annotation type removed, and demo library now comes with linetypes for dashed, fine, thin, medium, thick, and strong.
2023-07-30 21:13:21 +10:00
Wei Yang
356a10eac9
Add UV texture support for IfcTessellatedFaceSet ( #3523 )
...
* Add texture support for IfcIndexedTextureMap
* fix description.
* Fix posible duplicate coordinate index issue
* Clean up code.
* revert default clean_mesh.
* Fix errors.
* change to EXTEND mode when not RepeatS/T
* remove tris merge to support mix quads and tris.
2023-07-30 20:34:50 +10:00
Massimo Fabbro
60f60798df
Add new api function that allows to create arbitrary profiles with voids ( #3522 )
2023-07-30 17:30:56 +10:00
Dion Moult
360729738c
Fix #3466 . Bug in upstream IFC where distribution elements and furnishing elements had no corresponding type and occurrence.
2023-07-30 16:59:25 +10:00
Dion Moult
794212c223
Fix #2906 . Basic support added for perspective drawings.
2023-07-30 16:50:17 +10:00
Dion Moult
2015f0618a
Fix #3484 . You can now have project-specific pset templates distributed with your project in a relative path. Defaults to pset/.
2023-07-30 14:47:05 +10:00
Dion Moult
d7158be431
Purge obsolete search operators in favour of new search filters, colour legend system.
2023-07-30 08:16:30 +10:00
Dion Moult
1ccbe831c8
Purge select similar prop operator in favour of dedicated select similar panel
2023-07-30 08:03:37 +10:00
Dion Moult
5a8e4fa8fd
Purge obsolete & risky module unloading / loading feature in favour of tabs.
2023-07-30 07:55:04 +10:00
Dion Moult
9048b67724
Fix #3501 . Annotation tool now creates annotations at the 3D cursor.
2023-07-29 23:46:45 +10:00
Dion Moult
9059b5d7ec
Fix #3511 . You can now use a query to load in occurrences from another project (library).
2023-07-29 22:43:50 +10:00
Dion Moult
7af3f89688
Fix #3502 . New select similar feature.
2023-07-29 20:46:07 +10:00
Dion Moult
8be0f2e1da
Fix #3273 . Don't use simple string replacement when renaming drawings but instead identify elements by attributes which is preferred.
2023-07-29 14:46:11 +10:00
Thomas Krijnen
630bb88a15
SVG serialization UnifyInputs option
2023-07-29 10:07:33 +08:00
Thomas Krijnen
6575921ccd
Implement IfcGridPlacement
2023-07-29 10:06:44 +08:00
Thomas Krijnen
95eb78e919
ci-ifctester-pypi.yml Add workflow_dispatch event
2023-07-29 09:37:39 +08:00
Thomas Krijnen
78b4b09be9
Include .xsd in ifctester package pypi distribution
2023-07-29 09:34:26 +08:00
Dion Moult
32e02db3f7
Fix #3521 . Forgot to commit function.
2023-07-29 10:21:19 +10:00
Sigma Dimensions (Yass)
9d4715c0a9
Rename and move sub panels of Costing and Schedule Tab
2023-07-28 19:04:12 +01:00
Dion Moult
0ba5db751c
Fix #3471 . Allow to select hidden types (except if the type is excluded).
2023-07-28 23:42:02 +10:00
Dion Moult
c1a15d944f
Fix #3518 . Default to deeper opening extrusions to handle more wall thicknesses.
2023-07-28 23:07:56 +10:00
ay-ex
7cd1c47ceb
add ids html report template percentage bars per section ( #3520 )
...
adding html report template percentage bars to each section
2023-07-28 18:55:35 +10:00
Dion Moult
a1aa047161
Revert "Example of UI if we sentence-cased IFC classes. Good or bad? Please comment at https://community.osarch.org/discussion/comment/16493 "
...
This reverts commit 53bd4bf5ea .
2023-07-28 17:42:41 +10:00
Dion Moult
e4896539b4
Fix #3509 . Backport Qto_BodyGeometryValidation to IFC4 (via EQto) and fix bug where there was no way to have custom Qtos show up in the qto dropdown.
2023-07-28 17:41:36 +10:00
Dion Moult
47ee667f06
Fix #3517 . Fix bug where edit arbitrary profile button doesn't show if your profile has voids.
2023-07-28 17:27:54 +10:00
Dion Moult
7804c9ea80
Potential fix for #3273 where renamed drawings might not get moved on Windows.
2023-07-28 15:35:02 +10:00
Dion Moult
3980666824
Fix #3513 . Minor issue where new hierarchical drawing list broke print all feature.
2023-07-28 14:55:22 +10:00
Dion Moult
eda0b33b41
Fix #3512 . Fix incorrect shapely fills due to unclosed polygons (tolerance issue) and incorrect raycast results.
2023-07-28 12:56:42 +10:00
Ryan Schultz
8fdd0983c0
Merge branch 'v0.7.0' of https://github.com/IfcOpenShell/IfcOpenShell into v0.7.0
2023-07-27 18:34:40 -05:00
Ryan Schultz
0ef141447b
added to ifc_classes_suggestions.json
2023-07-27 18:34:27 -05:00
Bruno Postle
06ea0512f5
BlenderBIM filter Git messages, remove sort #3096
2023-07-27 16:35:10 +01:00
Dion Moult
8af11db8c2
Fix #3006 . Don't affect visibility of types when activating drawing.
2023-07-27 22:29:17 +10:00
Dion Moult
1c5a4ddf20
Fix #3223 . Fix #3474 . When creating new representations, give the option to generate bounding box or "outline" curves (60 degree crease threshold hardcoded) instead of full 3D mesh.
2023-07-27 12:36:15 +10:00
ay-ex
b792b05753
add collapsible detail results ( #3508 )
2023-07-26 23:33:36 +10:00
Dion Moult
524bace23b
Redo mechanism that allows filtered BIM Tool classes to be less "magic" and more explicit whether it filters all vs a specific element type.
2023-07-26 18:14:31 +10:00
Dion Moult
0d656040eb
Fix #3479 . Regression in 69fa124 when addressing #3421 that led to objects with multiple paths not taking part in the wall / slab joining procedure.
2023-07-25 23:29:06 +10:00
Dion Moult
12fcdebd37
Fix #3486 . If Z index isn't specified, text is prioritised over other annotation types.
2023-07-25 22:50:09 +10:00
ay-ex
c798309039
fix choco url constants ( #3504 )
2023-07-25 22:35:25 +10:00
Dion Moult
e1913bf03e
Fix #3497 . Set closed vs unclosed polygonal face sets to allow loading in some IFC software.
2023-07-25 17:41:33 +10:00
Dion Moult
bc541d335f
Fix #3469 . Fix bug where you couldn't load models if there was no style due to no polygons.
2023-07-25 17:12:11 +10:00
rileywong311
d4933c7f24
Refactor BrickStore.root_classes
2023-07-24 21:27:44 -07:00
Trashman247
4e96f17dac
Ignore populate Brick attributes if active entity is a brick entity
2023-07-24 21:27:44 -07:00
Trashman247
4665b44ded
Make Brick "root_classes" one source of truth
2023-07-24 21:27:44 -07:00
Trashman247
d834d94fd9
Change brick attributes query "name" and "value" to "predicate" and "object"
2023-07-24 21:27:44 -07:00
Trashman247
f2db071cf3
Move brick entity classes to BrickStore and create drop-down for entity type creation
2023-07-24 21:27:44 -07:00
Trashman247
0348e6d11a
Move Brick namespace from data to BrickStore
2023-07-24 21:27:44 -07:00
Trashman247
1eb7c006f1
Add Brick "Set View" operator to change list hierarchy
...
- "System" as a root may need different logic since children of a system are not "subClasses" but rather "parts". Currently, "part" would be listed as attribute rather than a direct object in the group.
2023-07-24 21:27:44 -07:00
Trashman247
c80a2e1d64
Reformat BrickSchema UI
2023-07-24 21:27:44 -07:00
Dion Moult
7b2d99ba1e
Fix #3498 .
2023-07-25 08:54:45 +10:00
Dion Moult
55c4ce0071
Fix #3391 #3491 #3493 . New space generation that uses a cutting plane across all eligible objects instead of a simplified "straight wall" analysis.
...
This makes generating spaces significantly more robust, makes it easier to add / remove "space separating objects" (so we now have support for virtual elements), and only acts on visible objects.
2023-07-24 23:22:12 +10:00
Dion Moult
8e5dc01758
New projects now load with a Views and Types collection with appropriate visibility settings.
2023-07-24 18:01:25 +10:00
Dion Moult
90632a363c
Demo library now ships with example text annotation types (door tag, window tag, etc)
2023-07-24 17:59:04 +10:00
Dion Moult
4d6225bc32
More explanatory images in geometry creation docs
2023-07-23 23:56:50 +10:00
Dion Moult
411ec36e65
Add documentation specifically about swept disk solid geometry for rebar
2023-07-23 23:41:53 +10:00
Gorgious
1a54f54c64
You can now directly apply an ifc array modifier
...
Previously one would have to click on "remove" then "keep objects"
2023-07-23 15:13:04 +02:00
Dion Moult
5d48dc15c1
Finish writing documentation on geometry creation
2023-07-23 23:04:14 +10:00
Gorgious
5169599884
Array children are now transform-unlocked & unconstrained when the array is applied
2023-07-23 14:01:17 +02:00
Gorgious
c3323733a7
Array children are now transforme-locked after editing the array
...
I have yet to find how to set it on ifc load though
2023-07-23 13:39:52 +02:00
Gorgious
1468b7fddd
Array children now follow their parent with a "child-of" constraint #3492
2023-07-23 13:38:37 +02:00
Gorgious
41d6882b40
Clicking on the "Select all array objects" button now sets the parent object as active #3492
...
Moved the array objects fetching code to tool.Blender
Also a bit of housekeeping and fixing minor typos here and there
2023-07-23 13:03:06 +02:00
Dion Moult
a1ebc2e167
Revert "Small tester UI fix #3487 "
...
This reverts commit c7a1acf974 .
2023-07-23 19:09:00 +10:00
Carlos Dias
d5d9c91f5a
[BlenderBIM] Update IfcTester (2023_07_21) ( #3489 )
2023-07-23 19:04:45 +10:00
Ryan Schultz
98a6cbb1aa
Allow negative X_angle values
2023-07-23 19:04:12 +10:00
Dion Moult
f48060e7c7
Fix #3488 . Minor regression in IFC4X3 mapping.
2023-07-23 15:42:09 +10:00
Dion Moult
dd827bb4c5
You can now save, load, and create custom colour legends of properties
2023-07-23 15:20:14 +10:00
Dion Moult
b1cab9484c
Search now renamed filtering and grouping. New "sandbox" section for more experimental panels. Old selector moved to sandbox along with augin/lca/covetool/temporary cutaways also moved there.
2023-07-22 23:09:48 +10:00
Dion Moult
74637dd0ea
You can now load and save searches from the search panel
2023-07-22 22:49:22 +10:00
Dion Moult
a61eae5f98
More powerful search interface that uses the new facet selector syntax
2023-07-22 16:48:36 +10:00
Andrej730
4c18a89ee6
Spatial manager elevation in projects units and some bug fixed
...
1) Elevation prop now is taking into account project units (previously it was hardcoded to meters)
2) Fixed a bug that occured when you started changing spatial element name/elevation right after you loaded spatial manager.
https://i.imgur.com/1keMGus.png
2023-07-22 11:03:22 +05:00
Andrej730
4a7b8f1104
Fixed errors after b6ddc0d
...
`element.is_a() in ...` wasn't taking into account spatial classes that inherit from IfcSpatialElement/IfcSpatialStructureElement
2023-07-22 10:36:40 +05:00
Andrej730
c7a1acf974
Small tester UI fix #3487
2023-07-21 18:00:11 +05:00
Andrej730
630ac7250a
Fixed ifctester tests by the latest ids schema #3458
...
Commented out tests involving minOccurs and maxOccurs until https://github.com/buildingSMART/IDS/issues/144 gets resolved.
2023-07-21 15:33:28 +05:00
Dion Moult
08756a24a4
Fix #3477 . Move text panels to object information tab.
2023-07-21 18:14:49 +10:00
Gorgious56
8edee78900
Minor fix in wall creation code
2023-07-21 09:57:23 +02:00
Dion Moult
9864261c41
New wall tool, slab tool, etc in toolshelf to improve usability.
2023-07-21 17:29:09 +10:00
Andrej730
bb3e978bba
moving code to shape builder
2023-07-21 11:04:44 +05:00
Gorgious56
288cc698bd
#3478 : Ifc class name suggestions can now autofill predefined type
...
If they are correctly filled in the json file :)
2023-07-20 19:40:31 +02:00
Andrej730
a2e70cb454
fixed error after 190153347
2023-07-20 21:56:28 +05:00
Andrej730
1901533470
Distance subtype for rl1, rl2 and x/y/z (opening dimensions) in BIM Tool
2023-07-20 19:35:35 +05:00
Andrej730
c61854c7aa
small matrix math refactor
...
more readable and allows avoiding jumping between 3d/4d vectors
2023-07-20 19:13:56 +05:00
Andrej730
0dee353b8e
A bit more descriptive port UI
...
Before - https://i.imgur.com/ZhVRoJM.png
After - https://i.imgur.com/tI1h2i7.png
2023-07-20 18:08:23 +05:00
Andrej730
2e3cc8e73a
Added some MEP related type templates
...
3 more new types for distribution segments.
Distribution segments work the same way as beams - they come without representation but with IfcMaterialProfileSet defined with some profile. Occurences will also have ports at the start and the end of the segment (ports can be displayed in "Ports" section in "Services and Systems"). If you extend the segment or move it around - ports will move accordingly.
Small demo - https://imgur.com/a/Aq0utXa
2023-07-20 18:08:23 +05:00
Andrej730
6b276b8aed
Small type manager refactor and more descriptions
2023-07-20 18:08:23 +05:00
Dion Moult
1b71f4f569
Implement guid facet in facet selector
2023-07-20 19:42:34 +10:00
Dion Moult
452089596e
New facet based selector syntax. Proposed to supersede existing selector syntax.
2023-07-20 19:22:15 +10:00
Dion Moult
a360bac4c3
You can now explicitly create new IfcTypeProducts.
2023-07-20 19:14:24 +10:00
Gorgious56
09bc05f1af
Fix #3480 : Scene tabs now show their individual description on hover
...
Also correct minor typo
2023-07-20 10:42:11 +02:00
Andrej730
efc84606c5
Support looped railings #3415
...
Example - https://imgur.com/a/RaLORbk
2023-07-19 16:53:39 +05:00
Dion Moult
268039fb13
Write docs describing how to create profile representations
2023-07-19 19:58:19 +10:00
Dion Moult
c59757c61a
Fix #3469 . Minor regression in linking refactor.
2023-07-19 19:58:19 +10:00
ay-ex
0e3386438e
fix error messages
2023-07-19 18:39:13 +10:00
ay-ex
38782f4f53
fix choco_regex
...
fixes new regex needed for upstream blender cmake adjustment,
pulls all regex and url into contant variables,
improves error message, when a version cannot be retrieved
2023-07-19 18:39:13 +10:00
Dion Moult
da23e39084
Merge pull request #3467 from c4rlosdias/v0.7.0
...
[BlenderBIM] Add UI to IfcTester
2023-07-19 09:46:39 +10:00
Gorgious
88278a9edb
Boolean subpanel is now located in the Geometric Relationships panel
2023-07-18 21:45:48 +02:00
Carlos Dias
a23a66edc2
Update __init__.py
2023-07-18 15:28:37 -03:00
Carlos Dias
d2c22b0b0c
Update handler.py
2023-07-18 15:27:30 -03:00
Gorgious56
76a4850238
Show ifc modifiers only when applicable to current element
2023-07-18 19:31:51 +02:00
Gorgious56
bf5c8f5e88
Disable some tab buttons when no ifc file is loaded
2023-07-18 18:54:24 +02:00
c4rlosdias
36b45b744d
add export bcf to ifctester (2023_07_18)
2023-07-18 13:35:43 -03:00
Andrej730
bffbfb5fa3
Small description for some type templates
2023-07-18 19:52:38 +05:00
Gorgious56
963ffa39b7
Housekeeping - Reorder suggestion dictionary keys alphabetically
2023-07-18 16:17:51 +02:00
Carlos Dias
25d76152f6
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2023-07-18 09:22:32 -03:00
c4rlosdias
d851614cbb
Add bug fixes
2023-07-18 09:21:47 -03:00
Gorgious56
9c7b073414
Refactor edit mode toggle logic for profile based representations
2023-07-18 14:02:56 +02:00
Gorgious56
66ed95fbc1
Add ifc modifier utilities to tool.Blender
2023-07-18 14:00:30 +02:00
Andrej730
44e98b17a0
Fixing railing/roof bug #3416
...
Issue occured when you imported .ifc and then would try to edit roof/railing path and then cancel/finish editing.
Added safe check to avoid using `change_object_data` in edit mode - https://projects.blender.org/blender/blender/issues/110232
2023-07-18 15:52:59 +05:00
Gorgious56
a095d93838
Fix bug when using the search operator (F3) with no active object
2023-07-18 10:43:36 +02:00
Dion Moult
892b41a540
New geometry.create_2pt_wall API function to create a wall-like representation from two points.
2023-07-18 18:29:26 +10:00
Dion Moult
0cdce9b2d6
Add documentation for basic geometry creation
2023-07-18 18:28:46 +10:00
Dion Moult
05e05d0d5a
Rename sverchok representation to mesh representation
2023-07-18 18:22:56 +10:00
Dion Moult
8cbe298072
Utility function to create rotation matrixes in numpy.
2023-07-18 14:28:35 +10:00
c4rlosdias
7bc23c996b
Add select entities (2023_07_17)
2023-07-17 17:07:45 -03:00
Gorgious56
b9ff4f3263
Fix Ifc modifier error after #3393064 because of legacy context.object
...
For some reason in the scene properties context.object returns None even if an object is active in the viewport, so ifc modifiers would randomly throw errors. AFAIK functionally they are supposed to point to the same thing, but active_object seems to be the superior one and context.object deprecated and kept for legacy reasons. Couldn't find dev quote but I'm sure I saw it at some point
2023-07-17 14:48:01 +02:00
Gorgious56
42bbc9a093
Ensure positive extrusion depth
...
This prevents an error and mesh corruption when trying to input a negative extrusion depth
2023-07-17 14:29:35 +02:00
Dion Moult
33930642a4
Move all modifier panels into Representations and Materials tab.
2023-07-17 22:21:31 +10:00
ay-ex
0573ffb11a
fix choco_update action
...
fix according to upstream makefile change:
https://github.com/blender/blender/blob/main/build_files/cmake/Modules/FindPythonLibsUnix.cmake
2023-07-17 22:16:55 +10:00
Andrej730
21a614560a
Revision Clouds - option to match revision cloud with the selected object
...
Works similarly to tagging, example - https://imgur.com/a/Atr0nYE
This feature also can be useful in the future if we integrate revision clouds with ifcgit
2023-07-17 16:32:40 +05:00
Dion Moult
80d74866a9
More tab and panel shuffling. Top level panels now have a tab prefix.
2023-07-17 18:17:32 +10:00
Dion Moult
d75e85b3a6
Disable Shift-D duplication of drawings for now until drawings stabilise more. Use the dedicated duplicate drawings feature.
2023-07-17 18:17:32 +10:00
Andrej730
a101f46478
Fixing bugs on small revision clouds #3310
...
Bugs were:
1) svg print ZeroDivisionError if there was less than 1 pattern segment
2) svg drawing wasn't preserving edge direction if there was less than 1 pattern segment
2023-07-17 12:11:52 +05:00
Andrej730
2463b77985
Fixed #3441
2023-07-17 11:32:12 +05:00
Dion Moult
e695bdbd0d
Fix #3449 . Fix bug where you couldn't edit the relating type of an annotation.
2023-07-17 15:47:10 +10:00
Dion Moult
17230e4170
Fix bug where loaded point geometry had unlinked meshes or placements with wrong units.
2023-07-17 15:46:33 +10:00
Dion Moult
80d88b3821
Fix #3275 . You can now rename annotation types from the annotation manager.
2023-07-17 14:32:05 +10:00
Dion Moult
0500e666bd
Add support for arbitrary point annotations and survey point, traverse points, control points, spot elevations, etc.
2023-07-17 11:48:09 +10:00
c4rlosdias
31bb220d38
Update 2023_07_16
2023-07-16 20:46:26 -03:00
Dion Moult
944f2f701a
Fix #3288 . Implement undo / redo until specified named transaction. Fix fundamental undo bug where Blender doesn't track the undo UUID property if you toggle edit mode.
...
This also has the nice side effect of implementing "Jump to point in history" so you can now use the Edit > Undo History menu.
2023-07-16 22:58:56 +10:00
Dion Moult
844cc62960
More panel shuffling, new Quality and Coordination tab. Geometry is now part of materials.
2023-07-15 21:47:35 +10:00
Dion Moult
147df7f46b
Bulk rename panels to remove redundant IFC prefix
2023-07-15 21:02:40 +10:00
Dion Moult
53bd4bf5ea
Example of UI if we sentence-cased IFC classes. Good or bad? Please comment at https://community.osarch.org/discussion/comment/16493
2023-07-15 21:02:40 +10:00
Andrej730
d50e43197e
small fix 90fce1804
2023-07-15 10:28:23 +05:00
Dion Moult
90fce18042
New icon tabbed interface so you don't need to click twice to change tab.
2023-07-15 13:22:13 +10:00
c4rlosdias
772414451e
update ifctester - 2023_07_14
2023-07-14 12:04:22 -03:00
Dion Moult
0a840188bf
DANGER! Potentially fix a bunch of undo bugs by completely rebuilding undo id_map tracking with a much simpler solution.
...
In the past, we used undo_pre and redo_pre and a bunch of complex commit_link and rollback_link tracking to figure out what IDs and GUIDs were added / removed during transactions and how to handle invalidated objects in the id/guid maps.
I really don't know why I made it that complex.
Now we simply treat all data as bad and rebuild the either map. This means slower undos / redos for large projects, but in theory the maps will never invalidate.
This either fixes a lot of things or breaks a lot of things :) Watch out!
2023-07-15 00:05:34 +10:00
Dion Moult
a2e7cb8158
Fix undo bugs in the type module where some operators were not part of the undo system for some reason.
2023-07-15 00:00:10 +10:00
Dion Moult
2034fa203b
Fix #3275 . You can now rename types from the type manager.
2023-07-14 23:58:33 +10:00
Andrej730
572a8c812e
root.remove_product fix
2023-07-14 18:22:31 +05:00
Andrej730
af4b5e1fe6
oops, forgot to clean up the test name
2023-07-14 18:02:51 +05:00
Andrej730
9c383e0c1a
Fixed plan level annotation rotation #3440
2023-07-14 17:42:45 +05:00
Andrej730
a72231cb91
StairData refactor, solves #3416
2023-07-14 16:17:14 +05:00
Andrej730
846dbc341d
root.copy_class to support copying ports in ifc2x3
2023-07-14 15:48:41 +05:00
Andrej730
ed95516b9d
Clean up type objects on ifc import
2023-07-14 15:04:15 +05:00
Andrej730
b6ddc0d55e
avoid IfcSpatialElement errors in ifc2x3
...
IfcSpatialElement was added only in ifc4
2023-07-14 14:46:58 +05:00
Andrej730
be5950bcb7
clean up after running test_wall_opening.py
2023-07-14 14:46:58 +05:00
Andrej730
6810bbff2f
remove_product to remove IfcRelConnectsElements
2023-07-14 14:46:58 +05:00
Andrej730
2fa7cbaabf
Fixing confusing UI #3357
...
It was showing "Edit Profile" when you have slab and wall selected when it will actually extend the wall to the slab.
2023-07-14 14:46:58 +05:00
Dion Moult
69fa12423d
See #3421 . Fix drawing bug where IfcOpenShell might return unclosed paths even though the shape is closed and therefore break cut polygon fills.
2023-07-14 17:32:45 +10:00
Dion Moult
8f609ff383
See #3421 . Fix bug where some projection fills wouldn't polygonize correctly in shapely due to numerical tolerance.
2023-07-14 17:29:30 +10:00
Dion Moult
924bf2a3ad
Fix #3442 . Update sheet list if drawing name changes.
2023-07-14 13:54:24 +10:00
Dion Moult
2be8f4a139
Move object data out of object tab and into new object dropdown.
2023-07-14 13:41:02 +10:00
Dion Moult
8411feedf4
You can now open projects from the Ctrl-N shortcut.
2023-07-14 13:40:09 +10:00
Gorgious56
56e6c8e0e1
Improve slightly the boolean interface in mesh properties editor
2023-07-13 14:52:00 +02:00
Dion Moult
818226d1e2
Fix #3414 . The project wizard now doesn't load a fresh session by default. Note that File > Open still enforces a fresh session.
2023-07-13 22:34:13 +10:00
Andrej730
6336241431
Cleaning up connections on delete_ifc
...
Noticed an error if you connect wall and slab, then remove the slab and try to regenerate the wall - error occured because connection to that slab wasn't removed.
The error was:
Error: Python: Traceback (most recent call last):
File "\3.6\scripts\addons\blenderbim\bim\module\model\workspace.py", line 381, in invoke
return self.execute(context)
File "\3.6\scripts\addons\blenderbim\tool\ifc.py", line 136, in execute
IfcStore.execute_ifc_operator(self, context)
File "\3.6\scripts\addons\blenderbim\bim\ifc.py", line 421, in execute_ifc_operator
result = getattr(operator, "_execute")(context)
File "\3.6\scripts\addons\blenderbim\bim\module\model\workspace.py", line 373, in _execute
getattr(self, f"hotkey_{self.hotkey}")()
File "\3.6\scripts\addons\blenderbim\bim\module\model\workspace.py", line 465, in hotkey_S_E
bpy.ops.bim.join_wall(join_type="T")
File "C:\software\Steam\steamapps\common\Blender\3.6\scripts\modules\bpy\ops.py", line 113, in __call__
ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Python: Traceback (most recent call last):
File "\3.6\scripts\addons\blenderbim\tool\ifc.py", line 136, in execute
IfcStore.execute_ifc_operator(self, context)
File "\3.6\scripts\addons\blenderbim\bim\ifc.py", line 421, in execute_ifc_operator
result = getattr(operator, "_execute")(context)
File "\3.6\scripts\addons\blenderbim\bim\module\model\wall.py", line 76, in _execute
joiner.join_E(context.active_object, context.scene.cursor.location)
File "\3.6\scripts\addons\blenderbim\bim\module\model\wall.py", line 1038, in join_E
self.recreate_wall(element1, wall1, axis, body)
File "\3.6\scripts\addons\blenderbim\bim\module\model\wall.py", line 1145, in recreate_wall
height = self.clip(obj, tool.Ifc.get_object(rel.RelatingElement))
File "\3.6\scripts\addons\blenderbim\tool\ifc.py", line 89, in get_object
return IfcStore.get_element(element.id())
AttributeError: 'NoneType' object has no attribute 'id'
2023-07-13 17:32:25 +05:00
Dion Moult
7720166c31
Fix #3393 . Bug where duplicating a typed text didn't also copy its literal.
2023-07-13 22:22:00 +10:00
Carlos Dias
f5ba0673e3
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2023-07-13 08:01:54 -03:00
Andrej730
3b05799956
Delete edit text from BIM Tool since it's already in Annotation Tool
2023-07-13 15:54:28 +05:00
Andrej730
f3924249e9
handle null diffuse color loading ifc styles
...
The error was:
Traceback (most recent call last):
File "\3.6\scripts\addons\blenderbim\bim\module\style\prop.py", line 99, in update_shading_style
tool.Style.set_surface_style_props(blender_material)
File "\3.6\scripts\addons\blenderbim\tool\style.py", line 174, in set_surface_style_props
style_data["DiffuseColour"] = style_data["DiffuseColour"][1]
TypeError: 'NoneType' object is not subscriptable
2023-07-13 14:54:36 +05:00
Gorgious56
7f9e8a207d
Enable drawing generation buttons only when an actual drawing is selected
2023-07-13 11:38:11 +02:00
Andrej730
38f7c044a3
Fixed error on canceling editing railing/roof
...
Since we do not update representation for railing / roofs and just mark them wtih `tool.Ifc.edit(obj)` their previous representation may still be incorrect. So we restore the previous representation just using bmesh update method.
For example if create a new roof, enter editing roof properties mode and then cancel editing, then it would result in "Failed to process a shape" because roof still had just empty Body/PointCloud representation.
2023-07-13 14:32:09 +05:00
Andrej730
7896d5b6e5
Fixing errors on loading ifc after ef8f82501
...
The error was:
RuntimeError: Operator bpy.ops.object.editmode_toggle.poll() failed, context is incorrect
Location: C:\software\Steam\steamapps\common\Blender\3.6\scripts\modules\bpy\ops.py:113
Traceback (most recent call last):
File "\3.6\scripts\addons\blenderbim\bim\module\project\operator.py", line 594, in execute
bpy.ops.bim.load_project_elements()
File "C:\software\Steam\steamapps\common\Blender\3.6\scripts\modules\bpy\ops.py", line 113, in __call__
ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Python: Traceback (most recent call last):
File "\3.6\scripts\addons\blenderbim\bim\module\project\operator.py", line 653, in execute
ifc_importer.execute()
File "\3.6\scripts\addons\blenderbim\bim\import_ifc.py", line 265, in execute
self.clean_mesh()
File "\3.6\scripts\addons\blenderbim\bim\import_ifc.py", line 1347, in clean_mesh
bpy.ops.object.editmode_toggle(context_override)
File "C:\software\Steam\steamapps\common\Blender\3.6\scripts\modules\bpy\ops.py", line 111, in __call__
ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)
RuntimeError: Operator bpy.ops.object.editmode_toggle.poll() failed, context is incorrect
Location: C:\software\Steam\steamapps\common\Blender\3.6\scripts\modules\bpy\ops.py:113
2023-07-13 13:45:50 +05:00
Andrej730
96d812eaba
Fixed console errors on checking modeling data
2023-07-13 13:03:18 +05:00
Dion Moult
0390a65590
Fix #3300 . Bug where it was impossible to delete normal Blender objects in the outliner when an IFC existed.
...
Also port over batch deletion to the outliner override.
2023-07-13 16:26:06 +10:00
Andrej730
ad4ab1567f
model data parameters renamed to pset_data for consitency
2023-07-13 11:08:52 +05:00
Andrej730
d633733d18
DoorData use refactor
2023-07-13 10:58:03 +05:00
Andrej730
cd1a813630
WindowData use refactor
2023-07-13 10:36:09 +05:00
Andrej730
c9e6da9b6c
change .is_editing type for ifc modifiers to boolean
2023-07-13 09:53:11 +05:00
Andrej730
cada2c36e3
RoofData use refactor
2023-07-13 09:48:33 +05:00
Dion Moult
33304eb1a5
Group drawings by target view in the drawing list
2023-07-13 14:13:28 +10:00
Bruno Perdigão
4e72ef8b20
Select all objects in array modifier #3331
2023-07-13 13:21:49 +10:00
Dion Moult
b9d8e86748
Fix #3411 . Filtering sheets now doesn't break sheet hierarchy and also lets you search for sheet identification, name, and names of drawings / titleblocks / things on sheets.
2023-07-13 11:53:08 +10:00
Dion Moult
3adfc63b65
Fix #3432 . Bug where null applicable occurrence of a type product caused the annotation tool to fail.
2023-07-13 11:27:01 +10:00
Andrej730
91e7d49060
makefile fix
2023-07-12 18:34:48 +05:00
Andrej730
4ad1a2be73
minor change for RailingData
2023-07-12 17:46:56 +05:00
Andrej730
ef8f825012
bim.load_project to refresh session on execute not invoke
...
if you accidentally opened file dialog or just changed your mind it shouldn't remove all objects from the current blender session
2023-07-12 17:10:30 +05:00
Andrej730
56adfc70b5
RailingData use refactor, solves #3416
2023-07-12 17:01:51 +05:00
smr02
bc909a26fa
ifcsverchok delete api_WIP
2023-07-12 21:18:20 +10:00
Andrej730
dd0a015ec3
display current commit in status bar
...
it works for users who symlinked their blenderbim/bim folders to git repository or installed blenderbim from release created from makefile
https://i.imgur.com/mEBH9I7.png
2023-07-12 12:34:24 +05:00
Gorgious56
3813c26db7
Fix error when trying to edit an object that doesn't support edit mode with the TAB keypress
...
Also run black on the rest of the file
2023-07-12 09:28:21 +02:00
Dion Moult
95c06c7f82
Fix #3420 . Fix missing sheet references on drawings and incorrect direction of section references.
2023-07-12 17:17:54 +10:00
Andrej730
db910d4024
more consistency in values for plan-, section level and diameter
2023-07-12 11:47:19 +05:00
Andrej730
669dbd2e8d
radius annotation - support for prefix/suffix/fill-bg
...
and more consistency between viewport and svg
2023-07-12 11:47:18 +05:00
Andrej730
becbfccae9
PLAN/SECTION_LEVEL consistency between viewport and svg
...
before - https://i.imgur.com/bwYbozz.png
after - https://i.imgur.com/7BlmQIg.png
NOTE that if you're using markers.svg that was created before this update you won't see the changes for the section-/plan-level markers.
2023-07-12 11:47:18 +05:00
Andrej730
2f02d401f2
fill-bg for diameter, plan- and section-level annotations
2023-07-12 11:47:18 +05:00
Dion Moult
ec2ca4bcf4
Fix #3417 . Apply 50mm offset to camera to ensure text isn't "behind" the camera. This 50mm convention is used in quite a few places, we should standardise it.
2023-07-12 12:37:53 +10:00
Dion Moult
89df937f89
Fix #3425 . Fix invalid IFC data where grid axes should be 2D not 3D.
2023-07-12 11:41:58 +10:00
Thomas Krijnen
7567971a32
Update entity_instance.py
2023-07-11 21:41:06 +02:00
Thomas Krijnen
74160731c9
Update rule_executor.py
2023-07-11 21:40:05 +02:00
Andrej730
5d7fefa042
Prevent resetting selected tab on blender restart
...
Not sure if there is any caveats to that
2023-07-11 18:23:26 +05:00
Dion Moult
db4c61a472
Fix #3407 . Override Ctrl-S to the export IFC which checks for Blender projects.
...
1. No IFC --> Saves Blend file
2. IFC, unsaved Blend --> Saves IFC
3. IFC, saved Blend --> Saves IFC and Blend
2023-07-11 23:08:05 +10:00
Andrej730
298568d3ea
PLAN_LEVEL annotations support for prefix, suffix #3399
...
Viewport - https://i.imgur.com/XRa3oJO.png
SVG - https://i.imgur.com/C8PjoiO.png
2023-07-11 17:04:58 +05:00
Dion Moult
4da7b355bf
Fix #3414 . Only clear default scene, not custom scene when loading / creating IFCs.
2023-07-11 21:45:34 +10:00
Andrej730
2a15743f8b
SECTION_LEVEL annotations support for prefix, suffix #3399
...
also added support for "show only description" for section_level
2023-07-11 16:42:07 +05:00
Andrej730
e54cc11ca6
Fixed #3400 introduced in dda16c8
2023-07-11 14:54:51 +05:00
Dion Moult
24fdfc6d82
Resolve merge conflict
2023-07-11 18:15:18 +10:00
Dion Moult
8689164769
Fix registration bug that created hundreds of workspaces due to continuous triggering of the depsgraph_update.
...
Use an is_registering check to only run the on_register once.
Rename setDefaultProperties to load_post to better reflect what handler it is.
Unregister our custom scene panels upon addon activation.
Move aprops getting to tool.Blender because it is a bit complex. Also, aprops may not be setup until load_post is called, so the len() check protects against that.
2023-07-11 18:08:02 +10:00
Gorgious56
86dd79daa6
Keep active object when unlinking an IFC element
...
Unlinking an element recreates a new blender object so the active object would be lost, jumping the properties to the scene panel which was slightly annoying
2023-07-11 09:33:06 +02:00
Andrej730
a231cc31e8
fixed properties search after 949a2bb and fixed console errors on search
...
1) When you search not from the SCENE properties blender creates some kind of phantom area to check search results. As this area is not present in `context.screen.areas` it was resulting in the error below.
2) After 949a2bb search in scene properties was limited to currently selected tab. Given the amount of tools we have in properties and native blender approach for searching across all available sections in properties, it seems reasonable to make search work across all tabs.
Console error was:
The error was
Python: Traceback (most recent call last):
File "\3.6\scripts\addons\blenderbim\bim\ui.py", line 281, in draw
aprops = context.screen.BIMAreaProperties[context.screen.areas[:].index(context.area)]
ValueError: bpy.data.screens['Layout.001']...Area is not in list
2023-07-11 11:00:20 +05:00
Dion Moult
e412d27398
Integrate brickschema undo system into BlenderBIM Add-on undo system wrapper
2023-07-11 11:16:49 +10:00
Andrej730
60388f1a24
Fixed #3412
...
After 949a2bb printing happens not fron N-panel (which is part of viewport) but from scene properties - so current context doesn't have region_3d anymore.
PS The same issue was there all along if you'd try to print the drawing from Camera Properties tab.
2023-07-10 17:31:11 +05:00
Andrej730
d13d1493e3
allow to call select/color by attribute by providing arguments
...
instead of always checking scene.BIMSearchProperties. This allows to add different setups of selections to quick favorites
2023-07-10 17:17:12 +05:00
Dion Moult
556489d686
Implement Ctrl-Tab in properties to conveniently toggle between two tabs.
2023-07-10 22:04:10 +10:00
Dion Moult
657e77117c
Move built-in scene panels to a dedicated "Blender Properties" tab instead of unregistering permanently.
2023-07-10 22:04:10 +10:00
Andrej730
7d97f5e375
Library for US AISC15 Steel Profiles #3203
2023-07-10 16:36:07 +05:00
Gorgious56
7583b56738
Trying to edit a railing modifier path while modifying the parameters is now prevented and user is informed with a tooltip
2023-07-10 13:00:43 +02:00
Gorgious56
073a00b2ca
Fix IfcRailing modifier support spacing <= 0 would throw an error, and deactivate support spacing field if manual support is selected
2023-07-10 12:47:46 +02:00
Thomas Krijnen
8baa0945e9
2dc4bbf8cd Apply same logic for derived attributes
2023-07-10 10:26:37 +02:00
Dion Moult
717c28b7c9
Override Ctrl-N new file menu to make it easier to start new projects and new IFC icon.
2023-07-10 17:16:32 +10:00
Andrej730
f4a4e906ab
Using EPset_Drawing data instead of camera props on drawing print #3396
...
Previously if you change `HasUnderlay` in pset it caused errors because camera properties `has_underlay` wasn't updated.
Still some work need to be done for updating keep camera properties in sync with pset - probably we can should call something like `tool.Drawing.import_drawing()` on EPset_Drawing edit
2023-07-10 11:09:48 +05:00
Dion Moult
052ff71c51
See #3411 . Sheets are now sorted alphabetically by default.
2023-07-10 14:13:44 +10:00
Dion Moult
3dfd36877e
See #3016 . Scene shading styles are now stored as part of the drawing style.
2023-07-10 14:13:44 +10:00
Dion Moult
a9f2237d32
Update splash image to be centered
2023-07-10 13:15:49 +10:00
Dion Moult
62c93f0462
Fix #3410 . Minor regression when moving UI to properties panel.
2023-07-10 11:19:15 +10:00
Dion Moult
60ea504267
Add support for Point representations too, not just point cloud.
2023-07-10 10:23:33 +10:00
Dion Moult
1e3b45c0b8
Fix bug where all grouped annotations were excluded when opening models, whereas we only want drawing annotations to be excluded.
2023-07-10 10:23:33 +10:00
Massimo Fabbro
757277cedf
Fix bug where drawing decimal places couldn't be 0. Now it's possible to define 0 as value
2023-07-09 18:52:03 +02:00
Dion Moult
14fced7aba
Forgot to commit updated IfcTester test suite
2023-07-09 22:30:14 +10:00
Dion Moult
7a3b299148
Fix critical undo sync bug related to invoking instead of executing. See notes.
...
Currently, the undo system works by wrapping the execute operator. What was not considered was that execute() isn't the only entry point to operators. Operators can be invoked. If an invoked operator calls a bpy.ops.bim.something in its invoke() function, then bpy.ops.bim.something will start and finish its own transaction, and then when the invoke finishes and finally runs execute(), another transaction will be started and finished. This means that we get at least one extra transaction logged (one per any call to bpy.ops.bim.foo in invoke()).
This mismatch of number of transactions and undo stack means that when the user presses ctrl-z, the undo doesn't actually occur. This leads to a sync bug.
To be safe, all IFC invokes must be wrapped. This will take some time to review so expect another commit soon.
2023-07-09 22:29:49 +10:00
Dion Moult
45cf6a8ace
Drawing panels now moved to the drawings and documents "tab"
2023-07-09 18:30:40 +10:00
Dion Moult
9b1693e112
Update IfcTester to comply with latest modifications to IDS XSD.
2023-07-09 17:02:12 +10:00
c4rlosdias
700d8a3b9c
Add extra formats to output file
2023-07-03 10:22:08 -03:00
Carlos Dias
da3440d848
Merge branch 'IfcOpenShell:v0.7.0' into v0.7.0
2023-07-03 08:48:10 -03:00
Carlos Dias
93aa24c6d2
Update operator.py
...
missing output file format in arguments
2023-07-02 20:25:51 -03:00