Andrej730
5397b95df5
Fixing collections tests related to 99d9c0f5b
...
FAILED test/bim/test_feature.py::test_remove_drawing - AssertionError: The collection "IfcGroup/PLAN_VIEW" does not exist
2024-04-15 13:03:00 +02:00
Andrej730
f45e3b99ca
Fixed couple bugs in test_feature
...
1) Explicitly set empty ifc project not to load demo library - was still loading because it was using my default scene which caused errors.
2) typo in dimension check assertion message
2024-04-15 13:03:00 +02:00
Sigma Dimensions
2a791eef52
Run costing tests and rename changed methods
2024-04-15 10:34:41 +02:00
Dion Moult
4f15ec1f67
Fix regressions after making aggregate based on selected objects.
2024-04-15 10:34:41 +02:00
Andrej730
d2d6a9e7d4
Remove test to reproduce #3169 as irrelevant
2024-04-15 10:34:41 +02:00
Andrej730
0dfb34a730
Added test to cover 2629172ff
2024-04-15 10:34:41 +02:00
Dion Moult
43bfd51ccb
Fix #3181 .
2024-04-15 09:58:26 +02:00
Andrej730
a07d782683
Added test scenario to reproduce #3169
...
Can be easily called with `pytest .\test\bim\test_feature.py -k "issue"`
Commented some lines out to make sure it doesn't interrupt someone's test process.
Need to uncomment `When I press "bim.create_drawing"` if you want to see if it freezes for you.
You can also uncomment `And I save sample test files and open in blender` to see the freeze manually in Blender client.
2024-04-15 09:58:24 +02:00
Dion Moult
b8431a8c33
Fix failing tests in preparation for release.
2024-04-15 09:56:38 +02:00
Andrej730
499edf960d
Test command to load blend file during test scenario for debugging
2024-04-15 09:56:36 +02:00
Sigma Dimensions
55250aba6d
BBIM 4D features & fixes:
...
- feature to re-order tasks
- fixes for task sorting
- further workSchedule UI/UX improvements
- forgotten bits and bobs
2024-04-15 09:52:38 +02:00
Sigma Dimensions
83344e4f43
- BBIM 4D: features to review and edit Resource productivity data on the fly
...
- IOS: new resource utilitiy functions
2024-04-15 09:52:38 +02:00
Sigma Dimensions
dae8d6bdc1
fix "cost_item quantity updates" bug when editing a QTO
2024-04-15 09:37:50 +02:00
Dion Moult
fe8220f9a7
Add support for editing ref latitude/longitude
2024-04-15 09:37:49 +02:00
Dion Moult
0a22714fb8
See #2887 . Experimental edit mode toggle override to ensure mesh changes stay in sync and so that you can edit meshes without openings applied.
2023-03-23 21:51:06 +11:00
Dion Moult
2816d7f522
Fix bug where deleting the drawing object could lead to orphaned relationships
2023-03-19 18:15:09 +11:00
Dion Moult
558aff72a0
Psets and qtos are now only created when properties exist to prevent invalid IFCs.
2023-03-19 14:49:31 +11:00
Dion Moult
30c850e37d
Fix #2140 . Voids and fills can now be added, removed, and edited for non-geometric aggregates.
2023-03-12 12:52:30 +11:00
Dion Moult
0dad93bf00
See #2140 . You can now bulk unassign aggregates, and they are auto directly contained in any previous indirect containers.
2023-03-11 16:31:23 +11:00
Andrej730
da8e5dced1
Added test to check #2839
2023-03-06 18:36:29 +05:00
Dion Moult
7383f44f8f
See #2645 . Update tests to use overridden built-ins.
2023-03-03 18:22:47 +11:00
Andrej730
1fca38625f
A last bit of cleaning up temp files after tests
2023-03-02 10:45:00 +05:00
Andrej730
fb3023bb79
Moved blenderbim tests temporary files to separate directory
...
Moved temporary test files to separate directory and added it to gitignore
Still have test.exp.cache.dat spawning from `test_feature`...
2023-03-01 18:46:13 +05:00
Dion Moult
96271e8bd8
Users can no longer create orphaned opening elements, which are invalid.
2023-02-28 10:05:22 +11:00
Andrej730
f5b6fdcb5b
Batting Annotation pattern
...
Added batting pattern to line annotations.
The way to use it is:
1) Add "Line" Annotation;
2) Change object type to "BATTING"
3) Add object property set "Pset_BBIM_Bating" (also added in this commit) to specify the batting thickness.
Currently there is no preview for batting in viewport.
Other changes:
- EPset_Annotation.ifc -> Psets_BBIM_Annotation.ifc (more general psets ifc library for the future use)
2023-02-27 19:18:39 +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
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
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
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
Sigma Dimensions
bd071cc472
Add smoke test for editing material profiles
2023-02-20 11:08:15 +01:00
Sigma Dimensions
9dc69f3aa7
You can now export Cost Schedules as CSV, ODS, XSLX with BlenderBIM or using the cli app
2023-02-15 22:50:39 +01:00
Dion Moult
007d984baf
Fix #2274 . You can now purge unused types.
2023-02-13 15:20:56 +11:00
Sigma Dimensions
b04383bb64
Smoke test for duplicating tasks
2023-02-12 00:38:22 +01:00
Sigma Dimensions
05cf00bef6
Add smoke test for task product selection & minor fix
2023-02-11 23:24:52 +01:00
Dion Moult
ceaa930aad
Fix #2756 . Bug where reassigning classes with a enum didn't work.
2023-02-11 11:03:35 +11:00
Sigma Dimensions
693960a4ab
start refactoring costing operators into core & tool
2023-02-08 13:39:46 +01:00
Dion Moult
1279b9848f
Fix regression with editing material psets
2023-02-08 17:43:50 +11:00
Dion Moult
88bddb9531
See #2520 . You can now duplicate drawings.
2023-02-08 12:29:49 +11:00
Sigma Dimensions
3a71b03a9a
Fix sequence module test bugs
2023-02-06 12:04:03 +01:00
Dion Moult
38c6378315
See #1806 . New fillings inherit their voids from existing occurrences if possible.
2023-02-06 14:40:59 +11:00
Dion Moult
77234706b0
Assigning a profile set auto creates profiles if none exist to prevent invalid data.
2023-02-05 15:29:54 +11:00
Dion Moult
207093fe99
Fix regression where changing assigned types didn't update the materials.
2023-02-04 22:12:28 +11:00
Dion Moult
a7cc58fb50
Update libraries to use Plan/Body/PLAN_VIEW instead of annotations.
2023-02-04 14:09:35 +11:00
Dion Moult
a5adf0021f
Fix #2599 . Unassigning materials now also removes the Blender material.
2023-02-02 18:41:07 +11:00
Dion Moult
d69aa20802
Fix #2620 . You can now run patches from models in memory.
2023-02-01 19:29:35 +11:00