Compare commits

..

3 Commits

Author SHA1 Message Date
Dion Moult 3e7f244100 Drop Windows 32bit support for this release as it isn't built. We can restore it in the future if needed. 2025-02-09 14:59:15 +11:00
Dion Moult da1c92c42b Bump IOS
Previous one didn't have the full matrix, so we can't release with it
2025-02-09 14:53:32 +11:00
Dion Moult 17682498da Minor UI cleanup for reorganised visibility buttons 2025-02-09 14:53:09 +11:00
9 changed files with 30 additions and 38 deletions
-4
View File
@@ -24,10 +24,6 @@ jobs:
name: "Windows 64bit",
short_name: win64,
}
- {
name: "Windows 32bit",
short_name: win32,
}
- {
name: "Linux 64bit",
short_name: linux64
@@ -25,10 +25,6 @@ jobs:
name: "Windows 64bit",
short_name: win64,
}
- {
name: "Windows 32bit",
short_name: win32,
}
- {
name: "Linux 64bit",
short_name: linux64
+1 -1
View File
@@ -85,7 +85,7 @@ BLENDER_PLATFORM:=windows-x64
endif
# Current build commit hash.
OLD:=463289e
OLD:=c49ca69
.PHONY: bump
bump:
ifndef NEW
@@ -37,8 +37,8 @@ classes = (
operator.SelectDecomposedElements,
operator.SelectProduct,
operator.SelectSimilarContainer,
operator.SetContainerVisibility,
operator.SetDefaultContainer,
operator.SetElementVisibility,
operator.ToggleContainerElement,
operator.ToggleGrids,
operator.ToggleSpatialElements,
@@ -324,7 +324,7 @@ class SelectDecomposedElements(bpy.types.Operator):
@classmethod
def description(cls, context, operator):
return "Select elements in the viewport based on the active item in the list" + "\nALT+CLICK to select all listed elements"
return "Select the active item" + "\nALT+CLICK to select all listed elements"
def invoke(self, context, event):
if event.type == "LEFTMOUSE" and event.alt:
@@ -348,9 +348,9 @@ class SetDefaultContainer(bpy.types.Operator):
return {"FINISHED"}
class SetContainerVisibility(bpy.types.Operator):
bl_idname = "bim.set_container_visibility"
bl_label = "Set Container Visibility"
class SetElementVisibility(bpy.types.Operator):
bl_idname = "bim.set_element_visibility"
bl_label = "Set Element Visibility"
bl_options = {"REGISTER", "UNDO"}
container: bpy.props.IntProperty()
should_filter: bpy.props.BoolProperty(name="Should Filter", default=True, options={"SKIP_SAVE"})
@@ -359,10 +359,10 @@ class SetContainerVisibility(bpy.types.Operator):
@classmethod
def description(cls, context, operator):
if operator.mode == "HIDE":
return "Hides the selected container and all children.\n" + "ALT+CLICK to ignore children"
return "Hides the active item\n" + "ALT+CLICK to hide all listed items"
elif operator.mode == "SHOW":
return "Shows the selected container and all children.\n" + "ALT+CLICK to ignore children"
return "Isolate the selected container and all children.\n" + "ALT+CLICK to ignore children"
return "Shows the active item\n" + "ALT+CLICK to show all listed items"
return "Isolate the active item\n" + "ALT+CLICK to isolate all listed items"
def invoke(self, context, event):
if event.type == "LEFTMOUSE" and event.alt:
+3 -3
View File
@@ -183,15 +183,15 @@ class BIM_PT_spatial_decomposition(Panel):
row = self.layout.row(align=True)
op = row.operator("bim.set_container_visibility", icon="FULLSCREEN_EXIT", text="Isolate")
op = row.operator("bim.set_element_visibility", icon="FULLSCREEN_EXIT", text="Isolate")
op.mode = "ISOLATE"
op.container = ifc_definition_id
op = row.operator("bim.set_container_visibility", icon="HIDE_OFF", text="")
op = row.operator("bim.set_element_visibility", icon="HIDE_OFF", text="")
op.mode = "SHOW"
op.container = ifc_definition_id
op = row.operator("bim.set_container_visibility", icon="HIDE_ON", text="")
op = row.operator("bim.set_element_visibility", icon="HIDE_ON", text="")
op.mode = "HIDE"
op.container = ifc_definition_id
+2 -2
View File
@@ -54,8 +54,8 @@ ifeq ($(PLATFORM), win64)
PLATFORMTAG:=win_amd64
endif
IOS_URL:=https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-$(PYNUMBER)-v0.8.1-463289e-$(PLATFORM).zip
IFCCONVERT_URL:=https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.8.1-463289e-$(PLATFORM).zip
IOS_URL:=https://s3.amazonaws.com/ifcopenshell-builds/ifcopenshell-python-$(PYNUMBER)-v0.8.1-c49ca69-$(PLATFORM).zip
IFCCONVERT_URL:=https://s3.amazonaws.com/ifcopenshell-builds/IfcConvert-v0.8.1-c49ca69-$(PLATFORM).zip
.PHONY: test
test:
@@ -14,11 +14,11 @@ Pre-built packages
1. Download the appropriate version for your operating system.
+---------------------------+-------------------------+-------------------------+---------------------------+-----------------------------+
| Linux 64bit | Windows 32bit | Windows 64bit | MacOS 64bit | MacOS M1 64bit |
+===========================+=========================+=========================+===========================+=============================+
| :ifcconvert_url:`linux64` | :ifcconvert_url:`win32` | :ifcconvert_url:`win64` | :ifcconvert_url:`macos64` | :ifcconvert_url:`macosm164` |
+---------------------------+-------------------------+-------------------------+---------------------------+-----------------------------+
+---------------------------+-------------------------+---------------------------+-----------------------------+
| Linux 64bit | Windows 64bit | MacOS 64bit | MacOS M1 64bit |
+===========================+=========================+===========================+=============================+
| :ifcconvert_url:`linux64` | :ifcconvert_url:`win64` | :ifcconvert_url:`macos64` | :ifcconvert_url:`macosm164` |
+---------------------------+-------------------------+---------------------------+-----------------------------+
2. Unzip the downloaded file and run IfcConvert using the command line.
@@ -31,17 +31,17 @@ ZIP packages
1. Choose which version to download based on your operating system, Python
version, and computer architecture.
+-------------+---------------------------------+-------------------------------+-------------------------------+---------------------------------+-----------------------------------+
| | Linux 64bit | Windows 32bit | Windows 64bit | MacOS Intel 64bit | MacOS Silicon 64bit |
+=============+=================================+===============================+===============================+=================================+===================================+
| Python 3.9 | :ios_python_url:`py39-linux64` | :ios_python_url:`py39-win32` | :ios_python_url:`py39-win64` | :ios_python_url:`py39-macos64` | :ios_python_url:`py39-macosm164` |
+-------------+---------------------------------+-------------------------------+-------------------------------+---------------------------------+-----------------------------------+
| Python 3.10 | :ios_python_url:`py310-linux64` | :ios_python_url:`py310-win32` | :ios_python_url:`py310-win64` | :ios_python_url:`py310-macos64` | :ios_python_url:`py310-macosm164` |
+-------------+---------------------------------+-------------------------------+-------------------------------+---------------------------------+-----------------------------------+
| Python 3.11 | :ios_python_url:`py311-linux64` | :ios_python_url:`py311-win32` | :ios_python_url:`py311-win64` | :ios_python_url:`py311-macos64` | :ios_python_url:`py311-macosm164` |
+-------------+---------------------------------+-------------------------------+-------------------------------+---------------------------------+-----------------------------------+
| Python 3.12 | :ios_python_url:`py312-linux64` | :ios_python_url:`py312-win32` | :ios_python_url:`py312-win64` | :ios_python_url:`py312-macos64` | :ios_python_url:`py312-macosm164` |
+-------------+---------------------------------+-------------------------------+-------------------------------+---------------------------------+-----------------------------------+
+-------------+---------------------------------+-------------------------------+---------------------------------+-----------------------------------+
| | Linux 64bit | Windows 64bit | MacOS Intel 64bit | MacOS Silicon 64bit |
+=============+=================================+===============================+=================================+===================================+
| Python 3.9 | :ios_python_url:`py39-linux64` | :ios_python_url:`py39-win64` | :ios_python_url:`py39-macos64` | :ios_python_url:`py39-macosm164` |
+-------------+---------------------------------+-------------------------------+---------------------------------+-----------------------------------+
| Python 3.10 | :ios_python_url:`py310-linux64` | :ios_python_url:`py310-win64` | :ios_python_url:`py310-macos64` | :ios_python_url:`py310-macosm164` |
+-------------+---------------------------------+-------------------------------+---------------------------------+-----------------------------------+
| Python 3.11 | :ios_python_url:`py311-linux64` | :ios_python_url:`py311-win64` | :ios_python_url:`py311-macos64` | :ios_python_url:`py311-macosm164` |
+-------------+---------------------------------+-------------------------------+---------------------------------+-----------------------------------+
| Python 3.12 | :ios_python_url:`py312-linux64` | :ios_python_url:`py312-win64` | :ios_python_url:`py312-macos64` | :ios_python_url:`py312-macosm164` |
+-------------+---------------------------------+-------------------------------+---------------------------------+-----------------------------------+
2. Unzip the downloaded file and copy the ``ifcopenshell`` directory into your
Python path. If you're not sure where your Python path is, run the following