Page 1 of 1

Looking for a script that really would speedup the workflow

Posted: Fri Sep 04, 2015 12:20 am
by sun
Hello,

i am looking for a script that really would speedup my and many workflows. i can t write it. i m not able to do such a great job. maybe there is someone out there who can write it and who thinks the invested time has been worth it.

i like the sketchy stile with a quite lot of lines that are not welded. so i do a fast sketch with the freehand tool:

Image

now it would be time for the new skript. i just describe the vision:

i press on a key (shortcut) or on a symbol and then the magic begins. the script creates a second layer, a special reference layer with the same points as in the original layer. in this layer all the points are connected (in a way i chose in the curvature-tool-settings). and the figure is filled with a color i chose (and i can change later with the select shape tool). it s just a "fill"-layer. if i would render just this layer i would not see any stroke-line. this layer is placed directly under the original layer.
(here i faded out the original layer)

Image

so, by now there are 2 layers. the stroke layer and the fill-layer.

Image

in my vision these layers work together like they were one and under the chair of the original layer. if i change one or more points of the original layer the equivalent points of the fill-layer are changed in the same way and same time. no matter if i change the points with the transform-points-tool or a bone or in an other way.

So we can transform the figure like we are all used to it with the diference that we transform one layer and the second layer, the fill-layer, is transformed at the same time by the programme .

in this way one can build up a figure in the sketchy-style really fast. respectively with...
- one original- and one fill-layer for the head
-one original- and one fill layer for the eyes
-one original- and one fill-layer for the hair...
...and so on.

THANK U

Re: Looking for a script that really would speedup the workf

Posted: Fri Sep 04, 2015 1:25 am
by hayasidist
have you considered to possibility of manually adding edges (either zero width or hidden) across the "gaps" in your first figure in order to create a single closed path that can be filled?

that way you get everything you want on one layer without the need for a script.

Re: Looking for a script that really would speedup the workf

Posted: Fri Sep 04, 2015 9:47 am
by sun
hello. thank u for your answer. this is one possibiltity and a good one. but in the end it takes much more time. i have to find all the open places and hide all the edges manually. in my vision it is a really fast workflow. but for sure the function i would like to use is not a big deal. it is something like "auto-close" in the refernce-layer-subject.

Re: Looking for a script that really would speedup the workf

Posted: Fri Sep 04, 2015 11:27 am
by hayasidist
it's clearly possible to write a script that looks for "ends" and then tries to pair them up and link them with a curve that (tries to) follow the overall path shape ... but - take a look at some of your gaps.. the human eye is a much better judge of what the path *should* look like. Programmatically deciding if or if not there needs to be one or more intermediate points that are either "pointy" or "smooth", and exactly what the path between the loose end points and any intermediate points should be makes this a less than trivial scripting exercise that will still result in a closed path that would unlikely satisfy the discerning artist who will still want to adjust the output.

===

That said, what would be good, IMO, is an ergonomic way to tell freehand to turn the pen off -- something like pen pressure below a threshold => 0 width.

Right now there's a linear relationship between pressure and width -- and the range of stroke width is set in freehand options - up to 100% -- IOW even at minimal pressure with 100% width variation, you'll get a very small but finite stroke width. My thoughts are (e.g.) an extra option in freehand that sets the minimum pen pressure needed before the stroke gets any width... would that work for you?