Dion Moult
5ea1c94822
Expose all previous calculation functions in new Qto UI
2024-05-29 19:29:48 +10:00
Andrej730
ab1bf7592e
fix error exporting schedule of rates #4723
...
Issue occurred when cost item would have no quantities but had controlled objects with quantities.
1) just added a check to ensure that cost_item.CostQuantities are present
2) removed possible None return value in get_cost_item_quantity as it actually will break process_cost_data and it's never used anywhere else
3) has_changed_name was unused
4) fix possible similar issue in cost.data (though _get_object_quantities method is unused)
2024-05-29 11:49:27 +05:00
Dion Moult
f4247c3527
Continue purging tools that were specific to base qtos
...
Base qtos shouldn't be too special, it should be based off a calculation mapping. This means we can also support IFC2X3 better (which has no base qtos)
2024-05-29 15:56:50 +10:00
Dion Moult
8c3d10a2bd
Reimplement manual qty calculator using autodetected calculator functions and redo qto UI
2024-05-29 15:14:11 +10:00
Dion Moult
1bda47f76e
Migrate calculator to qto module and mapper to Ifc5D.
2024-05-29 12:45:09 +10:00
Dion Moult
9001aa6383
Purge calculate quantities operator - to be replaced with new ifc5d qto tool
...
The calculate quantities operator assumes a single mapper, not a configurable calculator.
2024-05-29 12:39:05 +10:00
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.
blenderbim-240529
2024-05-29 11:19:33 +10:00
Dion Moult
c0b86ea016
Fix incorrect colours in Basic FM template
2024-05-29 08:51:27 +10:00
Dion Moult
6806eb0a05
Create blank ifc4 qto base quantities ruleset
2024-05-29 08:41:43 +10:00
Andrej730
ce26d931c1
regenerate ifc4x3 pset templates after the release
...
Change log
Different props in pset 'Pset_BuildingCommon':
- new props: ElevationOfTerrain, ElevationOfRefHeight
New template 'Pset_DoorLiningProperties' with props: LiningDepth, LiningThickness, ThresholdDepth, ThresholdThickness, TransomThickness, TransomOffset, LiningOffset, ThresholdOffset, CasingThickness, CasingDepth, LiningToPanelOffsetX, LiningToPanelOffsetY
New template 'Pset_DoorPanelProperties' with props: PanelDepth, PanelOperation, PanelWidth, PanelPosition
New template 'Pset_PermeableCoveringProperties' with props: OperationType, PanelPosition, FrameDepth, FrameThickness
Different props in pset 'Pset_Stationing':
- new props: HasIncreasingStation
New template 'Pset_WindowLiningProperties' with props: LiningDepth, LiningThickness, TransomThickness, MullionThickness, FirstTransomOffset, SecondTransomOffset, FirstMullionOffset, SecondMullionOffset, LiningOffset, LiningToPanelOffsetX, LiningToPanelOffsetY
New template 'Pset_WindowPanelProperties' with props: OperationType, PanelPosition, FrameDepth, FrameThickness
2024-05-28 18:01:33 +05:00
Andrej730
eeaa0a5530
Fill IfcPropertySetTemplate.TemplateType in ifc2x3 pset templates
2024-05-28 18:00:22 +05: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
Dion Moult
5159e2daee
Initial attempt at a qto module in Ifc5D
...
This is a more flexible, non-Blender approach to doing QTO which allows:
- Doing QTO without Blender
- Doing QTO using query filters
- Using config files for QTOs
- Choosing your calculation engine, either built-in or creating your own
2024-05-28 17:32:51 +10:00
Dion Moult
54951d2102
Add convenience max/min functions for xyz and side_area shape calculations
blenderbim-240528
2024-05-28 17:30:01 +10:00
Dion Moult
8403c32e76
Adjust selector's behaviour to use the elements argument as a filtering subset
...
This was always the original intention, but never worked as designed. This is so that you don't need to filter the entire file (which can be huge).
2024-05-28 17:30:01 +10:00
ppaawweeuu
316934de97
Update selector_syntax.rst - small formating change ( #4752 )
...
typing
2024-05-28 09:43:51 +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
02fd78df14
datetime2ifc to support None values as it was before ebd03e9 #4734
2024-05-27 17:34:28 +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
fcf07bebfb
Minor doc fix for IfcPatch ConvertLengthUnit
...
Helps indicate how to get the patched model - it's not an inplace patch
2024-05-27 17:30:17 +10: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
bdfd0c4aa7
Minor fix to IfcCityJSON and migrate IfcCityJSON docs to sphinx
2024-05-27 12:24:55 +10:00
Dion Moult
37b14f2a3d
Document difference between COBie 2.4 and COBie 2.4 Legacy in IfcFM
2024-05-27 11:59:25 +10:00
Dion Moult
70a4af2605
Fix #4740 . Bug where building element proxies didn't work for the auto calculate all button.
blenderbim-240527
2024-05-27 11:02:23 +10:00
Dion Moult
7142f3856c
Add documentation for some unit utilities
2024-05-27 09:42:28 +10:00
Ryan Schultz
f2ca030fab
fix #4311 : turn off local view when activating drawing
2024-05-26 18:27:44 -05:00
Dion Moult
37cacfcd06
Fix #4728 . Bug where changing class doesn't work with IfcCSV if it didn't need to change anything.
2024-05-26 21:57:23 +10:00
ppaawweeuu
3e31309384
Update selector_syntax.rst - links to regex resources ( #4741 )
...
* Update selector_syntax.rst
add links to regex resources
* Update selector_syntax.rst
links misspelling change
* Update selector_syntax.rst
one misspealling more
* Update selector_syntax.rst
small misspelling in thousands separator location
2024-05-26 20:14:41 +10: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.
blenderbim-240526
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