Commit Graph

8172 Commits

Author SHA1 Message Date
Dion Moult 2e143f65d9 Fix #3211. Generated fills now are siblings to the element that they void. 2024-04-15 09:58:26 +02:00
Andrej730 a37585707e Schedule Builder - text/background color support #3154 2024-04-15 09:58:26 +02:00
Andrej730 f7b911faed separate ifc text literals in svg with newline #3207 2024-04-15 09:58:26 +02:00
Dion Moult 16582e2691 Fix #3212. Bug where viewport camera bisection didn't have enough tolerance and sometimes wasn't visible. 2024-04-15 09:58:26 +02:00
Dion Moult 228cce74ac Fix #3209. Handle loading of custom scales, fix incomplete NTS implementation, and use Lark for more reliable imperial scale parsing. 2024-04-15 09:58:26 +02:00
Andrej730 91567e93cc Fixed Stair annotation bug introduced in 762299124
in 762299124 I've changed number of segments and verts but never adjusted StairDecorator - so it wasn't drawing parts of the annotation
2024-04-15 09:58:26 +02:00
Andrej730 e96916dbc6 Optimized iteration over objects for viewport annotations #3198
This commit should increase viewport annotations performance significantly on large projects. Described in #3198
2024-04-15 09:58:26 +02:00
Dion Moult 0a3b9c4e2b Fix #3210. Revert "BBIM Drawings: Exclude ifc objects hidden from render view"
This reverts commit 6f39648077.
2024-04-15 09:58:26 +02:00
Dion Moult 4d01dfe379 Fix #3138. Remove manual copy class and be more intelligent about what classe can be reassigned. 2024-04-15 09:58:26 +02:00
Andrej730 6169b44fbd Same distance function for viewport and svg #1321 #3198 2024-04-15 09:58:26 +02:00
Dion Moult 2b424f3d7d Fix #3200. Bug where include / exclude filters could break the drawing. 2024-04-15 09:58:26 +02:00
Sigma Dimensions 1bf83ab0b9 BBIM Drawings: Exclude ifc objects hidden from render view 2024-04-15 09:58:26 +02:00
Sigma Dimensions 65f1bff957 Ctrl+P and Alt+P BIMTool Hotekys to assign/unassign aggregation 2024-04-15 09:58:26 +02:00
Bruno Postle 510e157775 Select new/changed objects in visual diff (#3096)
When visualising differences between current/selected revision,
new/changed objects are selected as well as colourised
2024-04-15 09:58:26 +02:00
Bruno Postle 8e605adbcc Fix checkout version equivalent to a remote HEAD 2024-04-15 09:58:26 +02:00
Dion Moult 5ff75569a0 See #3184. Preserve parametric layerset axis direction hints when changing types. 2024-04-15 09:58:26 +02:00
Dion Moult 7f7151288f Fix #2106. You can now assign an opening to another element. 2024-04-15 09:58:26 +02:00
Dion Moult 566ea1c283 Fix #3050. Unlinking now gives you an option to delete as well. 2024-04-15 09:58:26 +02:00
Dion Moult 6537d9dd71 Fix #3169. Don't allow the user to create invalid material sets without items. 2024-04-15 09:58:26 +02:00
Dion Moult 1aae597da5 See #3169. Fix bug where non walls and slabs didn't get semantic classes in drawings. 2024-04-15 09:58:26 +02:00
Andrej730 74d5d20d07 Revision Clouds - new annotation type
Short demonstration - https://github.com/IfcOpenShell/IfcOpenShell/assets/9417531/90c9b458-0bae-40a2-9eee-d748e57c24a3

Curently it doesn't have any special representation in viewport and it doesn't have any customisable parameters.

You might get come across error "Revision cloud edges must form just 1 polygon" - it means your edges either don't form any polygon or form 2 or more, both cases are not supported.
2024-04-15 09:58:26 +02:00
Dion Moult 1b261304eb Fix #3202. 2024-04-15 09:58:26 +02:00
Dion Moult 8bd77b3663 New get_shape_matrix utility. 2024-04-15 09:58:26 +02:00
Dion Moult 43bfd51ccb Fix #3181. 2024-04-15 09:58:26 +02:00
Bruno Postle e4ff87cb01 BBIM Ensure LF end-of-line in Git repo (#3096)
Git auto text detection seems to fail with IFC files, possibly due to
long lines. So we now force detection as text which ensures conversion
from CRLF to LF when adding to the repository. We also convert the local
IFC file to LF otherwise Git thinks that the local file is out-of-sync
with the repo version ¯\_(ツ)_/¯
2024-04-15 09:58:26 +02:00
Andrej730 b171dc6146 Small documentation note 2024-04-15 09:58:26 +02:00
Andrej730 218b67bc5c Procedurally generating list of props for shading styles to cover more props
If it will be too much we still have option to exclude some of them
2024-04-15 09:58:26 +02:00
Gorgious56 bf9df2897c Remove the cryptic (and slightly annoying) console warning logs when trying to display the type manager when there is no element type in the file 2024-04-15 09:58:26 +02:00
Gorgious56 66161518df Fix annoying tooltip when using the eyedropper to copy a type 2024-04-15 09:58:26 +02:00
Andrej730 0d3c0b7a03 Fixed problem with ifccsv set_element_key #3192
Currently "type" attribute in selector returns something like "#71=IfcWallType('20jY5HfLH4LBwMrDEoTdML',$,'WAL100',$,$,$,$,$,$,.NOTDEFINED.)" when the code was expecting the class name like "IfcSlab" or "IfcWall". Changed it to "class" atribute that returns just class name.
2024-04-15 09:58:25 +02:00
Andrej730 52302841d9 Window Modifier - support typing units in props
Example - https://i.imgur.com/C99RRs9.png
2024-04-15 09:58:25 +02:00
Andrej730 50e393675a More descriptive exception for reassign_class #3192
Added it because there was no error handling here anyway and later there was another UnboundLocalError:

    for attribute in declaration.all_attributes():
UnboundLocalError: local variable 'declaration' referenced before assignment
2024-04-15 09:58:25 +02:00
Andrej730 865d755730 Stair Modifier - support typing units in props
Example - https://i.imgur.com/XQsVge1.png
2024-04-15 09:58:25 +02:00
Andrej730 880dcb7fcf Array Modifier - support typing units in props
Example - https://i.imgur.com/a0r0vUs.png
Also accidentally fixed input_cursor_array not working properly for projects with non-meters units.
2024-04-15 09:58:25 +02:00
Andrej730 dc698f7116 Small error message on aggregating objects 2024-04-15 09:58:25 +02:00
Dion Moult 983f78c3a5 Fix #3193. Revert "partially addresses #3103."
This reverts commit 1b2ab4e3f0.
2024-04-15 09:58:25 +02:00
Dion Moult 122e17d5b5 Fix #3086. 2024-04-15 09:58:25 +02:00
Gorgious e6a90d6786 Using the eyedropper on a type automatically sets the type and validates assign_type. However it does display an annoying message saying the value was not set, I don't know how to get rid of it. 2024-04-15 09:58:25 +02:00
Gorgious bb2ee957e9 You can now eyedrop an object in the 3D viewport to fill in its class in the type selector 2024-04-15 09:58:25 +02:00
Gorgious c7381c8092 Fix Relating type enum not correctly initializing 2024-04-15 09:58:25 +02:00
Gorgious db283eb137 The type manager now switches to the type when clicking on the "select type" button. Duplicating a type also changes the active type in the type manager 2024-04-15 09:58:25 +02:00
Gorgious 62f2144245 Selecting types and instances now show a helpful tooltip when the object is not selectable (due to being hidden or in a hidden collection) 2024-04-15 09:58:25 +02:00
Gorgious 9d9d1660ff You can now duplicate a type from the properties panel
+ change the "paste" icon for the  "duplicate" icon
2024-04-15 09:58:25 +02:00
Gorgious 4843068458 "Select instances" button is now grayed out when the type doesn't have any instance 2024-04-15 09:58:25 +02:00
Bruno Postle 3884260bcf BlenderBIM set gitattributes and autocrlf
Force Git to always treat IFC files as text.
Store IFC in Git with LF line-endings, but checked-out files are
CRLF on Windows.
2024-04-15 09:58:25 +02:00
Andrej730 27655dcf35 Roof modifier - more descriptive errors on invalid footprints #3171 2024-04-15 09:58:25 +02:00
Andrej730 b66fac5041 Default material layer thickness for adding new layers
Same as when you create IfcMaterialLayerSet
2024-04-15 09:58:25 +02:00
Andrej730 9b221452d5 UI problem with creating empty material layer set causing issues #3169
Now it's also possible to select some material that will be used for they first layer of material layer set.
2024-04-15 09:58:25 +02:00
Ryan Schultz e94350db93 bulk assignment of objects to an aggregate. 2024-04-15 09:58:25 +02:00
Andrej730 e7510231d5 Added a descriptive error on attempt of deleting last material layer 2024-04-15 09:58:25 +02:00