Massimo Fabbro
f021041b31
Remove the (maybe) unnecessary poll functions for spatial tool and cleaner error messages
2024-04-26 17:19:28 +02:00
Massimo Fabbro
c05d2df116
now spaces created with spatial tool have relative zero elevation origin point
2024-04-26 17:19:28 +02:00
Andrej730
3ac69043d6
bbim to provide default user and organisation in ifc2x3 #4574
...
previously every operation that would try to create owner history would fail with the error below if there wasn't IfcPersonAndOrganisation in the project.
2024-04-26 18:23:19 +05:00
Andrej730
31d85b715a
typing
2024-04-26 18:23:18 +05:00
Andrej730
82a0c6396c
BBIM support importing IfcRelAdheresToElement #4565
2024-04-26 11:44:52 +05:00
Andrej730
1cea3d21e8
BBIM support importing IfcRelAdheresToElement #4565
2024-04-26 11:44:32 +05:00
Andrej730
29352092aa
fix issue creating 3d location for 2d placement in ifc2x3
2024-04-25 18:05:47 +05:00
Andrej730
5b877b549a
fix numpy typing #4579
...
On older numpy versions, np.ndarray was less forgiving and wasn't allowing passing 1 argument instead of required 2.
And turned out numpy doesn't yet have typing for shapes (https://github.com/numpy/numpy/issues/16544 ), so all matrices and other shapes specified as `npt.NDArray[np.float64]`.
Fixed type discrepancies for `get_edges` and `get_faces` and also had to fix `import_ifc` as Blender apparently has problems with storing np.int32 in custom attributes (https://projects.blender.org/blender/blender/issues/121072 ), tested that Blender is okay with np.int32 in other cases we had (addressing BMesh.verts[i] where `i` is np.int32).
2024-04-25 18:05:47 +05:00
Andrej730
721466c429
typing
2024-04-25 18:05:47 +05:00
Andrej730
087d55f02a
fix editing sheets in ifc2x3 #4576
2024-04-25 18:05:47 +05:00
Ryan Schultz
4711672170
small tweak to 3ff31b577c and cd013079f4 - duplicate material and duplicate style have '_copy' suffix.
2024-04-24 21:48:26 -05:00
Bruno Postle
c0b4e099af
fix sheet regeneration missing drawing Identifier
...
Was passing LAYOUT document reference to sheeter instead of
DRAWING document reference
2024-04-24 23:05:44 +01:00
Andrej730
f41fbf24c3
small fix for e14d96e6e
2024-04-24 18:19:20 +05:00
Andrej730
e14d96e6ee
Use .Name instead of .Description if IFC2X3 for sheets #4576
...
As Description was added only in IFC4
2024-04-24 18:17:37 +05:00
Ryan Schultz
ae62ac2777
small tweak to b8a9674483 - duplicate profile has '_copy' suffix.
2024-04-23 07:42:02 -05:00
Andrej730
998f9c6a1e
make styles ui more similar to profiles and materials ui
...
before - https://i.imgur.com/bTbyt2t.png
after - https://i.imgur.com/U53h8Yh.png
2024-04-23 16:39:49 +05:00
Andrej730
3ff31b577c
bim.duplicate_style
2024-04-23 16:39:49 +05:00
Andrej730
cd013079f4
bim.duplicate_material
2024-04-23 16:39:49 +05:00
Andrej730
b8a9674483
bim.duplicate_profile
...
simple operator for profile duplication
example - https://imgur.com/a/dsP78iV
2024-04-23 16:39:49 +05:00
Andrej730
8beb1bef98
preserve selected profile index removing profiles
2024-04-23 16:39:38 +05:00
Andrej730
377676f881
dev environment - add libs/desktop and bsdd
2024-04-23 15:23:16 +05:00
Andrej730
f94aecbbff
typing
2024-04-22 17:31:49 +05:00
Andrej730
d33fdbba69
small optimization
2024-04-22 17:31:49 +05:00
Andrej730
0ddbcd98ea
use column-major reshape for matrices #4565
2024-04-22 17:31:16 +05:00
Andrej730
889c9a9e9f
typing
2024-04-22 17:30:25 +05:00
Andrej730
9e79499532
small optimization
2024-04-22 17:30:24 +05:00
Thomas Krijnen
133b420a54
Preliminary changes to blenderbim for v0.8 #4565
2024-04-21 13:35:18 +02:00
Bruno Postle
fc5bb230a9
Abandon SVG layout generation on missing drawings
...
Drawings need to be generated before layout can be generated, so
remove a partial failed layout caused by missing drawings.
2024-04-21 11:12:24 +01:00
Thomas Krijnen
0793ae539e
Merge remote-tracking branch 'origin/v0.7.0' into v08attempt1
2024-04-21 11:26:06 +02:00
Bruno Postle
3ef823db23
Regenerate missing sheets #4462
...
BlenderBIM will regenerate missing SVG drawings from the IFC on demand,
now it attempts to regenerate missing SVG sheets too. ie. you can open a
bare IFC file with configured drawings and sheets and continue working.
Only drawings are recognised, spreadsheet and other SVG refs are not
regenerated, all drawings are placed at the 30,30 pixel location.
2024-04-20 11:56:22 +01:00
Andrej730
25edaa9b89
update broken url for ladybug tools
...
temporarily use fork repo
2024-04-19 16:07:29 +05:00
Ryan Schultz
6ddf91fb52
bim.select_aggregate(select_parts=True) - selects all the host aggreg… ( #4552 )
...
- bim.select_aggregate(select_parts=True) - selects all the host aggregates and all the parts and subaggregates within these host aggregates
- bim.select_linked_aggregates(select_parts=False) - selects all the host aggregates that are linked
- bim.select_linked_aggregates(select_parts=True) - selects all the host aggregates that are linked and all the parts and subaggregates within these host aggregates
2024-04-18 21:08:46 -05:00
Bruno Perdigão
01361cc8f2
Merge branch 'v0.7.0' into fix-normal-duplication-of-linked-aggregate
2024-04-18 21:00:39 -03:00
Thomas Krijnen
d24d781674
Merge remote-tracking branch 'origin/v0.7.0' into v08attempt1
2024-04-18 21:39:33 +02:00
Thomas Krijnen
1e5f7c93fa
Some changes left-over after conflict resolution
2024-04-18 10:48:25 +02:00
Dion Moult
ad01945561
Fix #4549 . Drawing decorators are now refreshed like the rest of the UI after operations.
2024-04-18 10:48:25 +02:00
Dion Moult
9090b0866b
Fix #4486 . Sync camera properties from IFC on both drawing load as well as drawing activation.
...
Also there are now defaults in case pset values don't exist.
2024-04-18 10:48:25 +02:00
Dion Moult
f11538ee37
Fix #3402 .
2024-04-18 10:48:25 +02:00
Dion Moult
f82a8f34c0
Fix #4550 . Update doc urls.
2024-04-18 10:48:25 +02:00
Andrej730
ef6dfc3fec
Update BBIM version in docs
2024-04-18 10:48:25 +02:00
Andrej730
657ff30883
material.unassign_material - support batching #4474
2024-04-18 10:48:25 +02:00
Andrej730
cd25a50e96
material.assign_material - support batching #4474
2024-04-18 10:48:25 +02:00
Andrej730
3478db67b9
system.unassign_system - support batching #4474
2024-04-18 10:48:25 +02:00
Andrej730
9ee5cb7180
system.assign_system - support batching #4474
2024-04-18 10:48:25 +02:00
Andrej730
2460729e43
type.unassign_type - support batching #4474
2024-04-18 10:48:25 +02:00
Andrej730
949ff535eb
typing
2024-04-18 10:48:25 +02:00
Andrej730
a27461e4ba
fix bug generating profiles on assign_type after df4943205
2024-04-18 10:48:25 +02:00
Andrej730
74224676cd
type.assign_type - support batching #4474
2024-04-18 10:48:24 +02:00
Andrej730
bea8b2cddc
typing
2024-04-18 10:48:24 +02:00
Andrej730
773a79abc7
black format
2024-04-18 10:48:24 +02:00