Andrej730
96d812eaba
Fixed console errors on checking modeling data
2023-07-13 13:03:18 +05:00
Dion Moult
0390a65590
Fix #3300 . Bug where it was impossible to delete normal Blender objects in the outliner when an IFC existed.
...
Also port over batch deletion to the outliner override.
2023-07-13 16:26:06 +10:00
Andrej730
ad4ab1567f
model data parameters renamed to pset_data for consitency
2023-07-13 11:08:52 +05:00
Andrej730
d633733d18
DoorData use refactor
2023-07-13 10:58:03 +05:00
Andrej730
cd1a813630
WindowData use refactor
2023-07-13 10:36:09 +05:00
Andrej730
c9e6da9b6c
change .is_editing type for ifc modifiers to boolean
2023-07-13 09:53:11 +05:00
Andrej730
cada2c36e3
RoofData use refactor
2023-07-13 09:48:33 +05:00
Dion Moult
33304eb1a5
Group drawings by target view in the drawing list
2023-07-13 14:13:28 +10:00
Bruno Perdigão
4e72ef8b20
Select all objects in array modifier #3331
2023-07-13 13:21:49 +10:00
Dion Moult
b9d8e86748
Fix #3411 . Filtering sheets now doesn't break sheet hierarchy and also lets you search for sheet identification, name, and names of drawings / titleblocks / things on sheets.
2023-07-13 11:53:08 +10:00
Dion Moult
3adfc63b65
Fix #3432 . Bug where null applicable occurrence of a type product caused the annotation tool to fail.
blenderbim-230713
2023-07-13 11:27:01 +10:00
Andrej730
91e7d49060
makefile fix
2023-07-12 18:34:48 +05:00
Andrej730
4ad1a2be73
minor change for RailingData
2023-07-12 17:46:56 +05:00
Andrej730
ef8f825012
bim.load_project to refresh session on execute not invoke
...
if you accidentally opened file dialog or just changed your mind it shouldn't remove all objects from the current blender session
2023-07-12 17:10:30 +05:00
Andrej730
56adfc70b5
RailingData use refactor, solves #3416
2023-07-12 17:01:51 +05:00
smr02
bc909a26fa
ifcsverchok delete api_WIP
2023-07-12 21:18:20 +10:00
Andrej730
dd0a015ec3
display current commit in status bar
...
it works for users who symlinked their blenderbim/bim folders to git repository or installed blenderbim from release created from makefile
https://i.imgur.com/mEBH9I7.png
2023-07-12 12:34:24 +05:00
Gorgious56
3813c26db7
Fix error when trying to edit an object that doesn't support edit mode with the TAB keypress
...
Also run black on the rest of the file
2023-07-12 09:28:21 +02:00
Dion Moult
95c06c7f82
Fix #3420 . Fix missing sheet references on drawings and incorrect direction of section references.
2023-07-12 17:17:54 +10:00
Andrej730
db910d4024
more consistency in values for plan-, section level and diameter
2023-07-12 11:47:19 +05:00
Andrej730
669dbd2e8d
radius annotation - support for prefix/suffix/fill-bg
...
and more consistency between viewport and svg
2023-07-12 11:47:18 +05:00
Andrej730
becbfccae9
PLAN/SECTION_LEVEL consistency between viewport and svg
...
before - https://i.imgur.com/bwYbozz.png
after - https://i.imgur.com/7BlmQIg.png
NOTE that if you're using markers.svg that was created before this update you won't see the changes for the section-/plan-level markers.
2023-07-12 11:47:18 +05:00
Andrej730
2f02d401f2
fill-bg for diameter, plan- and section-level annotations
2023-07-12 11:47:18 +05:00
Dion Moult
ec2ca4bcf4
Fix #3417 . Apply 50mm offset to camera to ensure text isn't "behind" the camera. This 50mm convention is used in quite a few places, we should standardise it.
2023-07-12 12:37:53 +10:00
Dion Moult
89df937f89
Fix #3425 . Fix invalid IFC data where grid axes should be 2D not 3D.
blenderbim-230712
2023-07-12 11:41:58 +10:00
Thomas Krijnen
7567971a32
Update entity_instance.py
2023-07-11 21:41:06 +02:00
Thomas Krijnen
74160731c9
Update rule_executor.py
2023-07-11 21:40:05 +02:00
Andrej730
5d7fefa042
Prevent resetting selected tab on blender restart
...
Not sure if there is any caveats to that
2023-07-11 18:23:26 +05:00
Dion Moult
db4c61a472
Fix #3407 . Override Ctrl-S to the export IFC which checks for Blender projects.
...
1. No IFC --> Saves Blend file
2. IFC, unsaved Blend --> Saves IFC
3. IFC, saved Blend --> Saves IFC and Blend
2023-07-11 23:08:05 +10:00
Andrej730
298568d3ea
PLAN_LEVEL annotations support for prefix, suffix #3399
...
Viewport - https://i.imgur.com/XRa3oJO.png
SVG - https://i.imgur.com/C8PjoiO.png
2023-07-11 17:04:58 +05:00
Dion Moult
4da7b355bf
Fix #3414 . Only clear default scene, not custom scene when loading / creating IFCs.
2023-07-11 21:45:34 +10:00
Andrej730
2a15743f8b
SECTION_LEVEL annotations support for prefix, suffix #3399
...
also added support for "show only description" for section_level
2023-07-11 16:42:07 +05:00
Andrej730
e54cc11ca6
Fixed #3400 introduced in dda16c8
2023-07-11 14:54:51 +05:00
Dion Moult
24fdfc6d82
Resolve merge conflict
2023-07-11 18:15:18 +10:00
Dion Moult
8689164769
Fix registration bug that created hundreds of workspaces due to continuous triggering of the depsgraph_update.
...
Use an is_registering check to only run the on_register once.
Rename setDefaultProperties to load_post to better reflect what handler it is.
Unregister our custom scene panels upon addon activation.
Move aprops getting to tool.Blender because it is a bit complex. Also, aprops may not be setup until load_post is called, so the len() check protects against that.
2023-07-11 18:08:02 +10:00
Gorgious56
86dd79daa6
Keep active object when unlinking an IFC element
...
Unlinking an element recreates a new blender object so the active object would be lost, jumping the properties to the scene panel which was slightly annoying
2023-07-11 09:33:06 +02:00
Andrej730
a231cc31e8
fixed properties search after 949a2bb and fixed console errors on search
...
1) When you search not from the SCENE properties blender creates some kind of phantom area to check search results. As this area is not present in `context.screen.areas` it was resulting in the error below.
2) After 949a2bb search in scene properties was limited to currently selected tab. Given the amount of tools we have in properties and native blender approach for searching across all available sections in properties, it seems reasonable to make search work across all tabs.
Console error was:
The error was
Python: Traceback (most recent call last):
File "\3.6\scripts\addons\blenderbim\bim\ui.py", line 281, in draw
aprops = context.screen.BIMAreaProperties[context.screen.areas[:].index(context.area)]
ValueError: bpy.data.screens['Layout.001']...Area is not in list
2023-07-11 11:00:20 +05:00
Dion Moult
e412d27398
Integrate brickschema undo system into BlenderBIM Add-on undo system wrapper
blenderbim-230711
2023-07-11 11:16:49 +10:00
Andrej730
60388f1a24
Fixed #3412
...
After 949a2bb printing happens not fron N-panel (which is part of viewport) but from scene properties - so current context doesn't have region_3d anymore.
PS The same issue was there all along if you'd try to print the drawing from Camera Properties tab.
2023-07-10 17:31:11 +05:00
Andrej730
d13d1493e3
allow to call select/color by attribute by providing arguments
...
instead of always checking scene.BIMSearchProperties. This allows to add different setups of selections to quick favorites
2023-07-10 17:17:12 +05:00
Dion Moult
556489d686
Implement Ctrl-Tab in properties to conveniently toggle between two tabs.
2023-07-10 22:04:10 +10:00
Dion Moult
657e77117c
Move built-in scene panels to a dedicated "Blender Properties" tab instead of unregistering permanently.
2023-07-10 22:04:10 +10:00
Andrej730
7d97f5e375
Library for US AISC15 Steel Profiles #3203
2023-07-10 16:36:07 +05:00
Gorgious56
7583b56738
Trying to edit a railing modifier path while modifying the parameters is now prevented and user is informed with a tooltip
2023-07-10 13:00:43 +02:00
Gorgious56
073a00b2ca
Fix IfcRailing modifier support spacing <= 0 would throw an error, and deactivate support spacing field if manual support is selected
2023-07-10 12:47:46 +02:00
Thomas Krijnen
8baa0945e9
2dc4bbf8cd Apply same logic for derived attributes
2023-07-10 10:26:37 +02:00
Dion Moult
717c28b7c9
Override Ctrl-N new file menu to make it easier to start new projects and new IFC icon.
2023-07-10 17:16:32 +10:00
Andrej730
f4a4e906ab
Using EPset_Drawing data instead of camera props on drawing print #3396
...
Previously if you change `HasUnderlay` in pset it caused errors because camera properties `has_underlay` wasn't updated.
Still some work need to be done for updating keep camera properties in sync with pset - probably we can should call something like `tool.Drawing.import_drawing()` on EPset_Drawing edit
2023-07-10 11:09:48 +05:00
Dion Moult
052ff71c51
See #3411 . Sheets are now sorted alphabetically by default.
2023-07-10 14:13:44 +10:00
Dion Moult
3dfd36877e
See #3016 . Scene shading styles are now stored as part of the drawing style.
2023-07-10 14:13:44 +10:00