Ryan Schultz
097c5cee3c
fix #3802 - Copy array attributes from another array. Big thank you to @brunoperdigao, for the help!
2024-05-28 21:17:23 -05:00
Dion Moult
9d789425ce
Purge guess quantity feature. It will be reintroduced as a separate tool.
2024-05-29 11:19:33 +10:00
Dion Moult
6806eb0a05
Create blank ifc4 qto base quantities ruleset
2024-05-29 08:41:43 +10:00
Andrej730
a09cb5dee4
typing
2024-05-28 18:00:21 +05:00
Andrej730
6035683492
sync get_base_qto after 70a4af2
2024-05-28 12:59:34 +05:00
Andrej730
f27dbacd28
prioritize qto base psets over other qto_ qsets after 70a4af2 #4740
...
1) e.g. in ifc4x3 previously for IfcWall it would prioritize Qto_BodyGeometryValidation over Qto_WallBaseQuantities
2) It would also prioritize general Qto_BodyGeometryValidation over Qto_BuildingElementProxyQuantities.
3) removed "Qto_" check as we do qto_only in get_applicable_names
2024-05-28 12:59:34 +05:00
Andrej730
8817a7e6d5
qtocalculator to support backported EQto_BodyGeometryValidation
2024-05-28 12:59:34 +05:00
Dion Moult
80c4c13998
Basic prototype of new Ifc5D QTO tool in Blender.
2024-05-28 17:33:58 +10:00
Andrej730
dd48fbcb0f
remove dead code core.sequence.highlight_product_related_task
...
It's deprecated after UI changes in de3dfcd
2024-05-27 17:58:45 +05:00
Andrej730
54978a9868
bim.load_product_related_tasks - show info message when finished
...
to make ui a bit more responsive
2024-05-27 17:58:45 +05:00
Andrej730
ed1202e1f2
limit quantity types for each resource based on IFC documentation
...
documentation - https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/lexical/IfcConstructionResource.htm#Table-7.3.3.7.1.3.H
e.g. - https://i.imgur.com/PklMyfq.png (previously all quantity types were available for all resources)
2024-05-27 17:30:51 +05:00
Andrej730
d9de967197
specify editing_resource_type values for clarity
2024-05-27 17:30:51 +05:00
Dirk Olbrich
e57076c84f
[BBIM] Add preference option for default startup workspace, remove ambiguous wording ( #4749 )
...
* [BlenderBIM] change ambiguous wording from preferences
* [BlenderBIM] add option for BIM as default workspace
* [BlenderBIM] revert variable name change
2024-05-27 22:19:02 +10:00
Andrej730
75e6495999
load and link ifc files by drag'n'drop 🥳
...
Example - https://imgur.com/a/kIiqk3R
Now you can drag'n'drop files to Blender and they will get loaded as projects (currently there is no safe check whether current project is saved) or you can hold ALT while drag'n'dropping and link single or multiple IFC files.
Actually, it's possible to set it up that way so multiple files won't need ALT modifier (as we can't load multiple projects, only link them) but I've kept ALT modifier for that case too to avoid confusing situations.
Blender 4.1+ only as there wasn't bpy.types.FileHandler before.
2024-05-27 16:16:57 +05:00
Dion Moult
f190ddcd92
Move all N panels back into the scene tabs. No more panels spread around!
...
Qto, 4D tools, 5D tools now in the Costing/Scheduling tab. The misc panel is now in the sandbox. Git history panel is now with the main Git panel.
2024-05-27 17:29:51 +10:00
Dion Moult
39a841fb4e
Fix #3174 . Toggling edit mode no longer pops up annoying "do you want to save" dialog.
...
The default is now everything is saved which should be 90% of the usecase. If you want to discard changes, there is now a button in the top right next to the IFC mode.
2024-05-27 13:09:47 +10:00
Dion Moult
70a4af2605
Fix #4740 . Bug where building element proxies didn't work for the auto calculate all button.
2024-05-27 11:02:23 +10:00
Ryan Schultz
f2ca030fab
fix #4311 : turn off local view when activating drawing
2024-05-26 18:27:44 -05:00
Dion Moult
a19b7614fa
Fix #4737 . Bug where loading profiles with a non-mesh selected would lead to trouble.
2024-05-26 20:12:12 +10:00
Dion Moult
763ee9198d
See #3847 . Preliminary support for including linked models when generating drawings.
2024-05-26 18:29:26 +10:00
Dion Moult
9ec8035a8d
Add support for manual classification references for materials
2024-05-26 17:10:27 +10:00
Dion Moult
687bb32e37
Move material classification into scene tab. No more panels in the material tab!
2024-05-26 16:33:53 +10:00
Sigma Dimensions (Yass)
4279b769aa
fix bcf viewpoint setup
2024-05-26 03:44:35 +01:00
Dion Moult
9a59b8cdae
Material psets now include category-specific psets and docstrings
...
Previously it was not possible to get concrete / steel material psets. Yikes!
2024-05-26 11:23:08 +10:00
Dion Moult
b9b0e81d25
Move object materials panels further up and profile panel down
...
Object materials panel is much more important and shouldn't be below the material manager.
2024-05-26 10:04:17 +10:00
Dion Moult
80d31b4e1a
Move material psets to material manager.
2024-05-26 09:59:01 +10:00
Ryan Schultz
dac9bfe3d4
Add backticks to copied error message
2024-05-25 10:37:52 -05:00
Ryan Schultz
58a7ef62d7
fix #4729 : add a description and category when creating a new material
2024-05-25 09:49:15 -05:00
Dion Moult
d2198568b2
Deprecate old style panel in the material tab and port over "unlink" operator.
...
All the functionality is now possible with the style manager and prevents the user needing to know how Blender materials work or wrangle nodes themselves and magically have to comply with the glTF spec.
2024-05-25 23:30:18 +10:00
Dion Moult
b087aa09d9
Deprecate old material panel in the material tab and reimplement material duplication in the material manager
...
The material duplication now 1) actually creates a new blender material 2) uses the API to duplicate. One less panel outside our scene tab.
2024-05-25 15:15:12 +10:00
Dion Moult
2f071bd809
Material total now shows the total of the select material class, not all material classes
...
This is more meaningful. Often the presence of sets will inflate the number artificially.
2024-05-25 14:11:48 +10:00
Andrej730
7a44f9e8a7
different columns for different cost schedules #4724
...
though columns are still stored in .blend file and not in .ifc
Example - https://imgur.com/a/N6epGZ4
2024-05-24 19:15:51 +05:00
Andrej730
59a19a1a70
disable adding cost schedule columns with an empty name
...
example - https://i.imgur.com/5lGdI2X.png
2024-05-24 19:15:51 +05:00
Andrej730
6a8b59f2cf
remove unused code
...
1) core.enable_editing_task was outdated, tool.enable_editing_task doesn't exist
2) tool.get_task_outputs was duplicated
2024-05-24 19:15:51 +05:00
Andrej730
ec28d3d0af
black format
2024-05-24 19:15:51 +05:00
Andrej730
f576aadee1
typing
2024-05-24 19:15:51 +05:00
Andrej730
64ea455c01
move update_simple_openings to tool.Model
2024-05-24 16:52:33 +05:00
Andrej730
cf635986a6
same openings generator for non-/parametric doors/windows #4710
2024-05-24 16:51:37 +05:00
Andrej730
ac8040008a
small refactor
2024-05-24 16:51:37 +05:00
Andrej730
df15a37127
fix core.root.assign_class error after 3884403 #4719
2024-05-24 15:22:55 +05:00
Andrej730
6d887d593e
fix issues running core tests after 37c008487
2024-05-24 15:20:12 +05:00
Andrej730
fa87092fe0
Keep 1.2m minimum opening thickness instead of using wall thickness
...
That way there will be a workaround if the wall is 0.6m+ meters thick but won't have an issue when you first added a window to a thin wall and it's opening later won't work for the thicker walls.
Mentioned in #4710
2024-05-24 12:10:40 +05:00
Andrej730
1a4e4678d0
assign/unassign resource operators tooltips
...
also removed couple unused properties
2024-05-23 18:45:31 +05:00
Andrej730
c70745826a
rename bim.export_ifc to bim.save_project (similar to bim.load_project)
...
note that old name "export_ifc.bim" is still available (cacb38a25 ) though deprecated
2024-05-23 18:45:30 +05:00
Andrej730
291bffca95
add tooltip for cost schedule columns
...
example - https://i.imgur.com/Uh8D7Vg.png
2024-05-23 18:45:30 +05:00
Andrej730
e4aa97091e
fix bug removing cost schedule columns
...
it was using _execute though it's not an ifc operator
2024-05-23 18:45:30 +05:00
Andrej730
b4f0a346c1
fix couple broken properties definitions
...
There was no errors but Blender seems to ignore the provided name if it was provided as a positional argument instead of a keyword argument.
2024-05-23 18:45:30 +05:00
Andrej730
073e471305
typing
2024-05-23 18:45:30 +05:00
Andrej730
4d9f47b3a7
make it more clear that bim.export_cost_schedules is expecting a folder
...
1) add folder filter
2) remove filepath property - that way only directories will be selectable in the file dialog.
2024-05-23 18:31:59 +05:00
Andrej730
96088c1d08
fix ui error in 40e4949
...
bim.add_manual_classification_reference operator doesn't have a "type" property, only "obj_type"
2024-05-23 18:31:59 +05:00