Commit Graph

268 Commits

Author SHA1 Message Date
Andrej730 91c7fe4628 Fixed tests after selector syntax update 2024-04-16 11:04:29 +02:00
Andrej730 64f1ea9034 Fix tests after 808ff54 2024-04-16 11:04:29 +02:00
Massimo Fabbro fee390c7ed refactor create spaces from walls 2024-04-16 10:55:57 +02:00
Sigma Dimensions (Yass) 2575348c9d change tests due to new class assignment workflow ref commit 808ff54 2024-04-16 10:37:18 +02:00
Massimo Fabbro da8cd9daba Add new covering tool. Mock up and initial functions 2024-04-16 10:37:16 +02:00
Massimo Fabbro 4ed901204e Partial spatial tool refactor 2024-04-16 10:37:16 +02:00
Dion Moult 1fc4b921e6 Fix failing tests and optimise brick tests. 2024-04-16 10:25:02 +02:00
rileywong311 fe8e370b8c Fix brick.feature
For one particular, I removed "And I set 'scene.BIMRootProperties.new_brick_relation_type' to 'hasPart'". Although it should really be "https://brickschema.org/schema/Brick#hasPart" to begin with, it was still failing the test. So removing it as a work around.
2024-04-16 10:25:01 +02:00
Sigma Dimensions (Yass) b27262f81f Resource Features :
- Adding/removing and edit productivity data is now easier (+ cleaner UI)
- Pressing calculate schedule work on a parent resource will default to calculating its nested resources schedule work.
- Show derived Schedule Work for a parent resource
- Improve apperance of Resource Tree Structure
2024-04-16 10:25:01 +02:00
Andrej730 8856d513f4 test to make sure nothing happened to ifcsverchok 😅 2024-04-16 10:25:00 +02:00
rileywong311 7e5bcd4c49 Update Brick feature tests 2024-04-16 10:25:00 +02:00
Sigma Dimensions (Yass) a2078e8de7 Feature to constrain a resource work or number of used resources 2024-04-16 10:24:59 +02:00
Sigma Dimensions (Yass) cb1ab7ec20 Update tests for editing sequence relationships 2024-04-16 10:24:59 +02:00
Dion Moult ae0a341c95 Fix #3551. Project specific pset templates now show up in the pset template editor. 2024-04-16 10:24:58 +02:00
Andrej730 6f17846a87 Fix tests errors after 8689164
Error was AttributeError: module 'blenderbim.bim.handler' has no attribute 'setDefaultProperties'
2024-04-16 10:24:57 +02:00
Andrej730 69daaff3e1 misspelling 😅 2024-04-16 10:24:57 +02:00
Sigma Dimensions (Yass) f0032ec4cf Fix contracting/expanding cost schedule tree and add tests to avoid proof changes 2024-04-16 10:24:55 +02:00
Sigma Dimensions (Yass) f125032d46 Feature to add a camera to extents of the scene objects 2024-04-16 10:24:54 +02:00
Sigma Dimensions (Yass) a0768ff408 feature to clear previous 4D Animation (object keyframes & colors) 2024-04-16 10:24:54 +02:00
Sigma Dimensions (Yass) 73f81a9bd3 animation settings now use human readable durations to make it less confusing 2024-04-16 10:24:54 +02:00
Andrej730 c2320bb320 small add_constr_type_instance refactor
ifc_class removed as it was never used - ifc_class was always figured either from BIMModelProperties.relating_type_id or operator.relating_type_id
2024-04-16 10:10:50 +02:00
Gorgious56 7aab0ccfd7 Fix Ifc modifier error after #3393064 because of legacy context.object
For some reason in the scene properties context.object returns None even if an object is active  in the viewport, so ifc modifiers would randomly throw errors. AFAIK functionally they are supposed to point to the same thing, but active_object seems to be the superior one and context.object deprecated and kept for legacy reasons. Couldn't find dev quote but I'm sure I saw it at some point
2024-04-16 10:05:49 +02:00
Andrej730 5a5e1e9892 disable chaching sound running the bim tests
to save someone's ears (probably mine 😁) from running 10 chaching sounds per second
2024-04-15 13:30:40 +02:00
Andrej730 7f10eaa14f Fixed tests after a4a6dce 2024-04-15 13:03:00 +02:00
Andrej730 4d3ed81971 Fixed test after b035129 2024-04-15 13:03:00 +02:00
Andrej730 5e019bbc42 Fixed test after c8c0c9a
Taking into account that now we have error messages if user will try to remove the last material layer which would make layer set invalid ifc.

FAILED test/bim/test_feature.py::test_remove_material_set_layer - AssertionError: Failed to run operator bpy.ops.bim.remove_layer(layer=IfcStore.get_file().by_id(93).MaterialLayers[...
2024-04-15 13:03:00 +02:00
Andrej730 07401c4b1c Fixed void tests after d3d2c36 2024-04-15 13:03:00 +02:00
Andrej730 0f206fe709 Fixing test after 1c12a98
FAILED test/bim/test_feature.py::test_export_ifc__with_basic_contents_and_saving_as_a_relative_path - AssertionError: Value is C:\IfcOpenShell\src\blenderbim\test\files\temp\export.ifc
2024-04-15 13:03:00 +02:00
Andrej730 3a0d09a6dc Small fix related to 5c2ae98c0 and a bit more descriptive operator error
FAILED test/bim/test_feature.py::test_create_project__ifc2x3 - AssertionError: Failed to run operator bpy.ops.bim.create_project
2024-04-15 13:03:00 +02:00
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