Commit Graph

13339 Commits

Author SHA1 Message Date
Andrej730 fabebb4ff6 use IFC4X3_ADD2 for ifcopenshell.schema_by_name
as it is the main IFC4X3 schema
2024-04-22 17:31:49 +05:00
Andrej730 aeb64acc07 util.doc - use release schema version for IFC4X3
As it will be more like to be available in the ifcopenshell package. Related to #4565
2024-04-22 17:31:49 +05:00
Andrej730 f94aecbbff typing 2024-04-22 17:31:49 +05:00
Andrej730 d33fdbba69 small optimization 2024-04-22 17:31:49 +05:00
Andrej730 0ddbcd98ea use column-major reshape for matrices #4565 2024-04-22 17:31:16 +05:00
Thomas Krijnen 133b420a54 Preliminary changes to blenderbim for v0.8 #4565 2024-04-21 13:35:18 +02:00
Thomas Krijnen 4f9f3d1856 Work around for obtaining instance id that blenderbim expects for materials 2024-04-21 13:34:25 +02:00
Thomas Krijnen 71c9066dc7 Fallback to C++ impl of IfcAxis2PlacementLinear #4565 2024-04-21 11:27:22 +02:00
Thomas Krijnen 0793ae539e Merge remote-tracking branch 'origin/v0.7.0' into v08attempt1 2024-04-21 11:26:06 +02:00
Thomas Krijnen 595ef3f009 Allow passing setting enums as naked int 2024-04-21 10:19:17 +02:00
Thomas Krijnen 889ed3bb07 Change 'template template' to param pack to make clang happy 2024-04-20 13:22:13 +02:00
Thomas Krijnen 053c80a577 Uncomment debugging code 2024-04-20 13:21:50 +02:00
Bruno Postle 3ef823db23 Regenerate missing sheets #4462
BlenderBIM will regenerate missing SVG drawings from the IFC on demand,
now it attempts to regenerate missing SVG sheets too. ie. you can open a
bare IFC file with configured drawings and sheets and continue working.

Only drawings are recognised, spreadsheet and other SVG refs are not
regenerated, all drawings are placed at the 30,30 pixel location.
blenderbim-240420
2024-04-20 11:56:22 +01:00
Thomas Krijnen dafc321ea1 template and typename keywords to keep gcc happy 2024-04-19 21:44:54 +02:00
Thomas Krijnen 9272a9ed1f Missing template keyword 2024-04-19 20:40:59 +02:00
Thomas Krijnen 29998e3f57 Option to convert placements via convert_shape() #4565 2024-04-19 20:23:59 +02:00
Andrej730 60a70f5236 support IfcAxis1Placement and warn on IfcAxis2PlacementLinear #4565 2024-04-19 17:11:56 +05:00
Andrej730 757a010172 typing 2024-04-19 16:18:57 +05:00
Andrej730 447625bffd fix failing test in util.selector.format with imperial_length
the error is below, not sure how I haven't noticed it before 🤔

assert subject.format('imperial_length(1, 1)') == "1'"

>               raise VisitError(tree.data, tree, e)
E               lark.exceptions.VisitError: Error trying to process rule "imperial_length":
E
E               cannot access local variable 'output_unit' where it is not associated with a value
2024-04-19 16:18:46 +05:00
Andrej730 25edaa9b89 update broken url for ladybug tools
temporarily use fork repo
2024-04-19 16:07:29 +05:00
Andrej730 9da4215bac ifcopenshell.util.selector.filter_elements - inherited predefined types
mentioned by @theoryshaw on osarch - https://community.osarch.org/discussion/comment/20126/#Comment_20126
2024-04-19 16:05:33 +05:00
Ryan Schultz 6ddf91fb52 bim.select_aggregate(select_parts=True) - selects all the host aggreg… (#4552)
- bim.select_aggregate(select_parts=True) - selects all the host aggregates and all the parts and subaggregates within these host aggregates
- bim.select_linked_aggregates(select_parts=False) - selects all the host aggregates that are linked
- bim.select_linked_aggregates(select_parts=True) - selects all the host aggregates that are linked and all the parts and subaggregates within these host aggregates
blenderbim-240419
2024-04-18 21:08:46 -05:00
Dion Moult 28eb2cd628 Fix dateutil dependency 2024-04-19 08:51:55 +10:00
Thomas Krijnen d24d781674 Merge remote-tracking branch 'origin/v0.7.0' into v08attempt1 2024-04-18 21:39:33 +02:00
Thomas Krijnen c2a47e95ce Merge commit '5a8209e2ad6873374452' into v08attempt1 2024-04-18 21:39:05 +02:00
Thomas Krijnen ffe1442974 Fixes after settings rework 2024-04-18 21:36:45 +02:00
Thomas Krijnen 29fd32be75 Fixes after settings rework 2024-04-18 21:15:40 +02:00
Thomas Krijnen 0edfb0e791 Settings rework for plan/model/context and interfacing with python 2024-04-18 21:04:02 +02:00
Dion Moult fa4239159d Fix incorrect dateutil dependency 2024-04-18 23:39:25 +10:00
Thomas Krijnen b62b328f1d Address minor unaddressed consequences of merge 2024-04-18 12:11:25 +02:00
Thomas Krijnen 745f7674ff Update clash code to conform to v0.8 2024-04-18 12:02:22 +02:00
Thomas Krijnen 4828db0f6c Merge branch 'v0.8.0' of https://github.com/IfcOpenShell/IfcOpenShell into v08attempt1 2024-04-18 11:45:07 +02:00
Thomas Krijnen 1e5f7c93fa Some changes left-over after conflict resolution 2024-04-18 10:48:25 +02:00
Dion Moult ad01945561 Fix #4549. Drawing decorators are now refreshed like the rest of the UI after operations. 2024-04-18 10:48:25 +02:00
Dion Moult 9090b0866b Fix #4486. Sync camera properties from IFC on both drawing load as well as drawing activation.
Also there are now defaults in case pset values don't exist.
2024-04-18 10:48:25 +02:00
Dion Moult f11538ee37 Fix #3402. 2024-04-18 10:48:25 +02:00
Dion Moult 608904325a Fix #4525. Fix #4546. Specify dependencies for ifcopenshell and ifcpatch.
No longer optional for a better first experience. They aren't huge deps.
2024-04-18 10:48:25 +02:00
Dion Moult c2bb57d7de See #4546. Fix docs link to filtering elements query syntax. 2024-04-18 10:48:25 +02:00
Dion Moult 1e1451de03 See #4541. Clarify how to use include args for IfcConvert 2024-04-18 10:48:25 +02:00
Dion Moult f82a8f34c0 Fix #4550. Update doc urls. 2024-04-18 10:48:25 +02:00
Andrej730 ef6dfc3fec Update BBIM version in docs 2024-04-18 10:48:25 +02:00
Andrej730 657ff30883 material.unassign_material - support batching #4474 2024-04-18 10:48:25 +02:00
Andrej730 cd25a50e96 material.assign_material - support batching #4474 2024-04-18 10:48:25 +02:00
Andrej730 5562f35ed1 material.assign_material - update owner history 2024-04-18 10:48:25 +02:00
Andrej730 9e310318d4 ifcpatch - add ifc2x3 tests and test for MergeDuplicateTypes 2024-04-18 10:48:25 +02:00
Andrej730 67a6e4d258 typing 2024-04-18 10:48:25 +02:00
Dion Moult 09578b2fd6 Fix #4526. Bug when exporting IfcTester results to BCF due to new "failures" attribute. 2024-04-18 10:48:25 +02:00
Dion Moult a752abf0a5 See #4541. Add documentation examples on how to use include filters in IfcConvert. 2024-04-18 10:48:25 +02:00
Andrej730 3478db67b9 system.unassign_system - support batching #4474 2024-04-18 10:48:25 +02:00
Andrej730 9ee5cb7180 system.assign_system - support batching #4474 2024-04-18 10:48:25 +02:00