10462 Commits

Author SHA1 Message Date
Thomas Krijnen ed8cbff3d2 nix/build-all propagate BUILD_SHARED_LIBS for -shared build v0.7.1 2024-10-10 09:15:11 +00:00
Thomas Krijnen c6bce343db Pin freetype version, incompatible change made 5d ago 2024-10-10 08:58:34 +00:00
Dion Moult 6a200afc29 Revert "Fix georeferencing HTML URL"
This reverts commit 25e0cb4e73.
2024-07-22 10:39:22 +10:00
Kurt BATTISTI 25e0cb4e73 Fix georeferencing HTML URL 2024-07-22 10:38:11 +10:00
Johannes Schorr bc318e1f66 Fix typo in doctring in ifcdiff.py 2024-07-12 14:57:35 +10:00
petrisch dfb5ebf350 Little typo 2024-07-02 15:20:46 +02:00
Dion Moult e3cb811225 WARNING: Remove collection syncing. The outliner no longer is used to change spatial hierarchy.
This is a BREAKING change (on purpose). If you want to change containment / aggregation, use the UI panels, not drag and drop on the outliner.
2024-06-07 22:55:18 +10:00
Andrej730 db98f13982 typing 2024-06-07 17:15:52 +05:00
Andrej730 61c2a2c6c6 remove_work_schedule to unassign a work schedule from a work plan #4819 2024-06-07 17:15:51 +05:00
Andrej730 5c41baeaf1 remove_work_plan - unassign work schedules #4819 2024-06-07 17:15:51 +05:00
Andrej730 f8a5ce34a8 fix redeclarations in tests 2024-06-07 17:15:51 +05:00
Andrej730 4078140079 distance_limit, false_origin tooltips 2024-06-07 17:15:51 +05:00
Dion Moult c9d724fe18 You can now set a default spatial container.
This will supersede having an active Blender collection selected.
2024-06-07 21:53:21 +10:00
Dion Moult 03b2afbb31 Fix IfcCSV docs to use new selector syntax. 2024-06-07 20:08:23 +10:00
Dion Moult f0a19cb054 Fix #4815. Purge deprecated old selector syntax. 2024-06-07 20:08:11 +10:00
Dion Moult f565b4e8f0 Minor georeferencing offset fix after recent fixes 2024-06-07 20:06:57 +10:00
Dion Moult af5838cba6 Fix #4821. Bug where empty true norths were still set. 2024-06-07 16:30:19 +10:00
Dion Moult d0058a1bde Fix #4802. Fix ability to edit CARTESIAN_POINT offset meshes in offset models. 2024-06-07 14:32:00 +10:00
Dion Moult 698c648413 Fix #3757. Adding objects in offset models now correctly stores georeferenced coordinates. 2024-06-07 12:47:41 +10:00
Dion Moult 8f64ef4465 Fix bug where incorrect units were calculated in the geometry offset UI blenderbim-240607 2024-06-07 10:40:23 +10:00
Bernd Hahnebach a16c159b7f BBIM, bcf, ignore problematic topics in case of markup 2024-06-06 22:06:42 +02:00
Bernd Hahnebach 04b641c49c BBIM, bcf, fix colors for hex with alpha channel 2024-06-06 22:06:42 +02:00
Bernd Hahnebach 84d475cfd3 BBIM, bcf, fix setting the viewpoint components 2024-06-06 22:06:42 +02:00
Bernd Hahnebach afe7d526a5 BBIM, bcf, fix if either project or project name is missing in bcf 2024-06-06 22:06:42 +02:00
Dion Moult 98ec3e2301 Fix #4677. Fix #4809. Major improvement to local session offset during project loading (see description)
This improves four things:

 1. Previously, we either used OBJECT_PLACEMENT or CARTESIAN_POINT, but couldn't handle scenarios where simultaneously both the placement and the coords were rubbish for a single object. Now we offset all far cartesian points, so it consistently works and we keep track of a per-object offset.
 2. Previously, we applied the georeferencing conversion on every cartesian point which was very slow. The new method uses a simple XYZ translation which is super fast.
 3. We now use numpy which should be much faster too.
 4. Previously, objects were selectively offset based on whether they fell outside the distance limit. Now, we uniformly treat all non-geometric elements at 0,0,0 as insignificant positionally. This fixes the issue where half the model is offset and the other half isn't, but maintains the fix for situations where the site (typically) is at 0,0,0 and everything else is map coords.
blenderbim-240606
2024-06-06 11:54:07 +10:00
Dion Moult cfd0ed60cf Reduce (arbitrary) element checking threshold down to 3 for georef guessing. 2024-06-06 09:34:32 +10:00
Ryan Schultz 802e1966fd small tweak 2024-06-05 08:21:28 -05:00
Ryan Schultz b57a1e5ea8 Adding a 'magic_font_scale'
https://community.osarch.org/discussion/2202/blenderbim-edit-text-preview-size
2024-06-05 08:12:22 -05:00
Ryan Schultz b92e78b137 added styles search 2024-06-05 07:43:17 -05:00
Gorgious56 8b69ea464f Fix variable name in code example 2024-06-05 08:19:29 +02:00
Dion Moult 1565575e8b Load spatial tree after new / open project 2024-06-05 15:47:55 +10:00
Dion Moult 18b68353b1 Minor UI polish: center tabbar, remove Blender tabs as no longer necessary for native IFC 2024-06-05 15:09:23 +10:00
Dion Moult 9699eb38c5 Only show Blender tab icon in dropdown, separated.
This helps for smaller screens and makes it less overwhelming for users.
2024-06-05 15:00:28 +10:00
Dion Moult d294be3433 Support adding a child space using the rules of spatial decomposition for each schema 2024-06-05 14:53:31 +10:00
Dion Moult 60ae4e80ce New get_contained util.element function blenderbim-240605 2024-06-05 13:04:50 +10:00
Dion Moult 05ec36a37d Spatial manager now shows aggregated objects inside selected space 2024-06-05 13:04:35 +10:00
Andrej730 dc8ea31138 Bump ladybug tools build in docs 2024-06-04 13:42:33 +05:00
Dion Moult faaea7db49 Spatial manager now allows inline editing of names and elevations for a slicker UI 2024-06-04 15:10:28 +10:00
Dion Moult b14ff94303 Spatial manager renamed to project tree and added icons 2024-06-04 13:57:57 +10:00
Dion Moult b3dcfbf0dc See #4796. Fix issue where orphaned aggregate is never shown when loading IFC. blenderbim-240604 2024-06-04 12:31:07 +10:00
Ryan Schultz b68109d32b small fix for #4745 2024-06-03 12:31:03 -05:00
Dion Moult 2ea3fe4ab9 Fix qto bug where cubic meter units are incorrectly converted. 2024-06-03 22:49:40 +10:00
Andrej730 94c159ccd0 Consider elements with openings reloading representations
Before - https://imgur.com/a/MMnGMBo .
Occurrences with openings wasn't reloaded if you'd change their representation items (add/remove a style, remove a representation item). Also type/occurrences representations were not always reloading.

After - https://imgur.com/a/vBDejb8

Similar thing will be added to switch representation and to representation update to solve issues like this - https://imgur.com/a/0DFIBj2 (issue is still present now).
2024-06-03 17:47:37 +05:00
Andrej730 e4eead6662 styles ui - bim.assign_style_to_selected
Just a simple operator to explicitly assign selected style to the selected objects from Styles UI

https://imgur.com/a/JOLVPz7
2024-06-03 17:44:06 +05:00
Andrej730 ee4e92dfa3 remove bim.update_current_style poll
as this operator can be executed without any objects selected
2024-06-03 17:44:05 +05:00
Andrej730 f4ce2965f9 fix error saving ifc file / assigning classes 6eb3c4814 2024-06-03 17:44:05 +05:00
Andrej730 5fb7e6e375 resource.remove_resource - fix issue removing resources in ifc2x3 2024-06-03 17:44:05 +05:00
Andrej730 c399eb259a resource.add_resource_quantity to ensure quantity type is supported 2024-06-03 17:44:05 +05:00
Andrej730 5ccdf187d5 change type of exception when setting non-optional property to TypeError
TypeError is more correct since error occurs when user is trying to set some attribute value with None while atttribute doesn't support None type. ValueError is typically raised when provided value has a correct type but unsupported value.
2024-06-03 17:44:05 +05:00
Andrej730 d53351d218 Remove redundant description repeating the label #4771 2024-06-03 17:44:05 +05:00