Thomas Krijnen
65f8b1a532
#4222 template kw
2024-01-17 11:10:06 +01:00
Thomas Krijnen
96b4df10ba
#4222 typename keywords
2024-01-17 11:02:02 +01:00
Andrej730
98b56aea42
allow missing translations.py as not everyone will need translations for BBIM
2024-01-17 12:07:02 +05:00
Andrej730
ba6ba29da8
auto enable "Manage UI Translations" addon if it's not enabled
2024-01-16 17:34:24 +05:00
Andrej730
1112b102f7
add without-blender-way to generate translations module from po files
...
though it does require `bpy` module which is available only for python 3.10.
Actually, `bpy` module by itself is not necessary - we just need `bl_i18n_utils` that becomes available after `import `bpy`. So alternatively we can just download that module from Blender https://projects.blender.org/blender/blender/src/branch/main/scripts/modules/bl_i18n_utils
2024-01-16 17:06:43 +05:00
Andrej730
04b8172ea9
black format
2024-01-16 15:28:55 +05:00
Andrej730
f5f3edbc79
check if translation ui is loaded by current Blender session instead of current Blender file
...
as it's more reliable and thing could change after Blender restart
2024-01-16 15:27:43 +05:00
Andrej730
30029e3dc7
expose i18n path in translator UI
...
removed bim.open_po_directory operator as it's now available just from alt-clicking on the path browsing button
2024-01-16 15:24:03 +05:00
Andrej730
ed836f5b4a
Update bbim_setup_translations.py
2024-01-16 15:18:05 +05:00
Andrej730
a88b708442
fix issues with empty paths accepted as valid paths
2024-01-16 15:15:11 +05:00
Andrej730
764c3bbb85
separate developer/translator ui
2024-01-16 15:08:55 +05:00
Andrej730
382d3f1f9f
generate pot file too converting translations.py
2024-01-16 15:04:02 +05:00
Thomas Krijnen
c92f607a15
#4222 sprinkle with template keywords
2024-01-16 09:56:50 +01:00
Thomas Krijnen
b57b7080fd
#4220 weakref to file
2024-01-16 09:44:04 +01:00
Thomas Krijnen
860ff4e513
#4220 Update file.py
2024-01-16 09:31:35 +01:00
Andrej730
3546f13593
change test addon name from localization_test
2024-01-16 11:42:34 +05:00
Dion Moult
663966e08d
Fix #4089 . Document support for Linux AArch64 on Conda.
2024-01-16 11:19:17 +11:00
Dion Moult
f077ebdc81
Fix #4211 . Minor documentation fix that clarifies upstream bug about whether qto can be assigned to types.
2024-01-16 10:56:35 +11:00
Dion Moult
eb888fd116
Fix #4223 . Basic lint error.
2024-01-16 10:50:43 +11:00
Dion Moult
40b6b3bf17
Fix #4224 . Fix sequencing lint bugs.
2024-01-16 10:47:50 +11:00
Dion Moult
2ef2f923d0
Fix #4219 . Update documentation for creating a new model.
2024-01-16 10:45:13 +11:00
Bruno Postle
75fab58831
IfcGit fixes suggested by ruff
2024-01-15 22:16:19 +00:00
Andrej730
ce26c6e19b
BBIM - upgrade to IFC4X3 on loading projects
...
Added "Upgrate to IFC4X3" button on loading new projects to migrate them to IFC4x3 as Ifc4x3 got approved now will be used more widely.
https://i.imgur.com/mHSIV7T.png
2024-01-15 17:39:49 +05:00
Andrej730
8728fa38b9
Migrator - basic support for migrating attributes ifc4 -> ifc4x3
...
And added one of the IfcProperty renamed attribute as an example
2024-01-15 17:39:49 +05:00
Dion Moult
3037795199
Fix #4139 . Bulk purge orphaned classes and move advanced operators to debug panel.
2024-01-15 23:16:42 +11:00
Andrej730
39ee9cd8b1
Migrator - display some error message for unhandled schemas
...
Noticed it was resulting in error below migrating to IFC4X3 in some cases as we don't have a mapping for IFC4X3 yet.
```
if value is None and not attribute.optional():
UnboundLocalError: local variable 'value' referenced before assignment
```
2024-01-15 16:16:29 +05:00
Andrej730
b375bbf558
black format
2024-01-15 16:16:29 +05:00
Thomas Krijnen
f2cae79dea
#4220 Update entity_instance.py
2024-01-15 12:01:18 +01:00
Andrej730
aadc77f6b6
minor fix for bim.create_all_shapes printed messages
2024-01-15 14:44:40 +05:00
Andrej730
35223d968c
semi-automatic setup for necessary directories
2024-01-15 14:43:23 +05:00
Andrej730
e106dc4502
register translations dict only if addon is already loaded
2024-01-15 13:39:27 +05:00
Andrej730
2995b73c2d
open .po directory operator
2024-01-15 13:39:27 +05:00
Andrej730
770bc6ea61
Operator to disable BBIM and restart Blender
...
as it's needed to reload the translations
Update bbim_setup_translations.py
Update bbim_setup_translations.py
2024-01-15 13:38:34 +05:00
Andrej730
f5736a7144
convert setup_translations to blender addon for UI
2024-01-15 12:18:53 +05:00
Dion Moult
b4120b1cab
Fix #4173 . Don't recreate boundaries of building elements that already exist.
...
Inline opening processing. Minor improvement to detecting attributes for int/ext and physical/virtual.
2024-01-15 15:28:52 +11:00
Dion Moult
77eae1c8e8
Fix #4195 . Forgot to add UI for contains selector.
2024-01-14 23:20:06 +11:00
Dion Moult
02d79f0687
See #4173 . Prototype new approach to generating 1st level space boundaries.
2024-01-14 23:12:14 +11:00
mohamadalbaaj
83d364574a
Fixing Dimension Mismatch in Matrix Multiplication
2024-01-14 15:08:08 +11:00
Dion Moult
688d2b7bd1
Minor test fix
2024-01-13 16:49:27 +11:00
Dion Moult
bf35239979
Fix bug where UI didn't show applicable psets to specific predefined types
2024-01-13 16:49:02 +11:00
Dion Moult
ca8e014647
Fix #4195 . Fix regressions from f840da3 and add support for "contains string" comparisons.
2024-01-13 15:58:57 +11:00
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