Dion Moult
2c4a0669ed
Fix bug where copying to container might get the wrong coordinates if containers weren't synced.
2023-02-26 22:31:21 +11:00
Dion Moult
ee451b6b29
Experimental operator to generate hipped roofs from a footprint.
2023-02-26 21:23:35 +11:00
Dion Moult
7b858fffb2
All generated drawing text now has classes so you can customise their style.
2023-02-26 21:22:43 +11:00
Dion Moult
6ce0deeb63
Fix #2808 . Bug where you couldn't assign element types in IFC4X3.
blenderbim-230226
2023-02-26 11:26:13 +11:00
Dion Moult
96b2eaeae4
Experimental operator to generate spaces bounded by walls.
2023-02-25 21:40:02 +11:00
Andrej730
8fe8175a87
Monolithic stair variant generator
blenderbim-230225
2023-02-25 10:40:27 +05:00
Andrej730
ee2bedfb64
Update openings position based on fillings position at wall regenarete
...
So basically now when you move windows or doors attached to the wall, their openings positions will also be updated if you hit "regenerate" for the wall.
2023-02-24 17:12:41 +05:00
Andrej730
aa8da74ed8
ifc2x3 pset library name fix + copyrights
2023-02-24 11:07:33 +05:00
Dion Moult
f2c03a508f
Fix #2600 . Link back to exact docs folder in repo.
2023-02-24 16:21:21 +11:00
Dion Moult
aa172488b0
Fix #2594 . Document potential lag in PyPI releases of C++ core.
2023-02-24 13:35:46 +11:00
Dion Moult
ae09adf854
Fix #2424 . Bug where indirect assets (e.g. importing a type using a material) with relationships had their relationships duplicated
blenderbim-230224
2023-02-24 13:01:26 +11:00
Andrej730
5b5dd73684
get_inverse_attributes - added more correct recursive unpacking for aggregates and selections
...
Not affected the result schemas though
2023-02-23 18:56:24 +05:00
Andrej730
3849a87adc
Added simple tests for door and window modifier
...
This thing used to result in errors before we fixed `replace_object_ifc_representation`
2023-02-23 18:38:20 +05:00
Andrej730
708dc6aca2
IFC4X3/IFC2X3 pset templates library
...
Generated from xmls from the ISO release of IFC4X3.
Based on https://standards.buildingsmart.org/IFC/RELEASE/IFC4/ADD2_TC1/HTML/annex/annex-a/general-usage/IFC4_ADD2.ifc
Also generated pset templates library for IFC2X3 (also based on similar xmls) but IFC2X3 ifc pset library is using... IFC4X3 schema because IfcPropertySetTemplate and IfcRelDeclares are not available in IFC2X3. Which is okay for our purposes for now.
Will need to update IFC4X3 library if one of the issues will be resolved:
https://github.com/buildingSMART/IFC4.3.x-development/issues/587
https://github.com/buildingSMART/IFC4.3.x-development/issues/586
2023-02-23 18:17:14 +05:00
Dion Moult
2fe2c349fd
Fix #2743 . obj2ifc scripts updated to support multiple OBJ files.
2023-02-23 22:17:34 +11:00
Dion Moult
d396d32a8f
You can now extend beams to walls.
2023-02-23 18:33:31 +11:00
Dion Moult
1fd02755f8
Fix BCF module bugs where certain BCF entities were assumed to exist.
2023-02-23 18:32:44 +11:00
Dion Moult
79d92b511b
Fix #2442 . Fix bug where viewboxes were not clipped when compiling drawing sheets.
blenderbim-230223
2023-02-23 13:16:33 +11:00
Andrej730
ff7d93e66c
Undo tests - proof of concept
...
Created some simple undo tests.
This "flip wall and ctrl-z" test actually is crashing blender if I do it manually - so I guess undo in background mode is still kind of different.
2023-02-22 20:24:43 +05:00
Dion Moult
68a8c7a235
Add basic integration tests for modeling slabs and beams
2023-02-22 21:50:12 +11:00
Dion Moult
5e744ff7d1
Add integration tests for basic wall modeling features
2023-02-22 20:38:02 +11:00
Dion Moult
921a185ffa
Fix bug where natively loaded faceted breps didn't respect false origins.
2023-02-22 16:32:32 +11:00
Dion Moult
855751f026
Fix #2767 . Removing representations now cleans up after orphaned Blender mesh data.
blenderbim-230222
2023-02-22 16:24:24 +11:00
Sigma Dimensions
255c2efe98
Fix sequence data loading for unnamed items, ref #2783
2023-02-21 22:55:44 +01:00
Sigma Dimensions
892b282054
Fix loading task properties when calendar doesn't have a name, ref issue #2783
2023-02-21 20:23:07 +01:00
Dion Moult
26efc6b4e7
Fix bug where BIM tool hotkeys could activate operations without being in a correct state.
2023-02-21 21:54:53 +11:00
Dion Moult
a0618c5827
Fix #2769 . Bug where parametric UI was hardcoded to only work for walls. Now works on any generic parametric vertical layers.
2023-02-21 21:41:52 +11:00
Andrej730
d4bbb6e2c7
Added Model/Profile/Elevation_VIEW context as default for new projects #2784
...
Default Model/Profile/Elevation_VIEW context could be helpful to make openings created with BIM tool more correct.
2023-02-21 11:46:05 +05:00
Andrej730
66b7692227
Fixed windows/openings bugs
...
1) Window bug (#2792 ) - lining_offset wasn't converted from ifc units during window properties editing
2) Openings bug - OveallWidth/OverallHeight based openings was converted to ifc units even though their dimensions were already in ifc units.
2023-02-21 11:20:36 +05:00
Dion Moult
2429f507ad
Fix #2785 . Fix bug where invalid models from Revit that reused material usages could create invalid models.
2023-02-21 13:48:24 +11:00
Dion Moult
03a66d2806
Fix #2787 . Fix creating invalid orphaned property and group relationships when removing systems / groups / elements.
blenderbim-230221
2023-02-21 10:59:47 +11:00
Dion Moult
9d8551cb48
Demo library now has profile names to follow native IFC best practices
2023-02-21 10:14:06 +11:00
Dion Moult
2ca0b52c6a
Fix failing test when editing a material profile with an unnamed profile
2023-02-21 09:51:30 +11:00
Massimo Fabbro
9cc754488b
calculate all quantities smoke test
2023-02-21 09:12:30 +11:00
Massimo Fabbro
f81ceb53cf
add qto feature test
2023-02-21 09:12:30 +11:00
Dion Moult
d1d0b5724d
Revert "Solving test fail - keeping unnamed profiles when updating profiles in MaterialsData"
...
This reverts commit 0e1689c2d9 .
2023-02-21 08:51:44 +11:00
Sigma Dimensions
40560b71c2
BBIM: fix material errors, and add smoke tests
2023-02-20 17:49:54 +01:00
Andrej730
378a25bbaa
Added some .feature convenience debug fixtures
2023-02-20 19:57:05 +05:00
Andrej730
1dfabe2591
Fixed issue with float vectors assertion during tests
...
`sequence.feature` - Added `[:]` to make errors more readable values in errors (for example, (0.20000000298023224, 0.20000000298023224, 0.20000000298023224, 1.0) instead of `<bpy_float[4], Object.color>`
`test_feature.py` - fixed `FAILED test/bim/test_feature.py::test_animate_the_consumption_of_a_wall - AssertionError: Value is <bpy_float[4], Object.color>`
Test was failing because of float garbage in object.color (the comparison was (0.20000000298023224, 0.20000000298023224, 0.20000000298023224, 1.0) <> [0.2, 0.2, 0.2, 1] )
After that fix all tests now are passed 🥲
2023-02-20 19:53:16 +05:00
Andrej730
0e1689c2d9
Solving test fail - keeping unnamed profiles when updating profiles in MaterialsData
...
Solves test_enable_editing_material_set_item test error
```
FAILED test/bim/test_feature.py::test_enable_editing_material_set_item - RuntimeError: Error: Python: Traceback (most recent call last).
RuntimeError: Error: Python: Traceback (most recent call last):
File "\blenderbim\bim\module\material\operator.py", line 587, in execute
self.mprops.profiles = str(material_set_item.Profile.id())
TypeError: bpy_struct: item.attr = val: enum "107" not found in ('79', '98')
Location: C:\software\Steam\steamapps\common\Blender\3.4\scripts\modules\bpy\ops.py:113
```
The problem was `bim.enable_editing_material_set_item"` was trying to set `MaterialsData` profiles and wasn't able to set unnamed profile because `MaterialsData.profiles()` was discarding unnamed profiles (which is seems contradictory because `profiles()` is also handling unnamed profiles anyway).
2023-02-20 18:00:48 +05:00
Sigma Dimensions
bd071cc472
Add smoke test for editing material profiles
2023-02-20 11:08:15 +01:00
Dion Moult
dde847cb5a
IfcTester can now output reports in BCF
2023-02-20 17:50:36 +11:00
Dion Moult
3c17718f70
Fix bug where adding a BCF viewpoint didn't take into account project units
2023-02-20 17:50:36 +11:00
Andrej730
0445119e77
Shifting dimensions defined openings by min_x and min_z to prevent #2784
2023-02-20 11:22:02 +05:00
Dion Moult
e82cb5c149
IfcTester can now create reports in ODS format
2023-02-20 17:05:07 +11:00
Dion Moult
984548f315
IfcTester can now output reports in plain text
2023-02-20 17:04:38 +11:00
Dion Moult
a0be4f58e6
Fix #2780 . Fix bug where validation couldn't be run. pytest is now bundled.
blenderbim-230220
2023-02-20 11:26:09 +11:00
Dion Moult
147602e107
Fix bug where ifcopenshell express rule validator required a logger with set_state.
2023-02-20 11:26:09 +11:00
Andrea Ghensi
ac81169290
build(bcf): remove conda dependency
2023-02-20 07:26:34 +11:00
Dion Moult
1d78e05370
Fix #2774 . Bump IfcOpenShell.
blenderbim-230219
2023-02-19 21:53:49 +11:00