Andrej730
7e2b40176c
Fixing tests after 2dc9dc200
2023-06-27 15:29:05 +05:00
Andrej730
99d9c0f5bf
Fixing collectors tests after 1f43ec8
2023-06-20 17:50:30 +05:00
Andrej730
2fbb9c569b
Fixing tool tests
2023-06-20 17:30:01 +05:00
Trashman247
bcf5f07718
Rework NewBrick and LoadBrick in test_brick.py to fit with new VGC format
...
- VGC means VersionedGraphCollection.
- BrickStore.schema is now a filepath, so make that the case in the testing also.
2023-06-19 21:59:17 -07:00
Andrej730
a34be6ae5d
Getting shader graph nodes by type rather than name #3316
...
Because relying on names doesn't work for non english users
2023-06-19 16:17:37 +05:00
Sigma Dimensions
36fab12847
Refactor and re-use common spatial_tool.select_products
2023-06-12 15:21:33 +01:00
Andrej730
fa4e19eba7
Tests for external svg references
2023-06-02 12:01:44 +05:00
Andrej730
0fd94d291b
References for adding external svgs to the sheets
...
It works exactly the same as schedules - you add some .svg file, path to it stored in ifc and you can attach it to the sheet.
UI - https://i.imgur.com/tGbCGBb.png
Still need to add some tests for references
2023-06-01 21:41:06 +05:00
Dion Moult
971e508e3d
See #3069 . Continued refactoring to not rely on users_collection[0].
2023-06-01 21:18:32 +10:00
Dion Moult
586707dd28
Fix #3069 . WARNING: dangerous change. Objects that have their own collection now have a pointer to that collection. This fixes a variety of subtle sync bugs.
2023-06-01 16:59:53 +10:00
Andrej730
d1d6b00f92
Test that drawing styles are loaded
2023-05-19 12:00:00 +05:00
Andrej730
c69ead4893
Test to cover drawing maintaining sheet position #3155
...
Updated to gitignore to include some new folders that are created during tests
2023-05-18 17:30:04 +05:00
Andrej730
e68fdb2db7
3d annotations for FALL, SECTION_LEVEL, PLAN_LEVEL #3145
...
Before that commit if you created those types of annotations and then reopened .ifc file (without .blend) then you would lose their z coordinate and therefore would lose their value (because they were created previously as 2d annotations).
Now those annotations created as 3d to avoid that problem. I've also added temporary fallback that will turn your existing annotations to 3d next time you edit them.
2023-05-18 14:19:36 +05:00
Andrej730
f682bf5688
Added some tests for changing ifc text
2023-05-17 11:18:24 +05:00
Andrej730
c124506e41
Fixing bug with changing text size #3159
...
Bug appeared after 046940f but it was there before - it was just kind of compensated by the other bug.
Because of that bug blender text size value was reupdated before saving it to pset therefore pset never received a new value.
Also added some refactor, planned to write some test to get this error covered.
2023-05-16 17:58:26 +05:00
Dion Moult
1fb6dac6fb
Fix failing tests in preparation for release.
2023-05-06 11:05:13 +10:00
Dion Moult
539b3a243b
Fix fundamental bug where area and volume units were ignored on new projects.
2023-05-04 21:43:48 +10:00
Dion Moult
60a9d96ac8
See #1676 . You can now duplicate space boundaries.
2023-05-03 20:38:09 +10:00
Andrej730
0d09e02e7e
Fixed bug with double conversion of height/extrusion length #3073
...
Also fixed some tests
2023-05-01 13:46:24 +05:00
Andrej730
4aa26b613b
test_qto.py black format
2023-04-19 19:05:11 +05:00
Andrej730
57cb062d48
Tests for calculating quantities for prefix and imperial project units
2023-04-19 19:04:05 +05:00
Dion Moult
d3201809ab
Fix #2968 . Deletions are no longer postponed. Should fix or reveal a lot of sync errors.
2023-04-13 18:38:28 +10:00
Dion Moult
937a5b2c2d
Fix #2516 . Add/build/remove/view/rename/copy sheet/drawing/schedule now all references and updates user configurable relative paths.
2023-04-10 22:30:33 +10:00
Dion Moult
6ce49b7130
See #2516 . References to titleblocks, layouts, and published sheets are now explicitly stored. Titleblock paths are now configurable. Generated filenames are sanitised.
2023-04-09 23:03:10 +10:00
Dion Moult
def2d2bcc9
See #2516 . WARNING: breaking changes! Restructure drawing system to use relative paths based on IfcDocumentReference Locations.
2023-04-08 21:59:53 +10:00
Dion Moult
df0a503b89
Improve implementation of is_moved so that anywhere we check movement, types and projects are not considered
2023-03-24 21:59:09 +11:00
Andrej730
f7181aae8a
Multiple literals in 1 Ifc Text + aggregated text annotations
...
Added option to store multiple literals inside 1 Ifc text object.
If multiple literals share the same `BoxAlignment` then only the first one will be displayed in viewport
to prevent visual clutter (although added small asterisk symbol to indicate that there are still multiple literals).
Added option for aggregated text annotations. Example - "door-tag" symbol.
If you create text, specify "door-tag" symbol in EPset_Annotation.Symbol
\and add two literals to it then they'll automatically will fit to that door-tag in the svg drawing
(https://i.imgur.com/OXaIlWe.png ).
The way it works - you define symbol in symbols.svg (or in your own symbols svg file)
and then add the `<text>` fields where text from literals will fit right in.
The imporant note: `<text>` tag must have attribute `data-type="text-template"` for it to work.
For example: `<text text-anchor="middle" dominant-baseline="middle" data-type="text-template"></text>`
2023-03-21 17:37:28 +05:00
Dion Moult
c97e1079e8
See #2866 . Fix issue where annotation should be able to use 3D coordinates (i.e. Model context type) for elevations and sections where it makes more sense.
2023-03-20 16:36:50 +11:00
Massimo Fabbro
05bdc962a3
Now it's possible to see the selected object related cost items and related quantities in qto n-panel
2023-03-20 08:12:24 +11:00
Dion Moult
bcc399b842
Empty psets are purged to discourage invalid psets with no properties
2023-03-19 13:13:15 +11:00
Andrej730
31f6baaf67
small refactor for Ifc.edit and tool.Ifc
...
1) replaced IfcStore.edited_objs.add with tool.Ifc.edit
2) updated interface in tool.py
3) removed unlink from tool.Ifc - it was declared there twice
2023-03-17 17:50:56 +05:00
Andrej730
0d473fa9ac
Fixing BoxAlignment value in tests (similar to 9f7db386a)
2023-03-16 16:08:58 +05:00
Andrej730
b55ac88c9d
Fixing tests after 9f7db386a
...
TestExportTextLiteralAttributes and TestImportTextAttributes was failing because now we're assuming that BoxAlignment will have 1 of values from the list below and not "BoxAlignment"
"top-left", "top-middle", "top-right", "middle-left", "center", "middle-right", "bottom-left", "bottom-middle", "bottom-right"
2023-03-15 19:43:17 +05: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
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
b25233a748
Fix critical bug where duplicate orphaned collections were created in the background.
2023-02-27 20:12:39 +11:00
Dion Moult
007d984baf
Fix #2274 . You can now purge unused types.
2023-02-13 15:20:56 +11:00
Dion Moult
93d0ffd459
Fix #2520 . You can now duplicate drawings with or without annotations.
2023-02-08 21:16:54 +11:00
Dion Moult
88bddb9531
See #2520 . You can now duplicate drawings.
2023-02-08 12:29:49 +11:00
Dion Moult
ccd7db06f8
Fix #2611 . Address multiple situations in the UI where the users could create invalid material data without an indication that it is invalid.
2023-02-05 17:10:25 +11:00
Dion Moult
044cd6e97b
See #1848 . Refactor boundary data class.
2023-01-30 11:27:38 +11:00
Massimo Fabbro
70f35095ff
Writing qto tests ( #2728 )
...
* Update qto tool tests and fix some bugs
* complete test_run qto tests
2023-01-29 10:03:07 +11:00
Dion Moult
d69f6c02b6
See #1636 . Fix drawing caching when new voids are added or parametric objects updated.
2023-01-26 12:14:45 +11:00
Dion Moult
cb92be2b08
No need to specify SI unit names as they can be derived from the unit type
2023-01-05 17:37:40 +11:00
Dion Moult
ec955ca717
You can now draw walls at a set RL
2022-10-19 17:54:25 +11:00
Dion Moult
80020970e1
Purge old dynamic void system as Blender booleans are not sufficient.
2022-10-19 12:32:02 +11:00
Dion Moult
b90ab70658
Modeling dimensions now have sensible defaults depending on units and show prior to element creation
2022-10-15 11:06:21 +11:00
Dion Moult
ab31fd7e48
Copying filled openings is now possible.
2022-10-09 22:25:55 +11:00
Dion Moult
bdbd874fa8
Fix #2488 . Copying objects now copy deep instead of adding afresh (and losing parametric data and openings).
2022-10-09 18:09:22 +11:00
Dion Moult
1db5d3b06c
Begin purging old dynamic void feature
2022-10-07 20:47:13 +11:00