This is my first post in this forum. So thanks everybody for all your efforts.
I am sorry but I am working on a side project (outside the roadmap). For now I am just discovering the source code and I am trying to develop basic stuff to get familiar with the source code.

I am trying to create my own custom tool and add it to pencil. For now I have created a tool inheriting from :StrokeTool, I am working essentially in the vector layer (for now), so up to now I can select my tool and select a stroke with it (as for the move tool), what I want to do is: Once a stroke is selected hit a key say “M” and automatically draw a new stroke on the vector layer.
I am able to generate the right path however I cannot manage to draw it. I am using (inside a keypressedevent):
QPainterPath path(X);
path.lineTo(Y);
mScribbleArea->drawPath(path, pen, Qt::NoBrush, QPainter::CompositionMode_Source);
mScribbleArea->refreshVector(path.boundingRect().toRect(), qRound((width/2 + 2) * mEditor->view()->scaling()));

@matis Cool! although i’m afraid I don’t know much about the programming side of Pencil2D. I suppose you could ask around on the github while seeking to understand the code, however there are just too few devs around, but hopefully you can get it to work, good luck with that!

@matis Hey! nice and glad to hear you managed to break through adding a custom tool on Pencil2D

The only devs I know that are working on Pencil2D at the moment are @chchwy who’s the maind dev and @scribblemaniac who is awesome and helping whenever he can. @feeef was also helping us to integrate mypaintLib and he also dabbled into the vector tools since he implemented some of the newest paintbucket functionality. Those are their usernames on Github as well so maybe they could review your code if you fork the github Pencil2D master project and use your own repository branch to implement this new feature.

Thanks for at least having time to work on the program. I really wish I could help more but I’m not knowledgeable with C++ yet.

@JoseMoreno
Hey, long time no see… The result of my research has now been publicly released. Maybe there is some better place where I can publish this. I am planning on releasing the code in the months to come.
Anyway results can be seen here:

In this paper we present a semi-automatic method for creating shades and self-shadows in cel animation. Besides producing attractive images, shades and shadows provide important visual cues about depth, shapes, movement and lighting of the scene. In...