Commit Graph

397 Commits

Author SHA1 Message Date
Andrej730 37f1f6d125 MEP bends - fixed bunch of bugs related to adjusting already existing bends types 2024-04-16 10:37:15 +02:00
Andrej730 5f94e2b251 bends - support for zero radius bends 2024-04-16 10:37:15 +02:00
Andrej730 4b48b30c3b bends - consider profile dimensions searching for compatible fitting
So basically now it won't reuse a bend fitting created for the same profile but with different dimension.
2024-04-16 10:37:15 +02:00
Andrej730 37eb1751b4 bends - adjusting compatible fitting rotation to match the segments
Demo - https://imgur.com/a/cYdWy9X (note that no bend types created in the process - it's just adjusting the type created for the first two segments).
2024-04-16 10:37:15 +02:00
Andrej730 5715a14b17 bends - use IfcArcIndex to define bends curves
instead of manually generating polylines of segments
2024-04-16 10:37:15 +02:00
Andrej730 e7b6fad348 bends - support for start and end segments 2024-04-16 10:37:15 +02:00
Andrej730 7cef9ffe0e Bends - replace faceset with simple extrusion 2024-04-16 10:37:15 +02:00
Andrej730 5180f40245 MEP bends - support for circular profiles
Demo - https://imgur.com/a/XQBOvGz
2024-04-16 10:37:15 +02:00
Dion Moult b25fae8ca8 Don't strip selector query keys to allow for explicit "mistakes" in key names. 2024-04-16 10:37:15 +02:00
Dion Moult d27e0bdf10 New util.system.get_port_element function. 2024-04-16 10:37:15 +02:00
Dion Moult cc1a2db3ff Allow optional second arguments to substr formatting. 2024-04-16 10:37:15 +02:00
Andrej730 315e8a436a MEP bends - more robust start/end points detection
also support for bends with angles > 90 degrees and some other bugs fixed
2024-04-16 10:34:30 +02:00
Andrej730 602ec57cba Considering parametric data for fitting #3695
Search for compatible fitting wasn't taking into account that maybe fitting used for the same segments but fitting's parameters are not the same (such as start_length, end_length, angle and offset between profiles).

I also forgot to promote transition angle to operator's property😬
2024-04-16 10:34:29 +02:00
Dion Moult 2762d9c47f Fix #3733. Fix round function precision error. 2024-04-16 10:34:29 +02:00
Dion Moult 073491a78a For convenience, rounding to an integer value now also casts to integer. 2024-04-16 10:34:29 +02:00
Dion Moult 678dce8fc0 Fix bug where unedited mesh objects were still tagged as edited which led to unnecessary processing prior to drawing generation or saving. 2024-04-16 10:34:29 +02:00
Dion Moult 62b2b9983f Fix #3682. You can now tag setout points with dynamic xyz / enh values. 2024-04-16 10:34:29 +02:00
Dion Moult b792fff98c New substr formatting function. 2024-04-16 10:34:29 +02:00
Dion Moult e7a90b5597 You can now choose both input and output units for imperial formatting 2024-04-16 10:34:29 +02:00
Ryan Schultz 41c6830ee0 Update ifc_classes_suggestions.json 2024-04-16 10:34:29 +02:00
Dion Moult ee2f5fc646 Revert "Spreadsheet Import/Export: Fix feet and inch formatting"
This reverts commit 921d412fc7.
2024-04-16 10:34:29 +02:00
Dion Moult fbe52287fc Revert "Small fix for feet and inch formatting on Spreadsheet Import/Export"
This reverts commit 7935bd22c2.
2024-04-16 10:34:29 +02:00
Ryan Schultz bf023370ef Small fix for feet and inch formatting on Spreadsheet Import/Export 2024-04-16 10:34:29 +02:00
Dion Moult fbad0eeac2 Fix #3705. Fix ambiguity in using commas in unquoted strings in facet selector. 2024-04-16 10:34:28 +02:00
Andrej730 98503179d9 bim.mep_add_bend
Added operator to create bend fittings between objects, it's still work in progress and now it only supports rectangular profiles.

Small demo - https://imgur.com/a/vM7hnJa
2024-04-16 10:33:34 +02:00
Ryan Schultz 676b16bc29 Spreadsheet Import/Export: Fix feet and inch formatting 2024-04-16 10:26:51 +02:00
Andrej730 f573871493 shape_builder docs test 2024-04-16 10:26:51 +02:00
Dion Moult 8114df0263 Write documentation describing facet selector and element query syntax. 2024-04-16 10:25:02 +02:00
Dion Moult 628005333d Minor fixes, and IfcCSV now uses pandas to import ODS/XLSX for more robust importing. 2024-04-16 10:25:02 +02:00
Dion Moult 2298201e50 Selector element key queries now allow for regex matching, and single regex matches return that only item, not a list with one item in it. 2024-04-16 10:25:02 +02:00
Dion Moult a30b2dff31 Fix #3587. IfcCSV now supports custom formatting functions. 2024-04-16 10:25:02 +02:00
Dion Moult 6721468bcf Fix incorrect implementation of regex matching 2024-04-16 10:25:02 +02:00
Dion Moult f4fda85dfa Accommodate invalid Revit models where they have invalid material relationships. 2024-04-16 10:25:02 +02:00
Sigma Dimensions (Yass) a29ae07b72 updating a duration will not auto update schedule usage 2024-04-16 10:25:01 +02:00
Andrej730 f92709dadd Fixed bug in shape_builder.mep_transition_calculate
it wasn't taking account that `h` can also end up negative
2024-04-16 10:25:01 +02:00
Sigma Dimensions (Yass) b27262f81f Resource Features :
- Adding/removing and edit productivity data is now easier (+ cleaner UI)
- Pressing calculate schedule work on a parent resource will default to calculating its nested resources schedule work.
- Show derived Schedule Work for a parent resource
- Improve apperance of Resource Tree Structure
2024-04-16 10:25:01 +02:00
Dion Moult f8b3b3a54f Fix #3627. Bug where exclude didn't take into account entities are "OR" not "AND". Whoops. 2024-04-16 10:25:01 +02:00
Sigma Dimensions (Yass) 39d072d0ca Calculates the number of resources based on required person-hours. 2024-04-16 10:25:00 +02:00
Andrej730 8bb1a129dd fixed bug in mep transitions
it wasn't taking into account that offset can be too big to sustain the angle
2024-04-16 10:25:00 +02:00
Andrej730 4e47827b86 added tests for shape builder transition length calculator 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
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
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 331b9cc440 See #3587. IfcCSV now supports custom header titles. 2024-04-16 10:24:58 +02:00