Andrej730
b68a92f251
remove bim.assign_objects_base_qto from tests (removed in 8c3d10a)
2024-07-31 19:00:33 +05:00
Andrej730
902da2e720
remove bim.pie_update_container
...
as we no longer rely on collections for container assignment
2024-07-31 19:00:33 +05:00
Andrej730
133494af97
remove bimtester from bbim (related to 7157590)
2024-07-31 19:00:32 +05:00
Andrej730
64fc9462b6
fix bim attribute tests after 9122f00
2024-07-31 19:00:32 +05:00
Andrej730
3d86e5fff3
fix bim geometry tests after fccf56d
2024-07-31 19:00:32 +05:00
Andrej730
a24bb069aa
fix bim tests after changes in quantities calculations
2024-07-31 19:00:32 +05:00
Andrej730
c86a4c88a9
fix broken search test after 410fff6
2024-07-31 19:00:32 +05:00
Andrej730
139627b6ec
fix bim tests after b9f76042b
2024-07-30 20:46:16 +05:00
Andrej730
6f2eb0a116
fix bim tests after a156864
2024-07-30 20:46:16 +05:00
Andrej730
d26561acee
fix for bim style module test
2024-07-30 20:46:16 +05:00
Andrej730
52130a3eb6
fix materials / styles bim tests #4843
2024-07-29 18:53:12 +05:00
Andrej730
732bb93826
fix duplicated lines in 2575348
2024-07-29 18:53:11 +05:00
Blender Defender
4a311fe4de
fix: Remove the "ifc_patch_args" property ( #5095 )
...
* fix: Remove the "ifc_patch_args" property
This property has been removed, because patch recipes with arguments other than the boilerplate arguments automatically display these arguments as properties, and patch recipes that don't allow more arguments than the boilerplate arguments fail, if "ifc_patch_args" is not None or "[]". The test cases have been adjusted accordingly.
* style: run the black formatter to fix failing checks
2024-07-27 22:58:48 +10:00
Andrej730
ea8d303883
fix some test-bim errors in Blender 4.2
2024-07-26 21:23:39 +05:00
Dion Moult
1fef4c5857
Run black on BBIM
2024-07-26 12:19:21 +10:00
Dion Moult
0dc084d785
Refactor georeferencing properties to remove unnecessary blender_enh/project_north.
2024-07-14 09:06:01 +10:00
Dion Moult
b4482780cf
Linking models now acommodates files with different project or map units combinations correctly
2024-07-12 23:58:18 +10:00
Dion Moult
ff662fdfcf
Merging projects now accomodates models with different project norths
2024-07-08 11:38:42 +10:00
Dion Moult
a3844fe098
More tests and fixes for linking in models with different project norths
2024-07-07 23:59:13 +10:00
Dion Moult
22b7027746
Fix bug where automatic false origin detection didn't do anything if linking from an empty Blender session
2024-07-07 15:53:06 +10:00
Dion Moult
4e9f2ea4b2
Add georeferencing integration tests
2024-06-30 17:01:39 +10:00
Dion Moult
2efeb6edb3
Fix bug where context has no active_object when creating a new project from File > New with a preset
2024-06-29 22:20:08 +10:00
Dion Moult
008fa70345
Fix failing collector tests to align with new behaviour
2024-06-28 21:15:53 +10:00
Andrej730
2f81cab5f1
deprecate Material.BIMMaterialProperties #4843
...
As it now stored just 1 property and it's now moved to the BIMStyleProperties.
2024-06-26 16:13:59 +05:00
Dion Moult
3aba82f608
Ensure all project feature tests pass
2024-06-26 17:14:39 +10:00
Andrej730
ef9bbd8de6
deprecate shading_checksum #4843
...
Changing diffuse color for Blender material now won't change the linked IFC style.
Since now all style parameters for styles are changed through styles UI and users shouldn't use Blender materials tab unless they want to do something advanced (though they are still currently can use it to assign material styles to the specific faces).
PS 1 less thing to sync 🥳
2024-06-25 18:30:52 +05:00
Andrej730
2fbac57faf
remove bim.unlink_material #4843
2024-06-11 18:26:19 +05:00
Andrej730
c70745826a
rename bim.export_ifc to bim.save_project (similar to bim.load_project)
...
note that old name "export_ifc.bim" is still available (cacb38a25 ) though deprecated
2024-05-23 18:45:30 +05:00
Andrej730
cacb38a251
maintain "bim." as operators bl_idname prefix for BlenderBIM
...
1) removed unused operator import_ifc.bim
2) marked export_ifc.bim as deprecated
2024-05-20 17:19:00 +05:00
Andrej730
cd5afacc97
Fix test after cf9a94a79
2024-04-01 17:22:49 +05:00
Andrej730
98386984f3
Fix tests involving changes in Blender 4.1 (will fail on Blender <4.1)
...
Basically in Blender 4.1 they've changed a way renaming IDs works if name already existed before and those tests will stop working on Blender <4.1, see https://projects.blender.org/blender/blender/issues/119955
2024-03-27 15:23:46 +05:00
Andrej730
7b35ed97ca
tests - reduce precision to our usual Cad tool precision to fix some tests
2024-03-27 15:07:49 +05:00
Andrej730
b3302ed679
Fix test in 1c1035e
...
tag @brunoperdigao for information
2024-03-27 15:07:49 +05:00
Andrej730
e12f060af8
black format
2024-03-27 15:07:49 +05:00
Andrej730
1e49400e93
fix styles tests
2024-03-26 16:12:13 +05:00
Andrej730
608c0dc05d
Fix tests, clean up file creating empty project
...
To fix tests changed bim.unlink_object not to unlink original blender materials as they might be used elsewhere.
2024-03-26 15:59:23 +05:00
Andrej730
071c80f845
fix tests
2024-03-26 15:54:46 +05:00
Andrej730
b15e33e5e9
fix test after 7634e71
2024-03-26 14:32:16 +05:00
Andrej730
b0d810199b
fix duplicated function names in test_feature
2024-03-25 14:18:35 +05:00
Andrej730
515a72cec9
fix linked ifc selectability toggle
2024-03-25 14:01:08 +05:00
Andrej730
7464f7519f
fix load/unload linked ifc tests
2024-03-25 14:01:08 +05:00
Andrej730
f0dde4f825
fix linked ifc visibility toggle tests
2024-03-25 14:01:08 +05:00
Andrej730
54fefb3684
fix linked ifc wireframe mode toggle
2024-03-25 14:01:08 +05:00
Andrej730
642a0f7084
black format
2024-03-22 17:46:21 +05:00
Andrej730
7cd5aab1c5
Fix ifc linking tests
2024-03-22 17:44:38 +05:00
Bruno Perdigão
1c1035e251
Linked aggregate preserve names ( #4135 )
...
* added simples linked aggregate test
* small fix in remove_old_connections function
* added test for refresh linked aggregate
* refresh linked aggregates now preserves the objects original name
* small fix in recreate_connections function
* tests for Refresh Linked Aggregate
* test for Refresh Linked Aggregate after copying an object
* small deletion
* added custom incremental naming
* small fix in tests
* small fix on the number for renaming
2024-02-23 14:55:18 -06:00
Andrej730
78fd999c53
Fix a few uses of assigning/unassigning agregation after 165262933
2023-12-25 10:38:51 +05:00
Andrej730
1652629332
prefix bim.assign/unassign_object to avoid operator override #4099
...
Co-Authored-By: Bruno Perdigão <57102715+brunoperdigao@users.noreply.github.com >
2023-12-20 13:51:26 +05:00
Andrej730
89f9cd0403
Styles UI - moved UI from shader graph N-panel to Styles UI #3912
...
Moved all shading style and textures parameters from shader-graph N-panel to general Styles UI. Shader graph now also update in real time on any prop changes in Styles UI.
Now there is practically no need to switch to shader graph to edit styles shaders - all parameters are available from the Styles UI. That also allows you to edit styles and see the results in viewport even if the edited style is not the one that's currently active.
small demo - https://imgur.com/a/i2suoZw
2023-12-07 18:09:16 +05:00
Ryan Schultz
f1deefbcb3
Merge pull request #3969 from brunoperdigao/refactor-duplicate-aggregate
...
Refactor duplicate aggregate
2023-12-06 14:39:43 -06:00