I got a lot of scripts that run... And 99% of the time is lost on one operation in one of my scripts :
def func_cut_boolean_modifier(obj,nameplate_size):
active_obj=obj
func_activate_object(active_obj)
bpy.ops.object.transform_apply(location=False, rotation=True, scale=True)
remover_element = "remover " + nameplate_size
bpy.ops.object.modifier_add(type='BOOLEAN')
bpy.context.object.modifiers["Boolean"].object = bpy.data.objects[remover_element]
bpy.context.object.modifiers["Boolean"].solver = 'EXACT'
bpy.ops.object.modifier_apply(modifier="Boolean")
func_activate_object(active_obj)
The modifier_apply
is eating all. It's a simple function on a boolean. How can solve that problem?
Thanks for the help...
'FAST'
, or see if you can achieve the result without using boolean... It's hard to advice anything else without seeing what you use your boolean on. $\endgroup$'EXACT'
. If you're cutting with cubes, perhaps you can just write a script in Python that makes two plane cuts where the cubes would cut, removes all vertices in a given coordinate range, and then create faces from vertices laying on the planes that were used to cut. This should be much faster than boolean. A boolean will probably work slower if you have more vertices... $\endgroup$