Commit Graph

9080 Commits

Author SHA1 Message Date
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
Christoph Mellueh cac6ea6263 add build to Makefile and use it in bcf-pypi Workflow 2024-04-16 10:26:51 +02:00
Andrej730 f7b46f1265 fill-bg for text instead of the entire symbol by default #3594
Before - https://i.imgur.com/OsQycgW.png
After - https://i.imgur.com/rZvXIoT.png
2024-04-16 10:26:51 +02:00
Chetan 76708dd8ce Create constants ELEMENT_ARRAY_BUFFER and ARRAY_BUFFER to allow for more descriptive bufferview construction. Change the bufferViewId variable from a static variable to a member variable because python instances of IfcOpenShell can have multiple serializers open at any given time. This commit also includes some minor code reformatting and code comments explaining the changes done. Finally integer constants GLB_FILE_HEAER, GLB_JSON_HEADER, GLB_BINARY_CHUNK_HEADER were added to make the glb file header creation more descriptive 2024-04-16 10:26:48 +02:00
Chetan f4cce9878f Give each accessor its own buffer view to improve the memory and rendering efficiency of the glb file 2024-04-16 10:25:02 +02:00
Sigma Dimensions (Yass) f7609132b4 run black and fix silly code #3652 2024-04-16 10:25:02 +02:00
Sigma Dimensions (Yass) 2e5819ca0a you can now reload linked IFCs #3652 2024-04-16 10:25:02 +02:00
Sigma Dimensions (Yass) 2e8a282276 Move grids panel under Project Setup 2024-04-16 10:25:02 +02:00
Dion Moult 8114df0263 Write documentation describing facet selector and element query syntax. 2024-04-16 10:25:02 +02:00
Dion Moult 4463b44d63 Bump IOS and enable unify inputs. 2024-04-16 10:25:02 +02:00
Dion Moult 54a0e4ebff Minor fix to use new regex syntax in select similar dialog. 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
Gorgious56 8f19e04ccc Fix #3641 : Error when creating roof type 2024-04-16 10:25:02 +02:00
Thomas Krijnen 0b673f725e #3158 Fix unify inputs 2024-04-16 10:25:02 +02:00
Thomas Krijnen b4045aa960 Update draw.py --with-unify-inputs [True] 2024-04-16 10:25:02 +02:00
Andrej730 4dba048fa0 small info message on bim.get_representation_ifc_parameters
just to notify that it worked but haven't found any parameters
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 279ddc639b Fix #3635. Minor fix. 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
Dion Moult 1fc4b921e6 Fix failing tests and optimise brick tests. 2024-04-16 10:25:02 +02:00
Andrej730 f3e38e8884 fixed errors after 13309cb8c #3624
for example it was throwing errors when using WindowTool you selected a wall and it would try to assign current type to wall
2024-04-16 10:25:01 +02:00
rileywong311 42be4344a1 Update core/test_brick.py 2024-04-16 10:25:01 +02:00
rileywong311 97ee85aa87 Update tool/test_brick.py 2024-04-16 10:25:01 +02:00
rileywong311 99b99fbf2c Fix bug where split screen selection from previous page is out of range on the next 2024-04-16 10:25:01 +02:00
rileywong311 c27d9ad382 Undo indentation from commit <e08283350> (did not account for no name existing) 2024-04-16 10:25:01 +02:00
rileywong311 7220dd024e Fix Brick core
- Refresh viewer now reloads both screens by default
- Rename "add_namespace" to "add_brick_namespace"
- Fix error where "view_brick_class" was run instead of "brick.run_view_brick_class"
2024-04-16 10:25:01 +02:00
rileywong311 6aa6f91be4 Update core\tool.py for Brick 2024-04-16 10:25:01 +02:00
rileywong311 d44e5987d2 Fix Brick tool
- Data is now stored regularly and parsed in props
- "get_convertable_brick_spaces" returns a set
- "export_brick_attributes" always returns a tuple of strings
2024-04-16 10:25:01 +02:00
rileywong311 fe8e370b8c Fix brick.feature
For one particular, I removed "And I set 'scene.BIMRootProperties.new_brick_relation_type' to 'hasPart'". Although it should really be "https://brickschema.org/schema/Brick#hasPart" to begin with, it was still failing the test. So removing it as a work around.
2024-04-16 10:25:01 +02:00
rileywong311 1f48281177 Refactor UI get_brick_relations 2024-04-16 10:25:01 +02:00
rileywong311 fd948e9481 Fix condition for hiding "view_brick_item" 2024-04-16 10:25:01 +02:00
rileywong311 529dc4d984 Rename 'add_brick_failed" to "add_brick_relation_failed" 2024-04-16 10:25:01 +02:00
rileywong311 1e6d86b4d7 Fix indentation for assign Brick reference 2024-04-16 10:25:01 +02:00
Gorgious 2ff4aba6cc Fix #3636 : Check if representation class exists before testing if it's a circle extrusion representation 2024-04-16 10:25:01 +02:00
Sigma Dimensions (Yass) a29ae07b72 updating a duration will not auto update schedule usage 2024-04-16 10:25:01 +02:00
Andrej730 dd02925cc4 Fixed bug adding ports to the transitions between profiles with an offset
end port ended up located without the offset
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
Andrej730 dcfd790a07 Fixed bug with segments incorrectly adjusted after adding transition
If transition was really long comparing to segments length then DumbProfileJoiner.join_E would start change their their length in unexpected way - ATSTART when you'd still expect ATEND and vice versa.

Also fixed the bug when segments length was incorrectly calculated - it wasn't calculating it world space when it makes more sense here to calculate it by local segments Z axis.
2024-04-16 10:25:01 +02:00
Dion Moult feec0e2437 Fix more failing tests. 2024-04-16 10:25:01 +02:00
Sigma Dimensions (Yass) 7b52e359f2 fix bug where nested resources in task ICOM panel didn't show 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
Gorgious56 66dbd7d8e7 Prevent user from editing the mesh of a circle based extrusion 2024-04-16 10:25:01 +02:00
Dion Moult 1c016c4212 See #3581. Fix failing IOS tests. 2024-04-16 10:25:01 +02:00
Christoph Mellueh 50d0d16351 rename File and unify with ci-ifctester-pypi 2024-04-16 10:25:01 +02:00
Andrej730 eb95bdd21e Fixed #3624 - tools props were updating only for BIM Tool
It wasn't taking into account WallTool, BeamTool and all other tools we have.
2024-04-16 10:25:01 +02:00
Andrej730 966a04e053 Update currently selected ifc class and type on selecting object
Had this idea for awhile now and heard it multiple times from other people. Please give feedback if this feature gets in the way instead of helping.

Example - https://imgur.com/a/K4hz2FB
2024-04-16 10:25:01 +02:00
Andrej730 8ff760261b A button to jump back from boolean to the original object
Example - https://imgur.com/a/A3dVbFM
2024-04-16 10:25:01 +02:00