Andrej730
fdbe74a432
maintain snake in api calls
...
there were only two methods using camel case for arguments
2024-05-15 17:18:34 +05:00
Andrej730
bb8e84e5ec
typing
2024-05-15 17:18:33 +05:00
Andrej730
2fa30be0d0
small optimization for da1bdc802
...
On large projects predict dense mesh stage can take 20s+ and reusing attribute value can save up to half of this time.
Using indices also helps but it's not that significant and sometimes it's the same time as using attribute names.
2024-05-14 18:19:13 +05:00
Bruno Perdigão
c50149ad87
added 'product' parameter to a few usages of 'pset.remove_pset' after ebd03e9
2024-05-14 17:48:05 +05:00
Dion Moult
da1bdc802d
Accommodate invalid models coming from Cadwork
2024-05-14 16:16:18 +10:00
Andrej730
865dbab3ec
fix error removing array pset after c50d1ea2f
2024-05-13 18:01:17 +05:00
Gorgious56
3320accc7a
The error box is now drawn in red to draw attention to it
2024-05-13 12:00:01 +02:00
Gorgious56
ac686db298
Prevent error when user deletes all spatial structure elements and the spatial manager panel is expanded
2024-05-13 11:57:48 +02:00
Dion Moult
aca26c7597
Fix #4659 .
2024-05-12 17:16:50 +10:00
Dion Moult
55026ca996
Fix #4616 . You can now create a new representation based off any other object. This makes it easy to custom model whatever you want as a starting point.
2024-05-11 22:29:39 +10:00
Dion Moult
3fa573e3c1
Fix #4615 . Report to user if they are attempting to create an incompatible context-representation combination.
2024-05-11 20:48:38 +10:00
Dion Moult
00ae6809a9
See #4657 . Fallback to copying cache if moving cache fails due to permission error.
2024-05-11 19:59:39 +10:00
Dion Moult
c3fbb11093
See #4657 . Restrict annotation psets to their particular predefined type.
2024-05-11 19:38:22 +10:00
Kurt Battisti
a0d27c3f1c
Make Whole status UI message clearer ( #4658 )
...
Replace UI text "No Aggregate" with "No Whole relation defined" to avoid misinterpretation when instance is a whole with parts.
2024-05-11 19:04:35 +10:00
Dion Moult
94e5baf48a
Fix #4647 . Better error reporting if the user tries to activate a drawing that isn't available.
2024-05-11 19:01:21 +10:00
Dion Moult
cd2570cdbb
Fix #4649 . Bug where editing property set template enumerations didn't clean up properly.
2024-05-11 15:18:18 +10:00
Dion Moult
e7eb00eaa3
See #4652 . Fix bug where auto-detection of a false origin could be incorrect
...
We were incorrectly multiplying a shape matrix in SI units with a vertex in project units. We also didn't do a final check whether or not that final resultant coordinate was far away or not (for example, origin and vertex can cancel each other out)
2024-05-10 23:28:37 +10:00
Dion Moult
cd6eac3c8f
See #4652 . Fix bug where using create_mesh won't work if you pass it a triangulation.
2024-05-10 22:39:56 +10:00
Dion Moult
57b905862a
Fix #4650 . When the bbim build hotfixes the bot build, it should replace, not copy over.
2024-05-10 18:20:41 +10:00
Dion Moult
4c8f93d737
Add error catching to model loading and let users hide error dialog
2024-05-09 16:33:05 +10:00
Dion Moult
2789bc565a
Write troubleshooting documentation
2024-05-09 16:21:24 +10:00
Dion Moult
a1e0b8858e
Track last actions and friendlier error reporting when something breaks
2024-05-09 13:37:57 +10:00
Andrej730
cbf04546b8
fix many implicit ifcopenshell.guid imports
...
a bit related to 10d30b0de
2024-05-08 18:18:02 +05:00
Dion Moult
37c0084874
Friendlier error reporting if bbim fails to install
2024-05-08 22:26:54 +10:00
Andrej730
875afd69d5
skip objects without placements importing containers
...
It seems that IFC doesn't specify that IfcRelAggregates.RelatedObjects should necessary have a placement. E.g. FreeCAD is using IfcGroups in RelatedObjects to store hierarchy in IFC.
Example - https://community.osarch.org/discussion/2144/object-information-spatial-container
2024-05-08 13:47:11 +05:00
Andrej730
67f4ed00d0
fix couple silent bugs importing containers
...
1) we were setting OwnerHistory to the "elevation" attribute of SpatialElement (in BIMSpatialProperties.containers)
2) we were setting "elevation" attribute at all when SpatialElement doesn't have "elevation" attribute
Though those bugs were silent since PropertyGroup doesn't alarm when we add a completely new attribute to it.
2024-05-08 13:47:11 +05:00
Dion Moult
984b1212a6
Whoops
2024-05-08 09:45:12 +10:00
Andrej730
bc72c927c1
replace deprecated api call
...
noticed fixing #4632
2024-05-07 21:41:01 +05:00
Ryan Schultz
c5b4513f65
fix #4622 - can now reassign IfcWindowStyle and IfcDoorStyle
2024-05-07 09:46:55 -05:00
Dion Moult
93639e9e50
Even more cleaning of documentation references
2024-05-07 19:08:13 +10:00
Dion Moult
26434f0331
Fix #4589 . Symlink entire ifcopenshell dir for dev setups.
2024-05-07 15:51:48 +10:00
Dion Moult
f6c2e2c20d
Fix #4530 . Fix various styling issues on docs.
2024-05-07 15:44:06 +10:00
Andrej730
28d205b4a3
show info message on saving/loading csv from bbim
2024-05-06 18:56:20 +05:00
Andrej730
31d322a28c
descriptions for operators removing classifications/contexts #4614
2024-05-06 17:29:30 +05:00
Andrej730
3b90086109
Fix loading search queries with exclusion #4609
...
It was failing to load queries like "!IfcWall" or "!2Mg7PHubX0xxOfF0DdA9Wd"
2024-05-06 17:06:10 +05:00
Gorgious56
30b870b98d
Fix #4617 : Switching representation in edit mode is no longer possible
2024-05-06 13:20:33 +02:00
Andrej730
8f7f6223de
unlink pasted blender objects if there is no active ifc file #4619
2024-05-06 15:03:27 +05:00
Ryan Schultz
10f894e2ea
Find the "Types" Collection regardless of the IfcProject.Name
2024-05-05 20:46:07 -05:00
Ryan Schultz
34bbc8f1ea
for 'Add Fitting' changed the hot key from Shift+F to Shift+Y. per https://community.osarch.org/discussion/2124/ui-discussion-around-add-fitting-and-add-bend
...
Also added Shift+F (bim.flip_object) to all profile-based objects
2024-05-05 19:20:13 -05:00
Ryan Schultz
d694d8fcc2
fix #4610 : bim.select_type() from type launcher throws error
2024-05-05 13:16:30 -05:00
Andrej730
9f2df7fb9d
preview external shading style as material is selected from other .blend file
...
previously it required to save external style attributes to preview the changes, now it's couple clicks saved if you want to preview different blender materials for your styles
2024-05-03 17:55:30 +05:00
Andrej730
9e5c3ff675
fix bug appending blender material when style.Location isn't .blend
...
it wasn't considering that .Location could be either None or not a .blend file and was failing in those cases
2024-05-03 17:38:04 +05:00
Andrej730
a67108e6c1
Reload current shading style after editing it #4567
...
Examples:
1) active shading type = EXTERNAL, now after changing it's SHADING attributes and accepting the changes, it will reload EXTERNAL shading back since it's the one that's active.
2) active shading type = SHADING, after adding EXTERNAL shader will reload SHADING style to the material.
2024-05-03 17:36:14 +05:00
Andrej730
b1706f2eac
fix error launching type manager in empty project
2024-05-03 16:28:10 +05:00
Andrej730
ac29e152bb
project.unassign_declaration - support batching #4474
2024-05-03 16:28:10 +05:00
Andrej730
de690a385c
project.assign_declaration - support batching #4474
2024-05-03 16:28:10 +05:00
Andrej730
92426a640a
bim.active_model not to unhide all types and drawings elements
2024-05-03 16:23:55 +05:00
Andrej730
93f8638a94
Use active camera drawing id for bim.create_drawing #4581
...
There was inconsistency between .poll and .execute on what use as active drawing.
2024-05-03 16:23:55 +05:00
Andrej730
16b0b1c3a5
Fix UI error #4575
2024-05-03 15:43:42 +05:00
Dion Moult
25fff3fdd0
Consolidate duplicate operators "Convert to Blender file" and "Purge IFC Links"
2024-05-03 17:02:05 +10:00