Commit Graph

84 Commits

Author SHA1 Message Date
Andrej730 9cb76a092f typing 2024-04-17 14:54:41 +02:00
Andrej730 edce320756 utils.filter_elements docs and tests 2024-04-17 14:46:06 +02:00
Dion Moult 9de06fbd6e Fix #4300. You can now select spatial elements by their location too. 2024-04-17 14:42:54 +02:00
Dion Moult 608147c245 Fix #4195. Fix regressions from f840da3 and add support for "contains string" comparisons. 2024-04-16 11:26:36 +02:00
c4rlosdias 43259c0124 Added more comparisons in search 2024-04-16 11:26:36 +02:00
Dion Moult f55b7d439f Fix bug where updating type text literals didn't propagate and formatting rounding null values wasn't handled. 2024-04-16 11:26:35 +02:00
Dion Moult 009d1a0aba Add support for groups in selection queries 2024-04-16 11:25:27 +02:00
Ryan Schultz b847656e69 Added classification to selector 2024-04-16 11:10:59 +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 cc1a2db3ff Allow optional second arguments to substr formatting. 2024-04-16 10:37:15 +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
Dion Moult fbad0eeac2 Fix #3705. Fix ambiguity in using commas in unquoted strings in facet selector. 2024-04-16 10:34:28 +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 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
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
Dion Moult 331b9cc440 See #3587. IfcCSV now supports custom header titles. 2024-04-16 10:24:58 +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
Dion Moult 93031f0fc0 Don't strictly require guids / class filters that exist in new facet selector. 2024-04-16 10:24:56 +02:00
Dion Moult 7038eb887f Fix #3584. Support matching enumerated properties in new facet selector. 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
Dion Moult aa325d521b You can now save, load, and create custom colour legends of properties 2024-04-16 10:05:50 +02:00
Dion Moult 4396f937b5 You can now load and save searches from the search panel 2024-04-16 10:05:50 +02:00
Dion Moult 7fec467565 Implement guid facet in facet selector 2024-04-16 10:05:50 +02:00
Dion Moult 62c120e4bb New facet based selector syntax. Proposed to supersede existing selector syntax. 2024-04-16 10:05:50 +02:00
Dion Moult f1e3fb38ad See #3334. Fix some get_pset implementation errors in 64516a1 2024-04-15 13:30:40 +02:00
Dion Moult 30bff7e9c5 Fix #3113. Support regex in selector filter values. 2024-04-15 09:58:26 +02:00
Dion Moult b8431a8c33 Fix failing tests in preparation for release. 2024-04-15 09:56:38 +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 9707a2b2f6 Fix #2945. Selector should expand enumerated list properties so that you can match any of them. 2024-04-15 09:25:50 +02:00
Dion Moult dff33632ae See #2881. Allow indices in the selector instead of relying on external evaluations. 2024-04-15 09:25:49 +02:00
Dion Moult c87911f00e IFC selector now uses "class" as a keyword to get the IFC class to disambiguate between "type" and "class". 2023-03-27 21:47:11 +11:00
Dion Moult b9c99b35a5 Fix #2881. Support added for referencing nested relationships and material set items. 2023-03-25 22:07:18 +11:00
Dion Moult 1250a20e35 Fix #2858. Fix #2856. BlenderBIM Add-on drawings and IfcCSV now support the new quoted and escaped selector capabilities. 2023-03-13 11:09:56 +11:00
Dion Moult 4ebcf8133c Fix #2435. The selector now supports regex filtering. 2023-03-09 11:07:28 +11:00
Dion Moult a43a3d1ecd Fix #2745. You can now quote and escape complex pset names in the selector. 2023-03-06 17:47:03 +11:00
Dion Moult 396fd5520f Fix #2349. Be more defensive on invalid smart annotations. 2023-01-29 15:15:00 +11:00
Sigma Dimensions a5ca7c540f remove useless lines and run quality check black 2023-01-20 21:39:24 +01:00
Sigma Dimensions c9b0a7c3de Attempt to fix selector bug where retrieving material values gets caught in exception 2023-01-20 21:23:40 +01:00
Boris Brangeon 83bd0a973c Add function grouped_by in Selector (#2515) 2022-10-19 18:49:06 +11:00