From d88327ac12c7fca3abf36ac2086d92a5aba0cfb8 Mon Sep 17 00:00:00 2001 From: anson-liu Date: Mon, 17 Jul 2023 02:12:55 +0200 Subject: [PATCH 1/3] Update object_boolean_tools.py --- object_boolean_tools.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/object_boolean_tools.py b/object_boolean_tools.py index a1090ce5e..067986b9f 100644 --- a/object_boolean_tools.py +++ b/object_boolean_tools.py @@ -140,6 +140,7 @@ def Operation(context, _operation): clone.local_view_set(space_data, True) sliceMod = clone.modifiers.new("BTool_" + selObj.name, "BOOLEAN") # add mod to clone obj + sliceMod.solver = "FAST" sliceMod.object = selObj sliceMod.operation = "DIFFERENCE" clone["BoolToolRoot"] = True @@ -148,6 +149,7 @@ def Operation(context, _operation): newMod.object = selObj if _operation == "SLICE": + newMod.solver = "FAST" newMod.operation = "INTERSECT" else: newMod.operation = _operation -- 2.30.2 From 7e16a78bbf3b7febf24ba2af0202c7f30c17f707 Mon Sep 17 00:00:00 2001 From: anson-liu Date: Mon, 17 Jul 2023 02:41:03 +0200 Subject: [PATCH 2/3] Update booltool solver to Fast Blender now defaults to Exact instead of Fast solver for boolean modifiers and Slice operation in booltool does not work correctly. This sets to solver to Fast to get the expected slicing behavior again. --- object_boolean_tools.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/object_boolean_tools.py b/object_boolean_tools.py index 067986b9f..382920d25 100644 --- a/object_boolean_tools.py +++ b/object_boolean_tools.py @@ -5,8 +5,8 @@ bl_info = { "name": "Bool Tool", "author": "Vitor Balbio, Mikhail Rachinskiy, TynkaTopi, Meta-Androcto, Simon Appelt", - "version": (0, 4, 1), - "blender": (2, 80, 0), + "version": (0, 4, 2), + "blender": (3, 5, 0), "location": "View3D > Sidebar > Edit Tab", "description": "Bool Tool Hotkey: Ctrl Shift B", "doc_url": "{BLENDER_MANUAL_URL}/addons/object/bool_tools.html", @@ -147,6 +147,7 @@ def Operation(context, _operation): newMod = actObj.modifiers.new("BTool_" + selObj.name, "BOOLEAN") newMod.object = selObj + #newMod.solver = "FAST" if _operation == "SLICE": newMod.solver = "FAST" @@ -555,6 +556,7 @@ class Auto_Boolean: def boolean_mod(self, obj, ob, mode, ob_delete=True): md = obj.modifiers.new("Auto Boolean", "BOOLEAN") md.show_viewport = False + md.solver = "FAST" md.operation = mode md.object = ob @@ -1299,4 +1301,4 @@ def unregister(): if __name__ == "__main__": - register() + register() \ No newline at end of file -- 2.30.2 From b4436cdb17525641bb3792be995dee54d26fd17a Mon Sep 17 00:00:00 2001 From: anson-liu Date: Mon, 17 Jul 2023 02:42:38 +0200 Subject: [PATCH 3/3] Cleanup comment --- object_boolean_tools.py | 1 - 1 file changed, 1 deletion(-) diff --git a/object_boolean_tools.py b/object_boolean_tools.py index 382920d25..7d8a86a92 100644 --- a/object_boolean_tools.py +++ b/object_boolean_tools.py @@ -147,7 +147,6 @@ def Operation(context, _operation): newMod = actObj.modifiers.new("BTool_" + selObj.name, "BOOLEAN") newMod.object = selObj - #newMod.solver = "FAST" if _operation == "SLICE": newMod.solver = "FAST" -- 2.30.2