Dion Moult
6e84eb0acc
Add bSDD makefile
2024-04-08 10:09:58 +10:00
Dion Moult
b9ede5c739
Whoops
2024-04-08 10:08:01 +10:00
Dion Moult
44b980c1e0
Publish bSDD to PyPI
2024-04-08 10:06:28 +10:00
Dion Moult
08f4dea47f
Materials with no style colours now default to Blender's default colour when linking models
blenderbim-240407
2024-04-08 08:33:18 +10:00
Dion Moult
8f2a7be903
Fix #4521 .
2024-04-08 08:32:28 +10:00
Dion Moult
63b541917e
Minor fix in doc utility for entities which have no predefined types
2024-04-06 23:48:14 +11:00
Dion Moult
c8706bddc9
Fix bug where drawing psets were needlessly updated and random objects would get drawing psets added on them
...
The prop update callbacks on has_underlay, has_linework, and has_annotation would edit the active object, which is not necessarily the camera. Yikes! Also, this means that when activating the drawing, it would sync references and every time it synced a reference it would attempt to sync these properties too which was slow and wasteful.
2024-04-06 23:37:42 +11:00
Dion Moult
e969d407d3
Fix #4524 . Update README.md
2024-04-06 22:21:16 +11:00
Dion Moult
066b198ac9
Fix #4492 . Refix bug where there was an extra equal sign when loading saved queries.
blenderbim-240406
2024-04-06 21:42:49 +11:00
sebphi
5d6119e542
Fix import of ifcopenshell.util.unit in Python <3.10 #4520
2024-04-05 17:46:55 +02:00
Andrej730
845e229a9c
group.unassign_group - support batching #4474
2024-04-05 17:31:13 +05:00
Andrej730
cefa088b59
spatial.unassign_container - support batching #4474
2024-04-05 17:31:13 +05:00
Andrej730
109787d869
spatial.assign_container - support batching #4474
2024-04-05 17:28:30 +05:00
Andrej730
78abca16e6
black format
2024-04-05 16:47:14 +05:00
Andrej730
02aaf1b409
typing
2024-04-05 16:47:13 +05:00
Andrej730
02e102f2d2
Collector.sync skip_unlinking option #4500
...
To speed up the drawing process in large projects and reduce time on syncing stage I've found that if object is already assigned to it's parent collection (both as part of blender collection and in IFC) we can skip assigning stage significantly reducing time on syncing in general (from 20-25 secs -> 9 secs).
The only thing we'll be missing in that case that object won't be unlinked from other unrelated blender collections which shouldn't break anything in the case of drawing generation.
2024-04-05 16:30:44 +05:00
Andrej730
ec0dcb7f8c
documentation and small refactor
2024-04-05 16:30:43 +05:00
Andrej730
ba63ed81a1
small optimizations
...
1) stop on first parent collection
2) ensure object's own collection's parent has BIMCollectionProperties.obj during the loop
3) collector._get_collections - returns project's own collection for consistency
4) couple tweaks skipping unnecessary iterations in loops
2024-04-05 15:55:01 +05:00
Dion Moult
fb6660361d
See #4518 . Fix pypi python version requirements.
blenderbim-240405
2024-04-05 21:13:24 +11:00
Dion Moult
ecae9943e2
Add missing build dep
2024-04-05 21:12:27 +11:00
Thomas Krijnen
104e896531
#4278 Update cd.yml bump ubuntu version
2024-04-05 09:27:33 +02:00
Dion Moult
6555e56647
Fix evil hacks in ifcopenshell pip dist packaging and support py312 on PyPI
2024-04-05 16:54:29 +11:00
Dion Moult
f9a590a22c
Ship py39 to py312 for PyPI
2024-04-05 16:49:14 +11:00
Dion Moult
ad4a1576d3
Allow manual workflow dispatch of ci-ifcopenshell-pypi.yml
2024-04-05 16:44:53 +11:00
Dion Moult
c35c3f06b5
Fix #4504 . Extract CAD layers when linking in models.
2024-04-05 15:03:47 +11:00
Dion Moult
fada808a2f
See #4504 . Extract material data for linked models.
2024-04-05 14:53:11 +11:00
Dion Moult
e221e6fa6a
See #4508 . Update example code to serialise to obj.
2024-04-05 08:25:59 +11:00
jaymeandretta
725dac04d0
Updates links to BlenderBIM and IfcOpenShell documentation in README
2024-04-05 08:12:43 +11:00
Andrej730
5c365990b9
bim.debug_active_drawing debug operator #4500
...
Operator can help narrow down failing elements when drawing is failing with "RuntimeError: An unknown error occurred".
it's located in debug section - https://i.imgur.com/b03jmkZ.png
The output is noisy but the results are highlighted:
https://i.imgur.com/0ZA0u60.png
https://i.imgur.com/oXzqIXU.png
https://i.imgur.com/Y0nMRMz.png
2024-04-04 16:42:00 +05:00
Andrej730
797e2e41a5
bim.create_drawing to sync only once if printing multiple drawings
...
Turned out syncing process takes too much time on large projects, so we can speed up the printing process by syncing just once. Also exposed option not to sync to operator's properties to allow debugging failing elements.
A bit related to #4500
2024-04-04 16:41:59 +05:00
Andrej730
57fe40839b
black format, cleanup, notes
...
bim.generate_global_id - forgot to remove it previously, this operator isn't intended for debug section
2024-04-04 16:21:10 +05:00
Andrej730
b4c5ad1e35
typing
2024-04-04 16:07:31 +05:00
Dion Moult
635ddce93d
Autodetect CSG representation types in shape builder
2024-04-04 18:28:26 +11:00
Dion Moult
24e807cac7
Detect binary data types in util.attribute
2024-04-04 18:28:26 +11:00
Massimo Fabbro
33ceba38a8
Qto_Calculator more consistent calculation about the PredefinedType
2024-04-03 22:26:50 +02:00
Massimo Fabbro
90ed1f9b28
improve the flooring height object quantity calculation
2024-04-03 22:26:50 +02:00
Massimo Fabbro
e431cb205c
improve the ceiling height object quantity calculation
2024-04-03 22:26:50 +02:00
Massimo Fabbro
09bb45f5bc
fix add ceiling from walls elevation bug
2024-04-03 22:15:11 +02:00
Andrej730
7087452cde
log external styles names when they fail to load
2024-04-03 17:37:38 +05:00
Andrej730
af4b58444d
typing
2024-04-03 17:37:38 +05:00
Andrej730
711423cae5
use default shading_styles.json in case if project's file is missing
...
to make it consistent with how we use in similar cases default styles, symbols, etc
2024-04-03 17:37:38 +05:00
Andrej730
eb8b6062b4
move override panel methods to tool.Blender
...
to keep them close, so it will be easier to keep them in sync
2024-04-03 17:37:38 +05:00
Andrej730
5ac96cb5b9
change .poll for overridden panels instead of creating new classes
...
Needed to avoid errors disabling addons that have overridden panels
2024-04-03 17:37:38 +05:00
Andrej730
c462fc9337
move scene panels from different addons to "Blender Properties"
...
now we also automatically get list of default blender scene panels instead of hardcoding them
2024-04-03 17:37:38 +05:00
Andrej730
95f7a2bcde
override blender ui panels when should_setup_workspace = False
...
Previously with should_setup_workspace = False it wouldn't override Blender UI scene panels and they would get mixed up with BBIM panels. After fix Blender panels are always moved to "Blender Properties" tab
before - https://i.imgur.com/bPvcAEe.png
now - https://i.imgur.com/lRUox29.png
2024-04-03 17:37:38 +05:00
Dion Moult
04cf9c870b
Fix bug when linking in models with no chunks
blenderbim-240403
2024-04-03 21:24:03 +11:00
Andrej730
bf9bddc867
ifcopenshell.validate to check unique guids (IfcRoot.UR1)
2024-04-02 17:17:23 +05:00
Andrej730
20a2fda066
typing
2024-04-02 15:45:42 +05:00
Andrej730
f03afb20f3
validate.py - black format
2024-04-02 15:45:42 +05:00
Gorgious56
e0df22ffec
The button to remove an inherited pset is no longer enabled on instances
...
Previously it would fail silently if clicked
2024-04-02 09:52:43 +02:00