Knife tool fails on a non-planar n-gon #84299

Open
opened 2021-01-01 01:13:32 +01:00 by Stanislav Blinov · 14 comments

Blender Version
Broken: 2.74 up to and including 2.92 master
Worked: 2.73 (yes, I bisected that far back ;) )

Short description of error

Knife tool fails to cut between verts in n-gons of certain configuration.

Exact steps for others to reproduce the error

Load the attached .blend and try to make a knife cut between the two selected verts (i.e. try to create an edge connecting them).

knife_fail.blend

(If you want to test in 2.73 yourself, copy the object from a running instance of 2.9x into 2.73 using ctrl+c/ctrl+v, then replace the mesh in another existing mesh object).

**Blender Version** Broken: 2.74 up to and including 2.92 master Worked: 2.73 (yes, I bisected that far back ;) ) **Short description of error** Knife tool fails to cut between verts in n-gons of certain configuration. **Exact steps for others to reproduce the error** Load the attached .blend and try to make a knife cut between the two selected verts (i.e. try to create an edge connecting them). [knife_fail.blend](https://archive.blender.org/developer/F9544216/knife_fail.blend) (If you want to test in 2.73 yourself, copy the object from a running instance of 2.9x into 2.73 using ctrl+c/ctrl+v, then replace the mesh in another existing mesh object).

Added subscriber: @Stan_Pancakes

Added subscriber: @Stan_Pancakes

#91356 was marked as duplicate of this issue

#91356 was marked as duplicate of this issue

Added subscriber: @rjg

Added subscriber: @rjg

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

When you say between do you mean that the knife cut cross the imaginary edge between the two vertices perpendicularly or that the knife cut connects the two? The former works for me, the latter doesn't. Tested with 2.92.0 Alpha, branch: master, commit date: 2020-12-31 13:25, hash: 8c135fa9a8.

When you say between do you mean that the knife cut cross the imaginary edge between the two vertices perpendicularly or that the knife cut connects the two? The former works for me, the latter doesn't. Tested with 2.92.0 Alpha, branch: master, commit date: 2020-12-31 13:25, hash: `8c135fa9a8`.

Sorry, I did mean connect the two verts with the knife. The workaround for this simplified case is of course to just use the Connect Vertex Path operator, which does work (so I think should the knife as well), but it becomes a speed bump on an actual mesh.

Sorry, I did mean connect the two verts with the knife. The workaround for this simplified case is of course to just use the Connect Vertex Path operator, which does work (so I think should the knife as well), but it becomes a speed bump on an actual mesh.

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'

I've confirmed this with low priority since this seems like an issue, but quite an edge case. The UI team that handles the tools & operators might not consider this a limitation and not a bug though.

I've confirmed this with low priority since this seems like an issue, but quite an edge case. The UI team that handles the tools & operators might not consider this a limitation and not a bug though.
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

This seems to be more for the modeling module than the UI module.

This seems to be more for the modeling module than the UI module.
Campbell Barton changed title from Knife tool fails on an n-gon to Knife tool fails on a non-planar n-gon 2021-01-29 11:10:47 +01:00

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Note that the n-gon is quite distorted (non-planar), the error is likely caused by the non-planar triangulated data being used to compute the cut. Making the n-gon flat resolves this.

Note that the n-gon is quite distorted (non-planar), the error is likely caused by the non-planar triangulated data being used to compute the cut. Making the n-gon flat resolves this.
Member

Added subscribers: @RobertS, @PratikPB2123

Added subscribers: @RobertS, @PratikPB2123

Changing to a TODO, since very distorted N-gons don't define a surface that can necessarily be operated on usefully.

While some workarounds are possible I don't think it's an error in the logic of the knife tool that this fails.

Changing to a TODO, since very distorted N-gons don't define a surface that can necessarily be operated on usefully. While some workarounds are possible I don't think it's an error in the logic of the knife tool that this fails.
Philipp Oeser removed the
Interest
Modeling
label 2023-02-09 15:28:44 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 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#84299
No description provided.