Blender Script loopcutslide operation returns error

Joined
Jun 15, 2023
Messages
1
Reaction score
0
Hi I am consistently getting the following error message:
Python: Traceback (most recent call last):

File "C:\Users\myuser\OneDrive\Documents\somethingprivate\Diagram1.blend\script.py", line 105, in <module>

File "C:\Program Files\Blender Foundation\Blender 3.5\3.5\scripts\modules\bpy\ops.py", line 111, in call

ret = _op_call(self.idname_py(), C_dict, kw, C_exec, C_undo)

RuntimeError: Operator bpy.ops.mesh.loopcut_slide.poll() expected a view3d region & editmesh

It's obviously about a loopcut_slide function I need to bend a mesh along a curve or whatever you can call it.

So here is the script:


Had to make it in a pastebin because with the code there are too many characters in the question description.

Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top