Commit Graph

2426 Commits

Author SHA1 Message Date
Andrej730 6665dd7e92 Add to scene properties whether we use relative path to .ifc #3251
Previously it was stored as operator's prop which is (turned out) reseted on reopening .blend.
2024-04-15 10:59:03 +02:00
Andrej730 4d171c17a8 Small fix for 1f43ec870
Was getting this error at project start:

Traceback (most recent call last):
  File "\scripts\addons\blenderbim\bim\module\project\operator.py", line 332, in execute
    return IfcStore.execute_ifc_operator(self, context)
  File "\scripts\addons\blenderbim\bim\ifc.py", line 410, in execute_ifc_operator
    result = getattr(operator, "_execute")(context)
  File "\scripts\addons\blenderbim\bim\module\project\operator.py", line 345, in _execute
    self.import_type_from_ifc(element, context)
  File "\scripts\addons\blenderbim\bim\module\project\operator.py", line 374, in import_type_from_ifc
    collection_obj = collection.BIMCollectionProperties.obj
AttributeError: 'LayerCollection' object has no attribute 'BIMCollectionProperties'
2024-04-15 10:59:03 +02:00
Andrej730 47ed33cba0 small fix for syntax warning after 4865b62ea
SyntaxWarning: "is not" with a literal. Did you mean "!="?
2024-04-15 10:59:03 +02:00
Andrej730 8933478137 Spatial/Structural Tools icons 2024-04-15 10:59:03 +02:00
Andrej730 2ab4213e01 Moving operators to Spatial Tool
Changes:
- Moved Shift A "Add boundary" from BIM Tool to Spatial Tool
- Moved Alt B "Show boundaries" from BIM Tool to Spatial Tool
2024-04-15 10:59:03 +02:00
Massimo Fabbro e7509ccc3f Fix create spaces from walls z-value (#3248)
Co-authored-by: Dion Moult <dion@thinkmoult.com>
2024-04-15 10:59:03 +02:00
Massimo Fabbro 98ba75ef52 New toggle space visibility button 2024-04-15 10:59:03 +02:00
Dion Moult b5c4b87238 Fix #3069. (Again) review all occurrences of users_collection and collection.name 2024-04-15 10:59:03 +02:00
Trashman247 e4ec8c40f0 Keep dist-info in compiling brickschema and add persistence extras 2024-04-15 10:59:03 +02:00
Bruno Postle c995d70ae1 Include commit summary of merged branches (#3096)
Git merges usually transfer the commit history, but when we resolve a
conflict with a 'mergetool' (ie. ifcmerge), this history is lost,
everything is squashed into a single commit. Now a summary of the
merged changes is appended to the merge message.
2024-04-15 10:59:03 +02:00
Bruno Postle b2568fd343 Display multi-line commit and tag messages (#3096) 2024-04-15 10:59:03 +02:00
Bruno Postle 2738aa571a Operator to delete a Git tag (#3096) 2024-04-15 10:59:03 +02:00
Bruno Postle 3bdf1a170a Operator to view selected object Git history #3096
A new BlenderBIM > Git History side-panel to show the raw Git log
for the step entity of the selected object
2024-04-15 10:59:03 +02:00
Sigma Dimensions f8f1ba0ae8 Prototype Building Storey Manager #3246 2024-04-15 10:59:02 +02:00
Sigma Dimensions 607172c51d fix draw_project_not_saved_ui for BIM documentation 2024-04-15 10:59:02 +02:00
Sigma Dimensions 157d7d3c02 You can now review and assign currencies from the Cost Schedule Panel 2024-04-15 10:59:02 +02:00
Sigma Dimensions 1d13edd747 Display currency on cost item values and total cost 2024-04-15 10:59:02 +02:00
Andrej730 f4344b9e75 Placeholders for spatial and structural tools 2024-04-15 10:59:02 +02:00
Andrej730 a57f9e984b Tests for external svg references 2024-04-15 10:59:02 +02:00
Trashman247 7a2c6c4b5f Update Makefile 2024-04-15 10:59:02 +02:00
Sigma Dimensions 9c707977a3 auto refresh tasks assigned to products when filtering by active schedule 2024-04-15 10:59:02 +02:00
Sigma Dimensions 6e3acd8c4a BBIM 5D: Various Cost Schedule UI Improvemements 2024-04-15 10:59:02 +02:00
Andrej730 c930eb7603 References for adding external svgs to the sheets
It works exactly the same as schedules - you add some .svg file, path to it stored in ifc and you can attach it to the sheet.

UI - https://i.imgur.com/tGbCGBb.png

Still need to add some tests for references
2024-04-15 10:34:50 +02:00
Sigma Dimensions 87673b0784 Use util.element.get_predefined_type() #065bda6 2024-04-15 10:34:50 +02:00
Sigma Dimensions 2a791eef52 Run costing tests and rename changed methods 2024-04-15 10:34:41 +02:00
Dion Moult 5f4fef42ac See #3069. Continued refactoring to not rely on users_collection[0]. 2024-04-15 10:34:41 +02:00
Dion Moult 6e57cbcf81 See #3069. More cleanup moving away from collection names and assumed single collections. 2024-04-15 10:34:41 +02:00
Dion Moult 4f15ec1f67 Fix regressions after making aggregate based on selected objects. 2024-04-15 10:34:41 +02:00
Dion Moult 804dbee2c3 Fix #3069. WARNING: dangerous change. Objects that have their own collection now have a pointer to that collection. This fixes a variety of subtle sync bugs. 2024-04-15 10:34:41 +02:00
Andrej730 d2d6a9e7d4 Remove test to reproduce #3169 as irrelevant 2024-04-15 10:34:41 +02:00
Andrej730 0dfb34a730 Added test to cover 2629172ff 2024-04-15 10:34:41 +02:00
Andrej730 c94c580282 Fixed bug with saving data to Pset_StairFlightCommon not in project units 2024-04-15 10:34:41 +02:00
Massimo Fabbro f7c83df793 Move the recipe into the blenderbim script folder and rewrite it as a script 2024-04-15 10:34:41 +02:00
Sigma Dimensions 9a02fc02db Exporting cost schedules opens the folder directory 2024-04-15 09:59:58 +02:00
Andrej730 aa63055a46 Displaying project units for length values in psets and qsets
Examples:
- https://i.imgur.com/ww7MJ7w.png
- https://i.imgur.com/N1rOELc.png
2024-04-15 09:59:58 +02:00
Andrej730 01d639e2e2 Railing, Door Modifiers - project units props
Example - https://i.imgur.com/SJOQMMm.png
2024-04-15 09:59:58 +02:00
Andrej730 226e0f9b13 black format 2024-04-15 09:58:27 +02:00
Andrej730 9be09ef443 maintaining same roof thickness for different rafter edge angles
PS roof code is not getting simpler to work with 🥲
2024-04-15 09:58:26 +02:00
Dion Moult a597c171a7 Removing authoring mode which was an outdated concept. 2024-04-15 09:58:26 +02:00
Dion Moult 1f2f245671 Fix #3163. Use text in lieu of inability to use URIReferences in drawing pset. 2024-04-15 09:58:26 +02:00
Sigma Dimensions eba0525143 Cost schedule name label now shows the predefined type 2024-04-15 09:58:26 +02:00
Dion Moult cc12c388c4 Fix #3120. Don't remove doubles as it may break mesh manifoldness. 2024-04-15 09:58:26 +02:00
Andrej730 958729c9a6 rafter edge angle and roof thickness #3092
Added option to adjust rafter edge angle and roof thickness
Short demonstration - https://imgur.com/a/TsYSs6i
2024-04-15 09:58:26 +02:00
Andrej730 8b805e507a Roof modifier - asymmetrical gable #3093
Example - https://i.imgur.com/EHaSt16.png
2024-04-15 09:58:26 +02:00
Dion Moult d611db0999 Close #3139. Bump IfcOpenShell. 2024-04-15 09:58:26 +02:00
Dion Moult 2e143f65d9 Fix #3211. Generated fills now are siblings to the element that they void. 2024-04-15 09:58:26 +02:00
Andrej730 a37585707e Schedule Builder - text/background color support #3154 2024-04-15 09:58:26 +02:00
Andrej730 f7b911faed separate ifc text literals in svg with newline #3207 2024-04-15 09:58:26 +02:00
Dion Moult 16582e2691 Fix #3212. Bug where viewport camera bisection didn't have enough tolerance and sometimes wasn't visible. 2024-04-15 09:58:26 +02:00
Dion Moult 228cce74ac Fix #3209. Handle loading of custom scales, fix incomplete NTS implementation, and use Lark for more reliable imperial scale parsing. 2024-04-15 09:58:26 +02:00