GSoC 2021: Knife Tool Improvements: Weekly Reports

Week of July 19th - 25th

This week I almost solely worked on multi-object edit mode support for the knife tool. It proved more challenging than I initially expected and I spent a lot of time trying various ideas for implementing it. In the end, I found a solution I was happy with and have committed it to the soc-2021-knife-tools branch.

Notes

  • Multi-Object Edit Mode
    • Added support to the Knife Tool
    • Cuts can be made on all object’s while using the knife tool in multi-object edit mode
    • A cut which starts on a given object can only cut/interact with that object’s mesh
    • A cut which starts in space can only cut/interact with the object that was last hovered by the mouse before starting the cut
      • I feel it would be better to be based on the nearest object to the mouse while cutting, but a short attempt at implementing this showed it would take large changes to make work

Next week I am going to add multi-object edit mode support to the knife project tool and an edge removal mode for the knife tool.

Media

week7_1

Cuts starting in space work on last object hovered:
week7_2

When two objects intersect the object to cut is based on the nearest mesh edge to the cut start:
week7_3

24 Likes