Commit Graph

3816 Commits

Author SHA1 Message Date
Dion Moult 7742e4da45 IfcDiff now uses the new selector syntax with the new UI 2024-04-18 10:48:21 +02:00
Dion Moult e2102cd2c7 Fix #4306. Remove superseded selector UI. 2024-04-18 10:48:21 +02:00
Ryan Schultz d7317d27ab added search for styles - in BIM_PT_representation_items 2024-04-18 10:48:21 +02:00
Dion Moult a56ad31571 More minor doc changes and polish 2024-04-18 10:48:06 +02:00
Dion Moult 589a725747 Fix #4265. Bug where when loading a saved filter it showed an unnecessary = comparison (which is by default). 2024-04-18 10:48:06 +02:00
Dion Moult 7f70b79f2a Minor doc fixes 2024-04-18 10:48:06 +02:00
Dion Moult 5fbdc9e7fb Fix #4461. Write documentation on how to build and edit documentation. 2024-04-18 10:48:06 +02:00
Dion Moult a6ae609a6a Fix #4318. Theme docs to match website branding and add edit button, footer links, and icons. 2024-04-18 10:48:06 +02:00
Dion Moult 2037a5a46b Fix bug where loading drawings didn't correctly link shared meshes (e.g. from a type of an annotation) 2024-04-18 10:48:06 +02:00
Andrej730 ad045f5ad7 import referenced drawings activating the current drawing #4478 2024-04-18 10:48:06 +02:00
Andrej730 258d38393f typing 2024-04-18 10:48:06 +02:00
Andrej730 7cd400dc8e Fix #4477 2024-04-18 10:47:36 +02:00
Dion Moult 948799698e Fix #4368. Update to latest Brickschema alpha to cut dep size 2024-04-18 10:47:36 +02:00
Dion Moult 93d44041bf See #4473. Cull entourage library.
We haven't confirmed the legality of the other assets.
2024-04-18 10:47:36 +02:00
Dion Moult 4f66fdd339 Fix #4411. Fallback to absolute paths if relative paths fail. 2024-04-18 10:47:36 +02:00
Andrej730 12a1f8b5f0 Fix invalid profiles after subdividing edges near arcs #4471 2024-04-18 10:47:36 +02:00
Andrej730 e9b8edb5b2 use blender units subtype for cad props 2024-04-18 10:47:36 +02:00
Andrej730 0460c5c640 typing, format 2024-04-18 10:47:36 +02:00
Dion Moult 4584430a5f Minor doc fixes to refer to Mac intel and silicon 2024-04-18 10:45:31 +02:00
Dion Moult d5c2085366 Clash results now are sorted and show text overlays of clash type and distance 2024-04-18 10:45:31 +02:00
Dion Moult a2ff97e5e7 Fix bug where hidden elements weren't selected sometimes 2024-04-18 10:45:31 +02:00
Dion Moult 44adf92392 Bump IfcOpenShell and remove py37 py38 from installation docs 2024-04-18 10:45:31 +02:00
Andrej730 a37c87cf4c Fix tests involving changes in Blender 4.1 (will fail on Blender <4.1)
Basically in Blender 4.1 they've changed a way renaming IDs works if name already existed before and those tests will stop working on Blender <4.1, see https://projects.blender.org/blender/blender/issues/119955
2024-04-18 10:45:31 +02:00
Andrej730 e2b22369f1 tests - reduce precision to our usual Cad tool precision to fix some tests 2024-04-18 10:45:31 +02:00
Andrej730 bdfdac24e1 Fix test in 1c1035e
tag @brunoperdigao for information
2024-04-18 10:45:31 +02:00
Andrej730 a7ed8e4328 black format 2024-04-18 10:45:30 +02:00
Dion Moult 321fcf0848 New entourage library including people and cars 2024-04-18 10:45:30 +02:00
Dion Moult 2c169fdc24 Forgot to commit clash tool 2024-04-18 10:43:02 +02:00
Dion Moult 94bad4c4cb Switch over clash to latest add_element signature 2024-04-18 10:43:02 +02:00
Andrej730 4f92b3587c fix styles tests 2024-04-17 15:00:40 +02:00
Andrej730 6acdadba75 Fix tests, clean up file creating empty project
To fix tests changed bim.unlink_object not to unlink original blender materials as they might be used elsewhere.
2024-04-17 15:00:40 +02:00
Andrej730 6d6c9e19b9 restore accidentally unregistered operator in 9be7d95 (caused issue in tests) 2024-04-17 15:00:40 +02:00
Andrej730 edd8d5470e small optimization
not to calculate each quantity twice
2024-04-17 15:00:40 +02:00
Andrej730 d5384e76eb fix tests 2024-04-17 15:00:39 +02:00
Andrej730 7cfeaa6047 typing 2024-04-17 15:00:39 +02:00
Andrej730 91765d3156 fix test after 7634e71 2024-04-17 15:00:39 +02:00
Gorgious56 ac72534ae0 You can now select only the aggregate or the aggregate and all its part using the interface 2024-04-17 14:58:13 +02:00
Dion Moult 9f43e9422a Blender IfcClash interface now supports new IfcClash modes
The dumb clash manager has been merged in with the main clash sets window. Loading and saving clashes now also bring in clash results, so the dumb clash manager's load/save is being deprecated. New decorator highlights clash result visually.
2024-04-17 14:58:13 +02:00
Andrej730 71013a48d4 Fix hiding annotation objects without repr on drawing activation 2024-04-17 14:58:13 +02:00
Andrej730 98e0070be7 typing 2024-04-17 14:58:13 +02:00
Andrej730 9ae39f1edc fix duplicated function names in test_feature 2024-04-17 14:58:13 +02:00
Andrej730 1a449905f4 fix linked ifc selectability toggle 2024-04-17 14:58:13 +02:00
Andrej730 2fadfc8eff fix load/unload linked ifc tests 2024-04-17 14:58:13 +02:00
Andrej730 4a513e1e41 fix linked ifc visibility toggle tests 2024-04-17 14:58:13 +02:00
Andrej730 812c2652d3 fix linked ifc wireframe mode toggle 2024-04-17 14:58:13 +02:00
tim ca50044dba Remove object text from subheadings (#4445)
https://github.com/IfcOpenShell/IfcOpenShell/issues/4312
2024-04-17 14:58:13 +02:00
Bruno Postle 6944c247ca Drawings panel: fix select_all_drawings operator
Previously it always deselected all drawings, now works as advertised
2024-04-17 14:54:42 +02:00
Andrej730 aee264b587 black format 2024-04-17 14:54:42 +02:00
Andrej730 4490efc017 Fix ifc linking tests 2024-04-17 14:54:42 +02:00
Andrej730 37e06338c4 Fix issue removing material set
1) core.remove_material_set were removing material set and calling material_tool.get_active_material_type()
2) material_tool.get_active_material_type() called MaterialsData which failed with the traceback below since props.materias[current_index] had ifc id that were just removed

Traceback (most recent call last):
  File "\prop.py", line 96, in get_material_types
    MaterialsData.load()
  File "\data.py", line 43, in load
    "active_styles": cls.active_styles(),
                     ^^^^^^^^^^^^^^^^^^^
  File "\data.py", line 119, in active_styles
    material = tool.Ifc.get().by_id(material)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File \blenderbim\libs\site\packages\ifcopenshell\file.py", line 411, in by_id
    return self[id]
           ~~~~^^^^
  File \blenderbim\libs\site\packages\ifcopenshell\file.py", line 396, in __getitem__
    return entity_instance(self.wrapped_data.by_id(key), self)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File \blenderbim\libs\site\packages\ifcopenshell\ifcopenshell_wrapper.py", line 4619, in by_id
    return _ifcopenshell_wrapper.file_by_id(self, id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Instance # 66 not found
File "\prop.py", line 94, in get_material_types
WARN (bpy.rna): C:\Users\blender\git\blender-v410\blender.git\source\blender\python\intern\bpy_rna.cc:1366 pyrna_enum_to_py: current value '2' matches no enum in 'BIMMaterialProperties', '', 'material_type'
2024-04-17 14:54:42 +02:00