Bruno Perdigão
a39f268a53
changed imports to integrate with blenderbim
2024-04-15 09:49:53 +02:00
Bruno Perdigão
dff4c178e7
initial commit
2024-04-15 09:49:53 +02:00
Dion Moult
af140c1861
See #3002 . Spaces are now managed separately so that they don't conflict with projection polygon merging and raycasting.
2024-04-15 09:49:53 +02:00
Dion Moult
f9526b038c
See #3002 . Experimental SVGFill approach to polygon merging.
2024-04-15 09:49:53 +02:00
Thomas Krijnen
84287bf3ae
Update draw.py
2024-04-15 09:49:53 +02:00
Andrej730
83f5241694
Fixed couple bugs in furniture library
...
1) last polyline point was failing on Consecutive rule causing validation errors
2) Fixed wrong ifc class for dishwasher (was used occurence class instead of type)
2024-04-15 09:49:53 +02:00
Dion Moult
5bd16d8600
See #3002 . Experimental shapely approach to polygon merging for semantic projection elements.
2024-04-15 09:49:52 +02:00
Andrej730
61dda1d09d
Roof modifier - remove redundant context fill causing visual artifacts
2024-04-15 09:49:52 +02:00
Andrej730
d3d076adbe
Roof modifier - removing bottom chord if angle = 90 degrees
...
This - https://i.imgur.com/75AmYGI.png
instead of https://community.osarch.org/uploads/editor/yp/zcaqxx9b33wu.png
2024-04-15 09:49:52 +02:00
Andrej730
26ab901a9e
Roof Modifier - separating vertices on defining gable roof angle
...
Added option (which is activated by default) - when you set gable roof angle for some edge it will duplicate the top vertex instead of just moving which allows you to do shape like this - https://imgur.com/a/OEFZ4pw
Previously you would get something like this in that case - https://community.osarch.org/uploads/editor/ap/hlt70rbw5r1l.png
2024-04-15 09:49:52 +02:00
Andrej730
16b6861765
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 😅
2024-04-15 09:49:52 +02:00
Andrej730
c03666c395
Fixed error in disabling text exiting after deleting text literal
2024-04-15 09:49:52 +02:00
Dion Moult
2bc6d3b43b
Fix validation error where IfcURIReference cannot be used as a property data type :(
2024-04-15 09:49:52 +02:00
Dion Moult
4722208fa4
Fix #3038 . Fix #3039 . Selector should default to none instead for throwing errors if the query doesn't have a result.
2024-04-15 09:49:52 +02:00
Dion Moult
6a25d05e5d
Fix #3021 . IfcSpatialElements are included in drawings by default.
2024-04-15 09:49:52 +02:00
Andrej730
999186f684
Converting to project units inside QtoCalculator.guess_quantity
...
Also added some error message if `calculate_quantity` failed to calculate a quantity
2024-04-15 09:49:52 +02:00
Andrej730
c73e34eb8c
tool.Qto.convert_to_project_units
2024-04-15 09:49:52 +02:00
Andrej730
c4c848867c
bim.calculate_quantity - remove convertion part
...
now the convertion already happens in QtoCalculator.calculate_quantity
2024-04-15 09:49:52 +02:00
Andrej730
6ee8369114
test_qto.py black format
2024-04-15 09:49:52 +02:00
Andrej730
ccba3a3b8b
Tests for calculating quantities for prefix and imperial project units
2024-04-15 09:49:52 +02:00
Andrej730
e44f0e2050
qto_calculator.py black format
2024-04-15 09:49:52 +02:00
Andrej730
ac46276748
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.
2024-04-15 09:49:52 +02:00
Andrej730
b00cd887cd
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'.
2024-04-15 09:37:50 +02:00
Andrej730
2dd7057fec
Update viewport on bim.activate_model
...
To see the changed context right away in the viewport
2024-04-15 09:37:50 +02:00
Andrej730
56c587da10
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
2024-04-15 09:37:50 +02:00
Andrej730
9722063c93
Fixed bug in get_object_bounding_box #3023
2024-04-15 09:37:50 +02:00
arun
8517f808a8
Nesting added to util.get_decomposition function
2024-04-15 09:37:50 +02:00
Sigma Dimensions
dae8d6bdc1
fix "cost_item quantity updates" bug when editing a QTO
2024-04-15 09:37:50 +02:00
htlcnn
181966b08e
fix EditBcfTopic and EditBcfTopicName
2024-04-15 09:37:50 +02:00
Andrej730
b40c77a3e0
CutDecorator color connected to preferences too #2987
2024-04-15 09:37:50 +02:00
Dion Moult
bfe76b83dc
New default triangle, hexagon, capsule, circle, and space tag symbols
2024-04-15 09:37:50 +02:00
Andrej730
15c5c9da20
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
2024-04-15 09:37:50 +02:00
Andrej730
3c4e25edc7
Some descriptions for EPset_Drawing
2024-04-15 09:37:50 +02:00
Andrej730
5d650d29e0
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.
2024-04-15 09:37:50 +02:00
Thomas Krijnen
77445f9b22
get_mappeditem_transformation()
2024-04-15 09:37:50 +02:00
Thomas Krijnen
0325c49c3d
Add util.placement.get_cartesiantransformationoperator3d()
2024-04-15 09:37:50 +02:00
Thomas Krijnen
5f334192db
Normalize vectors in a2p()
2024-04-15 09:37:50 +02:00
Vukas Pajic
63bfa290db
Update failure reason #3018
2024-04-15 09:37:50 +02:00
Andrej730
94f4f499ef
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
2024-04-15 09:37:50 +02:00
Dion Moult
2fc74fd440
Fix bug where you could save geometry with no data (no vertices / splines) which is invalid.
2024-04-15 09:37:50 +02:00
Dion Moult
eea93265f7
Fix #2913 . Bug where properties with multiple inverses were not correctly purged.
2024-04-15 09:37:49 +02:00
Dion Moult
e6f13a4ef9
Fix #2916 . Bug where joining swept solids didn't merge styles correctly.
2024-04-15 09:37:49 +02:00
Vukas Pajic
7ca6fec75f
cleanup
2024-04-15 09:37:49 +02:00
Vukas Pajic
bc2a12a498
added new tests for case where spec has no requirements
2024-04-15 09:37:49 +02:00
Andrej730
1cf524b95d
Fixed bug in bim.select_assigned_product
...
It was trying to call method `Drawingcls.get_active_object()` that didn't exist
2024-04-15 09:37:49 +02:00
Andrej730
00370e94d0
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.
2024-04-15 09:37:49 +02:00
Dion Moult
98309da543
Add support for loading IfcProxy
2024-04-15 09:37:49 +02:00
Dion Moult
fe8220f9a7
Add support for editing ref latitude/longitude
2024-04-15 09:37:49 +02:00
Massimo Fabbro
cc9b178535
Small fix
2024-04-15 09:37:49 +02:00
Massimo Fabbro
8daa5bf5f7
Now it's possible to specify the digits number in a drawing. Fix #2993
2024-04-15 09:37:49 +02:00