Page MenuHome

Default Boolean Difference
Closed, ArchivedPublic

Description

System Information
Operating system:
Graphics card:

Blender Version
Broken: (example: 2.80, edbf15d3c044, master, 2018-11-28, as found on the splash screen)
Worked: (newest version of Blender that worked as expected)

2.91... Is it possible to please change the default boolean modifier to the "Fast" one (which is the previous version)? My python scripts for all my add-ons uses the boolean difference (bpy.ops.object.modifier_add(type='BOOLEAN')) , which in 2.91 calls up the "Exact" and takes 5 minutes for each cut operation. This causes many problems. Perhaps it may be better for users to select the "Exact" if they require it. Thank you.

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

Event Timeline

Have you tried something like this?

if bpy.app.version >= (2, 91, 0):
    bpy.data.objects['Cube'].modifiers['Boolean'].solver='FAST'

Defaults changing for new options in a new version isn't a bug.

Perhaps it may be better for users to select the "Exact" if they require it.

Better for users to have a boolean that works properly by default and more performance if necessary.

Perhaps the best would be to leave the choice between the two modes in the preferences.
Not everyone has a war machine and it would be nice to think of them too.
Using KitOps with the Exact Solver by default looks like hell !! Must change the solver each time using a new cutter, pain in the ass ...

Have you tried something like this?

if bpy.app.version >= (2, 91, 0):
    bpy.data.objects['Cube'].modifiers['Boolean'].solver='FAST'

Hi, Erik85, how I can use this code on blender? I don't know pyton..

Thanks