Commit Graph

1463 Commits

Author SHA1 Message Date
Andrej730 4e47827b86 added tests for shape builder transition length calculator 2024-04-16 10:25:00 +02:00
Dion Moult 2e8c218415 IfcPatch now uses the new facet selector syntax. 2024-04-16 10:25:00 +02:00
Sigma Dimensions (Yass) 53a43442fe implement calculating task duration based on resource usage change for fixed person-hours and prevent constrained attributes from updating 2024-04-16 10:25:00 +02:00
Sigma Dimensions (Yass) f8651430e6 consolidate constraint utilities into ifcopenshell.util.constraint and refactor 2024-04-16 10:25:00 +02:00
Sigma Dimensions (Yass) 3582ccc1d4 Fix calculating resource work based from parent's productivity and improve UI to show this 2024-04-16 10:24:59 +02:00
Sigma Dimensions (Yass) 2e4e2c3173 improve purge of remove_metric usecase 2024-04-16 10:24:59 +02:00
Sigma Dimensions (Yass) 2be46970fe api usecase to add a reference path to a metric objective 2024-04-16 10:24:59 +02:00
Sigma Dimensions (Yass) 8b43767a6f fix updating an objective's metric 2024-04-16 10:24:59 +02:00
Dion Moult 9f42a91045 New util function to format a length value in preparation for custom formatting rules in drawings and schedules. 2024-04-16 10:24:59 +02:00
Andrej730 ca7984e12e mep transitions - correct angle when connected segments share the same dimensions
Basically there are 3 methods to define the transition angle (https://i.imgur.com/AtCIJty.png). Before we supported only the second method, now we support 1 and 3 too.
2024-04-16 10:24:59 +02:00
Dion Moult 94e3627c8c IfcCSV now supports grouping and group operations like concat, sum, min, max, etc. 2024-04-16 10:24:59 +02:00
Dion Moult 641b5e002a Now support custom queries for advanced users in the facet selector (similar to old selector). Also support types and count keys. (e.g. filter by objects with zero types, or zero materials, etc). 2024-04-16 10:24:59 +02:00
Dion Moult 2dd6b164a9 You can now get specific container types via util.element or util.selector. E.g. if you wanted to know what building an object is in or what storey an object is on. 2024-04-16 10:24:59 +02:00
Andrej730 b998e1c927 more work on transitions for MEP
- support transitions from and to circle profiles
- reworked transition length algorithm now it should be more accurate
- added support for creating transitions between profiles that are parallel but not collinear
2024-04-16 10:24:59 +02:00
Sigma Dimensions (Yass) c16d8a39e9 ligten up add cost schedule UI 2024-04-16 10:24:58 +02:00
Dion Moult 7f34c54327 Close #3615. Follow (terrible, unofficial) convention that boolean result is intentional and boolean clipping result is automated. 2024-04-16 10:24:58 +02:00
Dion Moult f51f2a0e8c Fix #3614. Remove_pset API now supports removing predefined property sets (E.g. door lining properties). 2024-04-16 10:24:58 +02:00
Dion Moult 6097d4415a Fix #3583. BaseQuantity QTOs in IFC4 can now be set on types. 2024-04-16 10:24:58 +02:00
Dion Moult 861659c212 Fix #3605. Bug where invalid representation type was created when booleans are added / removed. 2024-04-16 10:24:58 +02:00
Dion Moult a9ea54a146 Bump IOS 2024-04-16 10:24:58 +02:00
Dion Moult 331b9cc440 See #3587. IfcCSV now supports custom header titles. 2024-04-16 10:24:58 +02:00
Dion Moult 539cd047a2 Minor fix to allow edit_work_time to work seamlessly for IFC4X3. 2024-04-16 10:24:58 +02:00
Dion Moult fa3c8b43f6 Add support for converting IFC spaces, systems, and feed / location / part relationships into Brick. Brick utilities can now get downstream equipment, and system util can now take into account port flow direction. 2024-04-16 10:24:57 +02:00
Dion Moult ff9903b6a2 Fix #3589. Users can now configure how the null values are represented in IfcCSV. 2024-04-16 10:24:57 +02:00
Gorgious56 a3aaa9eeba simplify ifc class suggestions json file and operator 2024-04-16 10:24:57 +02:00
Dion Moult 54eda1a81c Fix #3591. Fix bug where IfcCSV import was not symmetric capability wise. Now you can set all sorts of complex values with the exact same keys you are using to query. 2024-04-16 10:24:57 +02:00
Andrej730 c2013a172f geometry.edit_object_placement was producing orphaned placements
It was producing orphaned IfcLocalPlacement if placement was parent to some other one. During edit_object_placement we were replacing all parent references with the new placement but wasn't removing the old one.
2024-04-16 10:24:57 +02:00
Andrej730 69daaff3e1 misspelling 😅 2024-04-16 10:24:57 +02:00
Dion Moult 93031f0fc0 Don't strictly require guids / class filters that exist in new facet selector. 2024-04-16 10:24:56 +02:00
Andrej730 4fe03230c5 root.copy_class to remove connections from previously connected ports 2024-04-16 10:24:55 +02:00
Dion Moult 7038eb887f Fix #3584. Support matching enumerated properties in new facet selector. 2024-04-16 10:24:55 +02:00
Andrej730 ce91e04166 Remove empty IfcDocumentInformationRelationship #3581 2024-04-16 10:24:55 +02:00
Dion Moult faa5a78b39 Fix #3578. Support querying surface styles in tools like IfcCSV. 2024-04-16 10:24:55 +02:00
Sigma Dimensions (Yass) 02d09a3ab0 woopsies 2024-04-16 10:24:55 +02:00
Sigma Dimensions (Yass) 79a66c47f2 fix the bug fix #07b5c49 - where counting objects controlled by a cost item stopped working 2024-04-16 10:24:55 +02:00
Dion Moult 072344a9b5 See #3579. Support Google Colab as an installation option. 2024-04-16 10:24:55 +02:00
Bruno Postle 6234adf451 fix SyntaxError: '(' was never closed 2024-04-16 10:24:55 +02:00
Sigma Dimensions (Yass) 820d2f8a9d fix api logic where only quantities of the same type can be assignmed to a cost control 2024-04-16 10:24:55 +02:00
Sigma Dimensions (Yass) b92bbf1672 fix orphaned data when unassigning element quantities from cost item control 2024-04-16 10:24:55 +02:00
Sigma Dimensions (Yass) 8dbdfa2301 WIP - Scheduling UI improvements 2024-04-16 10:24:54 +02:00
Thomas Krijnen 76235f151e Update draw.py --include-curves 2024-04-16 10:24:53 +02:00
Andrej730 040cd398cf remove_product to also remove psets for types 2024-04-16 10:24:53 +02:00
Andrej730 86b63242d8 bim.add_transition
Added simple operator to add transition between two mep segments (now only rectangular collinear segments are supported).
It also reuses the transition type that was previously used to connect segments of the same type.

Demonstration - https://imgur.com/a/c1AOxj1
2024-04-16 10:24:53 +02:00
Dion Moult 9b2455e0f0 Fix #2753. Disable mapping representations when appending assets via the ExtractElements recipe to be more forgiving (and faster) on invalid models. 2024-04-16 10:22:47 +02:00
Dion Moult 73b93e7020 Fix #3547. Bug where using existing clippings were not preserved when editing profile or wall representations. 2024-04-16 10:22:47 +02:00
arun bd1bfe548a Update create_2pt_wall.py (#3553)
* Update create_2pt_wall.py

included unit scale for use cases other than si unit

* Revised Update create_2pt_wall.py

included is_si kwarg to select between si units and other units and also changed the dtype of p1 and p2 array to float incase they are entered as integers
2024-04-16 10:22:46 +02:00
Dion Moult dca25e8475 Initial implementation of scale dependent map conversion for IFC4X3 2024-04-16 10:10:51 +02:00
Andrej730 1a88191173 remove_product to remove object placement too
previously it wasn't deleting object placement when you removed the objects (and related elements like IfcDirections etc) and working on project long enough you might had a bunch of orphaned data in it
2024-04-16 10:10:51 +02:00
Andrej730 fa3e3bc9b8 Fixed TestGetApplicableTypes after 0e69f484f 2024-04-16 10:10:51 +02:00
Andrej730 25ec0ee36c root.remove_product to remove IfcRelConnectsPorts too
previously if you deleted some flow segment that was connected to another the connection would stay resulting in invalid ifc and other bugs
2024-04-16 10:10:51 +02:00