F2 addon does not create faces unless you exit edit mode. #52506

Closed
opened 2017-08-23 12:43:39 +02:00 by Luis Felipe Peredo Noguez · 14 comments

System Information
Windows10 gtx1080

Blender Version
blender-2.79-980a864-win64

Short description of error
F2 addon does not create faces unless you exit edit mode.

Exact steps for others to reproduce the error

Please look at the attached video as describing the steps is kind of cumbersome, the video screen cap is better at explaining the problem.

F2Bug.7z

The error appeared as I was trying to fill a row of empty edges to quads, but nothings happened, then if I exited edit mode, upon re entry to edit mode, a new face was created were it was supposed to be the firs time around I was in edit model, as if F2 needed me to exit and re enter edit mode to create the face.

I reverted to factory settings and did the same test and it's also not working, so its not my local configuration of addons whats causing the problem.

Also when trying to create a face from a vertex I get this error in edit mode, however if I exit edit mode right afterwards, back in object mode the quad is created.

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\blender-2.79-980a864-win64\blender-2.79.0-git.980a864-windows64\2.79\scripts\addons\mesh_f2.py", line 359, in invoke
    quad_from_vertex(bm, sel[0], context, event)
  File "C:\Program Files\Blender Foundation\blender-2.79-980a864-win64\blender-2.79.0-git.980a864-windows64\2.79\scripts\addons\mesh_f2.py", line 270, in quad_from_vertex
    face.smooth = smooth
SystemError: error return without exception set

location: <unknown location>:-1

**System Information** Windows10 gtx1080 **Blender Version** blender-2.79-980a864-win64 **Short description of error** F2 addon does not create faces unless you exit edit mode. **Exact steps for others to reproduce the error** Please look at the attached video as describing the steps is kind of cumbersome, the video screen cap is better at explaining the problem. [F2Bug.7z](https://archive.blender.org/developer/F722279/F2Bug.7z) The error appeared as I was trying to fill a row of empty edges to quads, but nothings happened, then if I exited edit mode, upon re entry to edit mode, a new face was created were it was supposed to be the firs time around I was in edit model, as if F2 needed me to exit and re enter edit mode to create the face. I reverted to factory settings and did the same test and it's also not working, so its not my local configuration of addons whats causing the problem. Also when trying to create a face from a vertex I get this error in edit mode, however if I exit edit mode right afterwards, back in object mode the quad is created. ``` Traceback (most recent call last): File "C:\Program Files\Blender Foundation\blender-2.79-980a864-win64\blender-2.79.0-git.980a864-windows64\2.79\scripts\addons\mesh_f2.py", line 359, in invoke quad_from_vertex(bm, sel[0], context, event) File "C:\Program Files\Blender Foundation\blender-2.79-980a864-win64\blender-2.79.0-git.980a864-windows64\2.79\scripts\addons\mesh_f2.py", line 270, in quad_from_vertex face.smooth = smooth SystemError: error return without exception set location: <unknown location>:-1 ```

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @renderluz-2

Added subscriber: @renderluz-2

#52542 was marked as duplicate of this issue

#52542 was marked as duplicate of this issue
Member

Added subscriber: @BrendonMurphy

Added subscriber: @BrendonMurphy

Added subscriber: @mont29

Added subscriber: @mont29

Please follow our submission template and guidelines, also read these tips about bug reports, and make a complete, valid bug report, with required info, precise description of the issue, precise steps to reproduce it, small and simple .blend and/or other files to do so if needed, etc.
Videos and/or links to external sites etc. are not acceptable as bug report (they can be provided as additional information only).

Please follow our [submission template and guidelines](https:*developer.blender.org/maniphest/task/edit/form/1/), also read [these tips about bug reports](https:*wiki.blender.org/index.php/Dev:Doc/Process/Bug_Reports), and make a complete, valid bug report, with required info, precise description of the issue, precise steps to reproduce it, **small and simple** .blend and/or other files to do so if needed, etc. Videos and/or links to external sites etc. **are not acceptable** as bug report (they can be provided as additional information **only**).

I know the guidelines, however in this case Im not sure what you need me to do, the video I attached shows very clearly what I did, which is try to use the functions of the F2 addon, by trying to create a quad from a vertex by clicking the key "F"

A detailed description of what I did follows, which is me describing what I did on the video, the video is much better at showing the problem, the problem is super easy to see on the video, even the error window is shown there, I actually think me describing the steps makes things more cumbersome.

I attached an .blend file and a zip of the build of blender I used, with a cube that is ready to be used to test the F2 addon

blender-2.79-980a864-win64.7z

F2bug.blend

1.- Unzip the blender build included in this message.

2.- Unzip the .bled file included on this message

3.-Click the blender.exe of the build included in this message.

4.-Revert to factory settings

5.-Got to preferences and activate the F2 addon

5.-open the .blend file included on this message.

6.-using the currently selected vertex, try to create a quad using the "Vertex to Quad" function of the F2 addon

"Quad from vertex"
When a single vertex is selected, a new quad is created by creating a new vertex. The position of this new vertex is calculated based on the three existing vertices. These are the selected vertex, and two vertices to which it is connected via open edges. An open edge is an edge which is only part of one face, or none at all. The newly created quad has the same material and normal direction as the neighbouring faces.

3.-Nothing happens, no quad is created, and an error window appears that reads:
Traceback (most recent call last):

File "C:\Program Files\Blender Foundation\blender-2.79-980a864-win64\blender-2.79.0-git.980a864-windows64\2.79\scripts\addons\mesh_f2.py", line 359, in invoke
  quad_from_vertex(bm, sel[0], context, event)
File "C:\Program Files\Blender Foundation\blender-2.79-980a864-win64\blender-2.79.0-git.980a864-windows64\2.79\scripts\addons\mesh_f2.py", line 270, in quad_from_vertex
  face.smooth = smooth

SystemError: error return without exception set

7.-Exit edit mode and the face that should have appeared in edit mode suddenly is there.

I know the guidelines, however in this case Im not sure what you need me to do, the video I attached shows very clearly what I did, which is try to use the functions of the F2 addon, by trying to create a quad from a vertex by clicking the key "F" A detailed description of what I did follows, which is me describing what I did on the video, the video is much better at showing the problem, the problem is super easy to see on the video, even the error window is shown there, I actually think me describing the steps makes things more cumbersome. I attached an .blend file and a zip of the build of blender I used, with a cube that is ready to be used to test the F2 addon [blender-2.79-980a864-win64.7z](https://archive.blender.org/developer/F724652/blender-2.79-980a864-win64.7z) [F2bug.blend](https://archive.blender.org/developer/F724678/F2bug.blend) 1.- Unzip the blender build included in this message. 2.- Unzip the .bled file included on this message 3.-Click the blender.exe of the build included in this message. 4.-Revert to factory settings 5.-Got to preferences and activate the F2 addon 5.-open the .blend file included on this message. 6.-using the currently selected vertex, try to create a quad using the "Vertex to Quad" function of the F2 addon "Quad from vertex" When a single vertex is selected, a new quad is created by creating a new vertex. The position of this new vertex is calculated based on the three existing vertices. These are the selected vertex, and two vertices to which it is connected via open edges. An open edge is an edge which is only part of one face, or none at all. The newly created quad has the same material and normal direction as the neighbouring faces. 3.-Nothing happens, no quad is created, and an error window appears that reads: Traceback (most recent call last): ``` File "C:\Program Files\Blender Foundation\blender-2.79-980a864-win64\blender-2.79.0-git.980a864-windows64\2.79\scripts\addons\mesh_f2.py", line 359, in invoke quad_from_vertex(bm, sel[0], context, event) File "C:\Program Files\Blender Foundation\blender-2.79-980a864-win64\blender-2.79.0-git.980a864-windows64\2.79\scripts\addons\mesh_f2.py", line 270, in quad_from_vertex face.smooth = smooth ``` SystemError: error return without exception set 7.-Exit edit mode and the face that should have appeared in edit mode suddenly is there.

Added subscriber: @VukGardasevic

Added subscriber: @VukGardasevic

Please check the latest build if the error is fixed.
There was an regression in the latest master (see blender/blender#52517 and the commit related to it).

Please check the latest build if the error is fixed. There was an regression in the latest master (see blender/blender#52517 and the commit related to it).

Added subscriber: @pauljs75

Added subscriber: @pauljs75

@pauljs75 Please check the latest build from https://builder.blender.org/download/

@pauljs75 Please check the latest build from https://builder.blender.org/download/

Hi, The problem is gone, :) thanks a lot, however in today's build the addon "loop tools" is not working.

blender-2.79.0-git.dcebad7-windows64

1.-start blender

2.-revert to factory settings

3.-click on activate the addon "loop tools", and it will give you an error.

4.-even if its marked as being "on" (it gives you an error when you try to do so, but the tick that shows if the addon is active or not gets ticked on),
it does not appear in the "W" specials menu.

If you wish me to I create a ticket for this I can do it.

Hi, The problem is gone, :) thanks a lot, however in today's build the addon "loop tools" is not working. blender-2.79.0-git.dcebad7-windows64 1.-start blender 2.-revert to factory settings 3.-click on activate the addon "loop tools", and it will give you an error. 4.-even if its marked as being "on" (it gives you an error when you try to do so, but the tick that shows if the addon is active or not gets ticked on), it does not appear in the "W" specials menu. If you wish me to I create a ticket for this I can do it.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Vuk Gardašević self-assigned this 2017-08-28 22:15:16 +02:00

Glad to hear that the problem is solved:)

Concerning the Loop Tools error, there is no need to create a new ticket as it's already done in #52564 - the main task for register issues in the current master / daily builds.
The issue will be solved soon as there were lately some API changes.
Note that the future 2.79 release and rc2 are not affected.

Since the F2 issue is fixed, closing the task as resolved.

Glad to hear that the problem is solved:) Concerning the Loop Tools error, there is no need to create a new ticket as it's already done in #52564 - the main task for register issues in the current master / daily builds. The issue will be solved soon as there were lately some API changes. Note that the future 2.79 release and rc2 are not affected. Since the F2 issue is fixed, closing the task as resolved.
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#52506
No description provided.