Commit Graph

7956 Commits

Author SHA1 Message Date
Dion Moult f89e8697d8 Fix #3051. Text background filter now applied on <text> element to make it work on Firefox. 2024-04-15 09:49:53 +02:00
Dion Moult 6a39d0fed6 Fix #3040. View title template variables now have access to sheet attributes prefixed with "Sheet". 2024-04-15 09:49:53 +02:00
Dion Moult 86d60f4cd9 Fix #3001. User can now specify join criteria in drawings. Only elements where all the criteria have the same values are merged. 2024-04-15 09:49:53 +02:00
Dion Moult a19b5c0473 Fix #3054. Edit sheet is now implemented for drawings, schedules, and titleblocks. 2024-04-15 09:49:53 +02:00
Bruno Postle 5a46d79387 Include git, gitdb and smmp libs in blenderbim zip 2024-04-15 09:49:53 +02:00
Bruno Postle 102a4f181d Install GitPython *before* removing the working folder 2024-04-15 09:49:53 +02:00
Bruno Postle e956e36957 Add GitPython dependency 2024-04-15 09:49:53 +02:00
Dion Moult 5a95dfa31a New default patterns for stack and stretcher bond tiles and floorboards. 2024-04-15 09:49:53 +02:00
Bruno Perdigão b3404a68d7 applyed the patch by Bruno Postle 2024-04-15 09:49:53 +02:00
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
Kristoffer Andersen bb73390afe Fix conda env 2024-04-15 09:47:27 +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