Andrej730
bfbfe17644
OverrideDelete - remove objects with X if they are not related to ifc
...
It was a bit frustraiting when you added a cube and can't just get rid of it with X hotkey 😅
2023-04-20 17:15:17 +05:00
Andrej730
046940f949
Fixed error in disabling text exiting after deleting text literal
2023-04-20 14:27:37 +05:00
Dion Moult
2950ddcf4f
Fix validation error where IfcURIReference cannot be used as a property data type :(
2023-04-20 18:06:35 +10:00
Dion Moult
3d441b4ad3
Fix #3038 . Fix #3039 . Selector should default to none instead for throwing errors if the query doesn't have a result.
2023-04-20 17:41:52 +10:00
Dion Moult
caa5e8983b
Fix #3021 . IfcSpatialElements are included in drawings by default.
2023-04-20 17:34:24 +10:00
Andrej
59b7944d8e
Merge pull request #3032 from IfcOpenShell/quantities_project_units
...
Converting quantities to project units to fix #3025
blenderbim-230420
2023-04-20 11:03:12 +05:00
Andrej730
648eb8fdd1
Converting to project units inside QtoCalculator.guess_quantity
...
Also added some error message if `calculate_quantity` failed to calculate a quantity
2023-04-20 11:01:38 +05:00
Andrej730
f160516772
tool.Qto.convert_to_project_units
2023-04-20 10:32:36 +05:00
Andrej730
4beb7780f8
bim.calculate_quantity - remove convertion part
...
now the convertion already happens in QtoCalculator.calculate_quantity
2023-04-20 10:32:24 +05:00
Kristoffer Andersen
d44b6d40e9
pin lief version for conda build
2023-04-20 06:48:44 +02:00
Kristoffer Andersen
8fd9f5a8cb
Add conda to conda daily build trigger path
2023-04-20 06:43:31 +02:00
Kristoffer Andersen
414af2f55e
Change conda lief version
2023-04-20 06:40:44 +02:00
Kristoffer Andersen
8624be6bcf
Fix conda env
2023-04-20 06:36:10 +02: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
Andrej730
b4b6404b65
Added DISTANCE subtype to BIM Tool Extrusion Depth and Length
...
In BIM Tool it looks like this right now - https://i.imgur.com/JWVPssg.png (note the units)
Previously it was displaying value like this - https://i.imgur.com/244aYTN.png
The benefit is that you can specify other units in that kind of property and it will automatically convert to current project's unit.
For example if you have millimeters as project's unit you can still type "10m" instead of "5000" and it will automatically convert it to 5000mm.
Or type in inches like 5" 11'.
2023-04-19 18:03:26 +05:00
Andrej730
989dd2be50
qto_calculator.py black format
2023-04-19 17:04:15 +05:00
Andrej730
50b8baddec
Update QtoCalculator to convert to project units at the end
...
Before this commit it was calculating all values in meters not taking into account actual project units.
2023-04-19 17:03:32 +05:00
Andrej730
2e00c3db0b
Update viewport on bim.activate_model
...
To see the changed context right away in the viewport
2023-04-19 12:12:11 +05:00
Andrej730
232260787e
Fixed bug with wrong text value in viewport on canceling text editing
...
Actual text was replacing with "TEXT" default value if you cancel text editing instead of applying changes
2023-04-19 11:37:10 +05:00
Andrej730
54054c4aee
Fixed bug in get_object_bounding_box #3023
2023-04-19 11:27:45 +05:00
arun
1a7843a6b5
Nesting added to util.get_decomposition function
2023-04-19 15:46:51 +10:00
Sigma Dimensions
ed4ba4d0d3
fix "cost_item quantity updates" bug when editing a QTO
blenderbim-230419
2023-04-19 01:01:44 +00:00
htlcnn
849d6118d0
fix EditBcfTopic and EditBcfTopicName
2023-04-19 09:23:50 +10:00
Andrej730
364138d408
CutDecorator color connected to preferences too #2987
2023-04-18 18:13:04 +05:00
Dion Moult
32c8da06ca
New default triangle, hexagon, capsule, circle, and space tag symbols
2023-04-18 22:32:09 +10:00
Andrej730
2df4c5825f
Added some decorator colors to addon preferences #2987
...
For ProfileDecorator (editing profiles, roof preview) and DecorationsHandler (openings).
Still need to add CutDecorator colors to preferences
2023-04-18 17:29:07 +05:00
Andrej730
527cbc3ae0
Some descriptions for EPset_Drawing
2023-04-18 16:59:07 +05:00
Andrej730
4fee8744d6
Fixed text annotation rotation in viewport #3017
...
Fixed text annotation rotation in viewport for the views rotated by multipel axis.
Changed text direction calculation to be the same in both viewport and svg.
2023-04-18 16:59:07 +05:00
Thomas Krijnen
8f8862d23d
get_mappeditem_transformation()
2023-04-18 13:17:20 +02:00
Thomas Krijnen
836f36fd8e
Add util.placement.get_cartesiantransformationoperator3d()
2023-04-18 13:15:13 +02:00
Thomas Krijnen
a1326cb5ed
Normalize vectors in a2p()
2023-04-18 13:13:29 +02:00
Vukas Pajic
4bfda8851c
Update failure reason #3018
2023-04-18 13:12:24 +02:00
Andrej730
f02f15cbfb
unsuppress zero inches in formatting distance #3011
...
Added option to suppress zero inches in the dimension annotation text through SuppressZeroInches property of BBIM_Dimension property set.
Previously by default suppressing zero inches was enabled. Now by default it is disabled.
SupressZeroInches On - https://i.imgur.com/nrhELnA.png
SupprezZeroInches Off - https://i.imgur.com/gIuO2GW.png
2023-04-18 14:17:40 +05:00
Dion Moult
30182684d5
Fix bug where you could save geometry with no data (no vertices / splines) which is invalid.
blenderbim-230418
2023-04-18 18:10:01 +10:00
Dion Moult
7df80af30b
Fix #2913 . Bug where properties with multiple inverses were not correctly purged.
2023-04-18 18:08:24 +10:00
Dion Moult
6b2e867107
Fix #2916 . Bug where joining swept solids didn't merge styles correctly.
2023-04-18 18:07:44 +10:00
Vukas Pajic
d333090b09
cleanup
2023-04-18 09:17:23 +10:00
Vukas Pajic
8ae7763ac5
added new tests for case where spec has no requirements
2023-04-18 09:17:23 +10:00
Andrej730
51ac86be79
Fixed bug in bim.select_assigned_product
...
It was trying to call method `Drawingcls.get_active_object()` that didn't exist
2023-04-17 14:47:11 +05:00
Andrej730
552078c8a2
TEXT_LEADERS BoxAlignment, FontSize, multiline in viewport preview #3008
...
Moved code for drawing text in viewport to a separate reusable method `draw_text` in BaseDecorator.
2023-04-17 11:21:07 +05:00
Dion Moult
4b4ede733f
Add support for loading IfcProxy
2023-04-17 10:37:30 +10:00
Dion Moult
d07e8bc747
Add support for editing ref latitude/longitude
blenderbim-230417
2023-04-17 10:14:22 +10:00
Massimo Fabbro
8850d78e5a
Small fix
2023-04-17 09:25:21 +10:00
Massimo Fabbro
4fbf4e7d42
Now it's possible to specify the digits number in a drawing. Fix #2993
2023-04-17 09:25:21 +10:00
Ryan Schultz
d6e1a670b9
Library - changed to correct class
2023-04-17 09:24:35 +10:00
Dion Moult
1a32c8827e
Fix #3003 .
2023-04-17 09:11:33 +10:00
Dion Moult
784b5156df
Fix #2975 . Fix bug where imperial projects still created drawings with metric scales by default.
2023-04-16 23:18:22 +10:00
Dion Moult
6e3336afb1
See #2975 . Fix bug where custom scales were not loaded correctly.
2023-04-16 23:17:56 +10:00
Dion Moult
d0ddee3623
Fix bug where changing object visibility didn't first check for view layer existence.
blenderbim-230416
2023-04-16 21:50:58 +10:00