Andrej730
c7effa3f25
More descriptive errors linking ifc files
2024-05-02 12:13:44 +05:00
Andrej730
45b2411c2b
Fix #4598 after 229c7285c
2024-05-01 17:43:31 +05:00
Andrej730
9f12091c7f
fix bug assigning materials
...
it was clearing all other blender materials - e.g. blender materials associated with representation items styles. Also had the same issue with affecting extra elements as with unassigning materials
2024-05-01 16:42:20 +05:00
Andrej730
bef5d3cca5
blenderbim - fix bug with unassigning material
...
When you would unassign material (e.g. implicitly by removing the object), it might have also removed materials slots from other occurrences of the same type.
Which may had some unexpected sideffects later on - as unassigned styles saving IFC project (BBIM unassigned styles based on a assumption that it was the user decision to remove the materials and related styles).
2024-05-01 16:42:20 +05:00
Andrej730
0f548eb93e
Indicate in UI if type material was overridden by occurrence material
...
Example - https://i.imgur.com/T1hidJg.png
+small optimization in material_name
2024-05-01 16:42:20 +05:00
Andrej730
374348bb81
IfcImporter small optimization
2024-05-01 16:42:20 +05:00
Andrej730
b42f6b1827
ifc delete to show time it took if it was more than 10 secs
2024-05-01 16:42:20 +05:00
Andrej730
137a306269
typing
2024-05-01 16:42:20 +05:00
Andrej730
fc0ffd1c02
fix a typo #4596 😬
2024-05-01 15:40:45 +05:00
Bruno Perdigão
04172a87cb
when bpy.ops.bim.object_duplicate_move_linked_aggregate is called from the panel, the new objects are placed based on the 3d cursor position
2024-04-30 17:50:31 -03:00
Bruno Perdigão
97e0c43702
Merge pull request #4440 from brunoperdigao/fix-normal-duplication-of-linked-aggregate
...
Fix normal duplication of linked aggregate
2024-04-30 17:01:44 -03:00
Ryan Schultz
9962a0c905
small fix to previous commit. Solves https://github.com/IfcOpenShell/IfcOpenShell/commit/4b56b341243d6b0eed82e8533848b124e82e1344#commitcomment-141442796
2024-04-28 18:57:42 -05:00
Ryan Schultz
4b56b34124
Tweaked UI for Linked Aggregates https://imgur.com/a/rExISKO
2024-04-28 10:34:52 -05:00
Ryan Schultz
dcbd6a925d
small fix for #4361 . remove IfcProject for class iterator. See https://github.com/IfcOpenShell/IfcOpenShell/issues/4361#issuecomment-2081223615
2024-04-27 18:13:38 -05:00
Ryan Schultz
3848a21136
fix #4361 : Have the aggregate empty turn on too, if at least one object in the aggregate, is turned on as well
2024-04-27 11:31:39 -05:00
Andrej730
8af37cb4ec
Fix #4586 occurred after e14d96e6e
2024-04-27 12:03:56 +05:00
Ryan Schultz
44c28e9a4c
fix #4327 : reorder format as well
2024-04-26 20:48:59 -05:00
Ryan Schultz
677324927c
fix #4431 : prompt for name, when creating aggregate
2024-04-26 20:09:20 -05:00
Massimo Fabbro
d212344c54
Covering tool more user friendly UI ...
2024-04-26 17:19:28 +02:00
Massimo Fabbro
74da327803
Fix create space from cursor bug where spaces were created always in zero elevation
2024-04-26 17:19:28 +02:00
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