Andrej730
bebb29f486
ifc5d csv export - rename Description column to Name #5492
...
Because actually it is a name and this is the column name that csv2ifc expects.
2025-04-17 18:55:40 +05:00
Andrej730
deb6e3779e
ifc5d - refactor
2025-04-17 18:55:40 +05:00
Andrej730
9994fec571
ifc5d - fix bug exporting multiple csvs with the same name
2025-04-16 19:24:16 +05:00
Andrej730
b0aeabf2f6
ifc5d .csv cost schedule - save as unicode
...
Previously it was saved using Windows 1252 and importing it would fail with an error like so:
```
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 in position 650: invalid start byte
```
2025-04-16 19:24:16 +05:00
Andrej730
ddd7dff75e
ifc5d csv2ifc - autodetect schedule of rates by the header structure
2025-04-16 19:24:16 +05:00
Andrej730
7acd13cb82
ifc5d readme - mention format examples
2025-04-16 19:24:15 +05:00
Andrej730
6499ac41cf
ifc5d typing and refactor
...
no functional changes
2025-04-16 19:24:15 +05:00
Andrej730
29de264b43
ifc5d - remove Qto_BodyGeometryValidation from ifc4x3 base qtos ( 6c04669)
...
As it's not part of base quantities and it would be unexpected for user if some additional qto would start calculating for every IfcProduct.
2025-04-07 16:20:22 +05:00
Andrej730
f4714d2012
ifc5d - avoid overriding results from previous queries after f63d6b8
2025-04-07 16:20:21 +05:00
Andrej730
8bfdabab80
ifc5d IfcOpenShell.calculate - warn on missing formulas
2025-04-07 16:20:21 +05:00
Massimo Fabbro
05be0f69bd
Fix #6305
...
Fix wrong calculation with blender engine for IfcFooting
2025-03-26 22:30:56 +01:00
Massimo Fabbro
212da8b6d6
fix #6271
...
Fix wrong length calculation with Blender Engine for IfcDoor and IfcWindows
2025-03-23 07:40:04 +01:00
Andrej730
0abe6329d6
Quantification to consider Pset_ProfileMechanical.MassPerLength #6344
2025-03-17 18:31:58 +05:00
Andrej730
1d447e6e23
ifc5d.qto.IfcOpenshell - skip None values
...
Just for consistency, in all other cases besides get_segment_length we were only preserving floats anyway
2025-03-14 18:19:06 +05:00
Andrej730
4c53c2ab1f
ifc5d.qto.IfcOpenShell - get_weight function
...
Added support for it in .json for the same elements that support it in IFC4QtoBaseQuantitiesBlender
2025-03-14 18:19:06 +05:00
Andrej730
1de67ffd9c
ifc5d.qto - add x,y,z functions just for consistency with ifcopenshell calculator
2025-03-14 18:19:06 +05:00
Andrej730
1408beeac5
ifc5d.qto.Blender - functions descriptions
2025-03-14 18:19:05 +05:00
Andrej730
0e8810c1f5
typing
2025-03-14 18:19:02 +05:00
Andrej730
6c04669543
ifc5d - add ifc4x3 base quantities #6325
2025-03-13 18:43:19 +05:00
Andrej730
4eae112087
not real ifc4x3 quantities, just adding ifc4 quantities for diff
2025-03-13 18:43:18 +05:00
Dion Moult
d89957faab
Fix regression in 227f31574 which prevented quantifications
...
The key in the dictionary is not a class name, it's a query string to
allow for complex quantification rules.
2025-03-13 09:18:07 +11:00
Massimo Fabbro
566fe32ab2
Fix wrong wall legth qto calculation
2025-03-10 23:19:12 +11:00
Massimo Fabbro
b6b553e726
Fix #6271
...
Fix a bug about wrong net values qto calculation with IfcOpenshell
2025-03-09 22:48:08 +11:00
Andrej730
f63d6b80c5
quantitifaction - not to add empty qto if nothing was quantified
...
It already works that way for ifcopenshell quantitification, making it work the same for Blender quantifications.
Noticed in #6220
2025-02-25 18:28:48 +05:00
Andrej730
59dd105e99
fix get_applicable_entities / get_applicable_types missing schema #6108
2025-02-08 07:54:49 +11:00
Andrej730
227f315746
Support quantity take-off for element types
...
Previously it would ignore any element types and work only on occurrences though quantity sets do support product types in general.
2024-12-27 19:43:30 +05:00
Andrej730
d55a291589
get_top_area to calculate area for the roof #5899
2024-12-27 19:43:30 +05:00
Andrej730
19c1394d94
typing
2024-12-27 19:43:29 +05:00
Andrej730
a4aaf9b4c3
Add info message if some elements were skipped from quantification #5905
...
Example - https://i.imgur.com/DwklNFS.png
2024-12-26 18:27:55 +05:00
Andrej730
fac9444cfd
ifc5d - use utf-8 encoding for reading csv files #5561
...
Same encoding as we use in Ifc5DCsvWriter.
2024-10-14 17:37:28 +05:00
myoualid
455012de4c
cost web ui:
...
- add "Linked rate" column,
- assign a cost rate to multiple cost items by selecting linked rate cells & clicking the "assign" button on the chosen cost rate
#5369
2024-09-23 20:19:06 +01:00
Andrej730
65f9a745a3
black .
2024-09-23 19:33:27 +05:00
myoualid
9f542c30b3
cost module web ui:
...
- add setting options to hide/show columns
- Cost classification column
- New Cost Classification Form to display active classification library, add/delete classification references
2024-09-22 20:00:09 +01:00
Andrej730
d7adec3d54
black .
2024-09-20 22:03:19 +05:00
myoualid
e0e9892ff0
cost module web-ui:
...
- remove Blender operators in favor of ifc.api functions
- replace BonsaiBIM Data class dependency with new ifc5D2json script
- enable viewing multiple cost schedules
- add Identifaction column
ref #5369
2024-09-20 16:26:40 +01:00
Andrej730
a4f669e549
ifc5d.qto - some clarifications for arguments
2024-09-10 18:28:18 +05:00
Andrej730
ddf92ab8fb
typing
2024-09-10 18:28:02 +05:00
Andrej730
3860884db3
bonsai other ifcopenshell packages #5178
2024-08-14 16:49:34 +05:00
Andrej730
dafec70097
black format
2024-08-08 18:13:31 +05:00
Dion Moult
f9c4b6a98f
Improve QTO of segment lengths
...
Previous method uses bounding box which could be wrong if the app (Revit) doesn't extrude in +Z and has a slope (e.g. most pipes). Also Revit tends to use rectangle profiles not for the cross section, but instead for the footprint which is crazy.
2024-08-08 15:13:34 +10:00
Andrej730
159355d63a
typing
2024-07-31 19:00:32 +05:00
Dion Moult
0ecc3d3e2a
Share common makefile instructions, use venv for running build, and separate dist/build dirs
2024-07-18 23:43:12 +10:00
Dion Moult
71aa30a25f
Fix ifc5d packaging missing json mapping files
2024-07-18 20:24:17 +10:00
Dion Moult
b73da046ee
See #4964 . Forgot to commit qto function.
2024-07-02 18:59:13 +10:00
Dion Moult
dee936b2c3
Fix beam Qto length and add more Qto mappings
2024-06-27 14:32:56 +10:00
Dion Moult
2d5be6cf89
Search replace 0.7.0 with 0.8.0
2024-06-27 11:49:12 +10:00
Dion Moult
f740ca3cf1
Distribute Ifc5D on PyPI
2024-06-26 13:02:59 +10:00
Dion Moult
e670a7ca71
See #4826 . If a Qto calculator returns none, don't fail
...
There can be valid reasons for this, such as if the calculator realises it cannot compute a value (e.g. no mass density when calculating weight)
2024-06-26 12:03:08 +10:00
Dion Moult
cdce612566
Update all geom settings to new v0.8 syntax
2024-06-09 16:15:55 +10:00
Dion Moult
2ea3fe4ab9
Fix qto bug where cubic meter units are incorrectly converted.
2024-06-03 22:49:40 +10:00