Grease pencil cutter tool doesn't reliably terminate lines where they intersect #78786

Open
opened 2020-07-10 11:40:09 +02:00 by Tomasz Kaye · 8 comments

System Information
Operating system: Darwin-19.3.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 580 OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.5.5

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-28 15:13, hash: b21ba5e579

Short description of error
Grease pencil cutter tool doesn't reliably terminate lines where they intersect

Exact steps for others to reproduce the error
Load the attached blend file.
Screenshot 2020-07-10 at 11.25.13.png
Use the cutter to drag around the green area of the top line. A new point is added, but the line's terminated too early. Leaving a lump on the 'cutter side' of the intersection.
Screenshot 2020-07-10 at 11.25.29.png
Undo. And drag the cutter tool around the red area of the bottom line. A new point is added, but the line's terminated too late. Leaving a small gap on the other side of the intersection.
Screenshot 2020-07-10 at 11.25.40.png

Expected behaviour: The cutter tool adds a new point exactly on the intersection with the second line and deletes points up to that new point.

cutterproblem.blend

**System Information** Operating system: Darwin-19.3.0-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon Pro 580 OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.5.5 **Blender Version** Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-28 15:13, hash: `b21ba5e579` **Short description of error** Grease pencil cutter tool doesn't reliably terminate lines where they intersect **Exact steps for others to reproduce the error** Load the attached blend file. ![Screenshot 2020-07-10 at 11.25.13.png](https://archive.blender.org/developer/F8683235/Screenshot_2020-07-10_at_11.25.13.png) Use the cutter to drag around the green area of the top line. A new point is added, but the line's terminated too early. Leaving a lump on the 'cutter side' of the intersection. ![Screenshot 2020-07-10 at 11.25.29.png](https://archive.blender.org/developer/F8683237/Screenshot_2020-07-10_at_11.25.29.png) Undo. And drag the cutter tool around the red area of the bottom line. A new point is added, but the line's terminated too late. Leaving a small gap on the other side of the intersection. ![Screenshot 2020-07-10 at 11.25.40.png](https://archive.blender.org/developer/F8683242/Screenshot_2020-07-10_at_11.25.40.png) Expected behaviour: The cutter tool adds a new point exactly on the intersection with the second line and deletes points up to that new point. [cutterproblem.blend](https://archive.blender.org/developer/F8683244/cutterproblem.blend)
Author

Added subscriber: @info-27

Added subscriber: @info-27

Added subscribers: @filedescriptor, @antoniov

Added subscribers: @filedescriptor, @antoniov

This actually is a limitation of the algorithm used. If you look at your example file, there isn't geometry near of the intersection. The algorithm needs some point more or less near of cut position. If you subdivide and add a point, you will see the cutter works better.

Thanks for your report, but as now we haven't time and resources to work in the improvement of this tool, we are going to consider as a Know Issue that could be improved in the future with a better cutter algorithm.

@filedescriptor I think some of your algorithms could be used here.

This actually is a limitation of the algorithm used. If you look at your example file, there isn't geometry near of the intersection. The algorithm needs some point more or less near of cut position. If you subdivide and add a point, you will see the cutter works better. Thanks for your report, but as now we haven't time and resources to work in the improvement of this tool, we are going to consider as a Know Issue that could be improved in the future with a better cutter algorithm. @filedescriptor I think some of your algorithms could be used here.
Member

@antoniov Indeed. This can be solved with the boolean algorithms. For now, it is a limitation.

@antoniov Indeed. This can be solved with the boolean algorithms. For now, it is a limitation.

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Will confirm as this is classified as known issue.

Will confirm as this is classified as known issue.

Added subscriber: @jack.herbert

Added subscriber: @jack.herbert
Philipp Oeser removed the
Interest
Grease Pencil
label 2023-02-09 15:19:53 +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
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#78786
No description provided.