Andrej730
1cb44da76c
Refactor toggling target view to a single operator
2025-08-01 20:07:59 +05:00
Andrej730
fc10915d2b
ifcopenshell.validate - remove simple_spf dependency ( 689289b)
...
Moved it to `TYPE_CHECKING` since it's currently used just for typing.
Was breaking validation in Bonsai since it doesn't provide all submodules with IfcOpenShell https://github.com/IfcOpenShell/IfcOpenShell/issues/6723#issuecomment-3016223786
Also added a simple test so github workflow would catch a simple error like this.
2025-06-30 18:08:34 +05:00
Andrej730
1a67ce87a1
light.feature - more test fixes
2025-06-26 19:57:08 +05:00
Andrej730
47b077b555
Fix sheets related tests
2025-06-24 19:08:42 +05:00
Andrej730
845e034614
test_feature - fix non-unique function name
2025-06-24 19:08:42 +05:00
Andrej730
82d020b20d
bim light tests - fix after f684a6058
...
Since defaults were updated
2025-06-24 19:08:42 +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
Dion Moult
72ef055946
Add tests for boundary
2025-05-27 10:38:38 +10:00
Dion Moult
242d70c311
Fix set update in loop bug when trying to filter elements by spatial container
2025-05-26 10:47:05 +10:00
Andrej730
66f4c957ea
black .
2025-05-19 19:28:55 +05:00
Dion Moult
67016d6f90
See #2999 . Reimplement basic creation of structural items.
2025-05-19 17:36:12 +10:00
Dion Moult
404bf13a18
Update colour by property test to reflect new behaviour of only showing geometry not empties
...
ALL (feature) TESTS PASS YESS
2025-05-18 19:23:34 +10:00
Dion Moult
3a37bcdcaa
Update test cases to reflect new drawing activation UI
2025-05-18 19:09:29 +10:00
Dion Moult
1de2515fcd
More bSDD tests to cover all current functionality
2025-05-18 12:05:33 +10:00
Dion Moult
22f10e5549
Fix #6669 . bSDD now supports test dictionaries, refactor domain to dictionary, support zero length keyword searches, multi-dict support, and basic tests.
...
Feature tests can now have more sophisticated per UIList item spies.
2025-05-17 21:28:12 +10:00
Andrej730
c2f9bfeb8d
Fix bim search tests after 0b22333
2025-05-06 20:07:44 +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
Dion Moult
2db6b860b2
See #6501 . Fix bug where wall alignment didn't strictly check for poll requirements prior to executing operator.
2025-04-21 15:38:26 +10:00
Dion Moult
df18108406
Add tests for sheet creation and drawing / sheet generation
2025-04-19 17:36:21 +10:00
Dion Moult
4896a69981
Add test cases for drawing duplication and shapely fill mode.
2025-04-19 13:42:36 +10:00
Dion Moult
5a6476a57f
Fix #3673 . Bug where a split wall broke flipped doors.
...
Instead of regenerating fills upon splitting walls, placements are
preserved exactly.
2025-04-17 16:28:05 +10:00
Andrej730
d9ed6a4950
Fix bim test after 1e3f1e7dfc
2025-04-11 19:55:26 +05:00
Andrej730
605c86afc5
Fix void bim tests after bim.add_potential_opening was removed
2025-04-03 18:06:48 +05:00
Andrej730
68cf8ee247
BIM tests - replace some class assignment with PanelSpy version
2025-04-03 18:06:48 +05:00
Andrej730
a452d1d361
Fix failing bim tests after 5b33c60
2025-04-03 18:06:48 +05:00
Andrej730
7bacdbf8dd
typing
2025-04-03 17:45:49 +05:00
Dion Moult
b6115a6d71
Fix bug where adding objects relying on missing contexts would fail
2025-04-01 14:20:56 +11:00
Dion Moult
58c7976a5e
See #1227 . Fix regression where new wall system didn't preserve existing dimensions when regenerating geometry for an object that previously didn't have a layerset
2025-03-23 23:55:15 +11:00
Dion Moult
384a74734e
Fix regression in split along edge
...
Aren't tests great
2025-03-23 23:36:19 +11:00
Dion Moult
069b630b16
Minor fix where you'd randomly get incorrect ports connected based on the first birdsong of spring
2025-03-14 14:41:23 +11:00
Dion Moult
609f468ce1
Update failing tests
2025-03-13 22:07:00 +11:00
Dion Moult
3852e3c63f
Add tests for new light rendered shadows feature
2025-03-13 22:06:21 +11:00
Dion Moult
d89957faab
Fix regression in 227f31574 which prevented quantifications
...
The key in the dictionary is not a class name, it's a query string to
allow for complex quantification rules.
2025-03-13 09:18:07 +11:00
Dion Moult
6596f5bc4b
Fix regressions in MEP joins after switching over to numpy from mathutils
2025-03-12 23:05:34 +11:00
Dion Moult
acdc40fb41
See #1227 . Reimplement extending walls to another wall
2025-03-12 23:05:34 +11:00
Dion Moult
9cfcaeb587
Fix bug and add boolean tests where if you added a boolean that fully clipped something you couldn't edit it due to lack of item ids.
2025-03-11 21:14:11 +11:00
Dion Moult
f08dba6483
Improve debug logs when running BDD tests
...
I've been spoilt by tools like Behat and so this make it much nicer
because it tells you exactly the feature/scenario/step where it failed.
2025-03-11 18:40:00 +11:00
Dion Moult
823f27cd6a
Add tests for new element add feature
2025-03-10 22:53:55 +11:00
Dion Moult
2318132ea2
Minor refactor add_constr_type_instance is now add_occurrence
2025-03-10 08:23:56 +11:00
Andrej730
53a3afaded
typing
2025-03-04 18:10:41 +05:00
Andrej730
f8ec8402fe
Remove test for deprecator operator ( c85eb79)
2025-02-25 18:28:48 +05:00
Andrej730
2f6ae1745f
typing
2025-02-25 18:28:48 +05:00
Andrej730
899ada0019
Fix purge unused types test after 3bb4243
2025-02-24 18:52:35 +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
4c0a7e1ca9
typing
2025-02-10 16:47:13 +05:00
Dion Moult
fcee54c572
Fix regression when removing an active representation.
...
Some tests removed since they no longer make sense with the new item
editing mode.
2025-02-08 00:21:38 +11:00
Dion Moult
889a9e3891
Tweak failing test to now allow assigning elements to scaled multi-user objects
...
Previously this was not allowed, but I don't see why not
2025-02-08 00:20:25 +11:00
Dion Moult
7bc1992963
Fix regression where adding a new occurrence should not change your active context back to body if you've switched it.
2025-02-07 23:52:55 +11:00
Dion Moult
f11d79f8c1
Fix cost and drawing feature tests
2025-02-07 22:40:17 +11:00