Andrej730
4fda916c2f
Fix duplicated assignments
2025-07-07 19:11:37 +05:00
falken10vdl
2698ba69d5
Display TargetScale in Contexts UI / edit target scale denominator ( #6816 )
2025-06-27 05:48:14 +00:00
Andrej730
47b077b555
Fix sheets related tests
2025-06-24 19:08:42 +05:00
Andrej730
cd73f80894
Fix tool test_drawing after 992ad8e
2025-06-24 19:08:41 +05:00
Andrej730
705a924f41
Fix context's TestImportAttributes after e4a50b3
2025-06-24 19:08:41 +05:00
Andrej730
097e03d6f5
Fix TestGenerateSheetIdentification ( b20997d)
2025-06-24 19:08:41 +05:00
Andrej730
90ab846a18
typing
2025-06-20 18:48:34 +05:00
Andrej730
42b777b1f0
application ui - support changing organization
2025-06-19 19:28:34 +05:00
Andrej730
a968cad4cc
core/tool tests for application methods
2025-06-19 19:28:34 +05:00
Andrej730
b1bfe5c3b3
tool.ifc.run - replace with direct api calls
2025-06-18 19:12:11 +05:00
Andrej730
c68b0c7280
typing
2025-06-18 19:12:10 +05:00
Andrej730
a12bb343ca
Fix RUF015 (next() instead of list comprehensions[0])
...
https://docs.astral.sh/ruff/rules/-iterable-allocation-for-first-element/
2025-06-16 19:55:25 +05:00
Andrej
8b4683aef1
replace api.run with static methods
2025-06-09 18:03:19 +05:00
Andrej
bf4a3f074f
typing
2025-06-06 19:06:46 +05:00
Andrej
6de16bf658
bim.reassign_class - add simple test to cover cases like #6781
2025-06-06 13:11:58 +05:00
Andrej
2da183bfa6
bpy._typing -> bpy.stub_internal
...
https://github.com/nutti/fake-bpy-module/issues/362
2025-06-04 19:04:31 +05:00
Andrej
7cde9629f8
Fix Ruff UP034 (extraneous-parentheses)
...
https://docs.astral.sh/ruff/rules/extraneous-parentheses/
2025-05-28 18:24:13 +05:00
Andrej730
c8841bcb6a
Add a test for be65774
2025-05-15 20:01:01 +05:00
Andrej730
b20997dea8
Fix tests missing assert statement - add assert and fix them
2025-05-15 19:45:11 +05:00
Andrej730
e4a50b32ce
typing
2025-05-15 19:40:44 +05:00
Andrej730
5aa5552759
Fix drawing test after be657748f
2025-05-09 19:26:27 +05:00
Andrej730
43d4adbd9d
Fix tests after specifying types more precisely in def9352ad
2025-05-09 19:26:27 +05:00
Andrej730
94cf56e080
typing
2025-05-07 18:54:56 +05:00
Andrej730
3ab1c2e0f9
outliner.delete - make errors from attempt to delete locked object less scary
...
Traceback errors give users an impression that some broke and maybe project now is in some invalid state and they should ctrl-z immediately, error reports are much more friendly.
Before - https://i.imgur.com/N4fUU1M.png
After - https://i.imgur.com/6On1Be0.png
2025-05-06 19:03:05 +05:00
Andrej730
06a2cecb51
typing
2025-05-06 15:15:03 +05:00
Andrej730
e792cf8fa0
get_uri, resolve_uri - refactor #6605
...
1) Use pathlib for consistency
2) Ensure consistent output - always use posix format and resolve paths (but keep the symlinks)
2025-04-29 15:20:45 +05:00
Andrej730
8d31d93531
typing
2025-04-22 16:37:05 +05:00
Dion Moult
56bfe80b3b
Fix #6501 . Fix #6104 . Fix #6189 . You can now change wall offset convention after drawing walls.
...
People kept on getting confused with the align tool thinking it changed
the baseline to reference line offset whereas it actually just aligned
the object bodies. This tool now does exactly that.
Also start refactoring the "DumbWall" classes into the tools so we can
test them properly.
2025-04-21 17:17:09 +10:00
Andrej730
cf1f74e260
typing
2025-04-09 18:26:53 +05:00
Andrej730
7bacdbf8dd
typing
2025-04-03 17:45:49 +05:00
Andrej730
3cbab975d5
Fix tests after ea84f82
2025-04-02 19:29:43 +05:00
Andrej730
0315542237
geometry.remove_representation_item - add element argument
...
Use explicit element argument instead of props.representation_obj as representation_obj may not be there (e.g. removing rep items without item mode) or some other object might be in item mode and then booleans won't be unmarked.
Found the issue because of the failing test 🥳
2025-04-02 19:29:43 +05:00
Andrej730
b63d9090a1
black .
2025-03-24 11:36:40 +05:00
Dion Moult
f1138d1aac
Fix regression in point cloud loading in refactoring the new item mode.
2025-03-23 21:55:57 +11:00
Andrej730
0e8810c1f5
typing
2025-03-14 18:19:02 +05:00
Andrej730
ed0b1c5009
typing
2025-03-11 18:37:22 +05:00
Andrej730
c4b57eb903
typing
2025-03-10 18:52:39 +05:00
Dion Moult
2318132ea2
Minor refactor add_constr_type_instance is now add_occurrence
2025-03-10 08:23:56 +11:00
Dion Moult
076f39e2d6
I think bSDD should use the Name for the property name. See 115a48f
...
It seems correct according to
https://github.com/buildingSMART/bSDD/blob/master/Documentation/bSDD%20JSON%20import%20model.md
2025-03-09 21:35:20 +11:00
Andrej730
53a3afaded
typing
2025-03-04 18:10:41 +05:00
Andrej730
277aaca6c5
typing
2025-02-28 18:31:10 +05:00
Andrej730
2f6ae1745f
typing
2025-02-25 18:28:48 +05:00
Andrej730
6eda4e389c
typing
2025-02-24 18:52:34 +05:00
Andrej730
331f491d50
typing
2025-02-20 19:12:24 +05:00
Andrej730
43cc7a0304
Replace direct access to IfcStore with tool.Ifc
2025-02-19 18:31:07 +05:00
Andrej730
67bac441ad
typing
2025-02-19 18:31:06 +05:00
Andrej730
b0fbea60ae
typing
2025-02-17 17:58:44 +05:00
Andrej730
299b5bcf6b
Optimize loading meshes using numpy arrays
...
1) avoid calling geometry.xxx multiple times as each time it creates a new copy
2) use numpy arrays with correct data type, so Blender could perform buffer copy significantly reducing overhead
2025-02-12 18:39:27 +05:00
Andrej730
f39e6ccb54
typing
2025-02-12 18:39:27 +05:00
Andrej730
5b7964f04c
black .
2025-02-11 18:14:44 +05:00