Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Knife Tool Broken #50

Open
DNollChimera opened this issue Jan 18, 2022 · 3 comments
Open

Knife Tool Broken #50

DNollChimera opened this issue Jan 18, 2022 · 3 comments

Comments

@DNollChimera
Copy link

Knife Tool seems to be broken. I only get Error messages when i want to use it

@AVA3d
Copy link

AVA3d commented May 30, 2022

Confirming, it is broken in Blender 3.1

Error: Python: Traceback (most recent call last):
File "C:\Users\ \AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\PolyQuilt\pq_operator.py", line 172, in modal
raise e
File "C:\Users\ \AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\PolyQuilt\pq_operator.py", line 168, in modal
val = self.update( context, event)
File "C:\Users\ \AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\PolyQuilt\pq_operator.py", line 205, in update
ret = self.currentSubTool.Update(context, event)
File "C:\Users\ \AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\PolyQuilt\subtools\subtool.py", line 97, in Update
ret = subTool.Update(context , event)
File "C:\Users\ \AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\PolyQuilt\subtools\subtool.py", line 116, in Update
ret = self.OnUpdate(context,event)
File "C:\Users\ \AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\PolyQuilt\subtools\subtool_makepoly.py", line 252, in OnUpdate
self.LMBEvent.Update( context , event )
File "C:\Users\ \AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\PolyQuilt\utils\mouse_event_util.py", line 110, in Update
self.OnEvent( event , MBEventType.Release )
File "C:\Users\ \AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\PolyQuilt\utils\mouse_event_util.py", line 142, in OnEvent
self.eventFunc( self.eventClass , self)
File "C:\Users\ \AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\PolyQuilt\subtools\subtool_makepoly.py", line 218, in LMBEventCallback
self.isEnd = self.AddVert(self.currentTarget ) == False
File "C:\Users\ \AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\PolyQuilt\subtools\subtool_makepoly.py", line 369, in AddVert
self.bmo.face_split( face , self.vert_array.get(-2) , self.vert_array.get(-1) )
File "C:\Users\ \AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\PolyQuilt\QMesh\QMeshOperators.py", line 386, in face_split
return bmesh.utils.face_split( face , v0 , v1 , coords , use_exist )
TypeError: face_split() takes at most 3 positional arguments (5 given)

@haystax78
Copy link

Probably not a real fix, but this worked for me:
In QMeshOperators.py change line 386
from
return bmesh.utils.face_split( face , v0 , v1 , coords , use_exist )
to
return bmesh.utils.face_split( face , v0 , v1 )

This made cutting functional again for me with no errors. I never used this tool until recently so I can't compare it to it's intended behavior, but it seems to be working as I'd expect.

@Smulb
Copy link

Smulb commented Sep 15, 2023

Tried suggested change to QMeshOperator.py line 386 but it didn't work for me. Maybe you changed also something else maybe.
Just hoping to find a solution for this Knife functionality problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants