This forum has been archived. All content is frozen. Please use KDE Discuss instead.

2 parallel lines brush

Tags: None
(comma "," separated)
Rafal_86
Registered Member
Posts
70
Karma
1

2 parallel lines brush

Sat Aug 19, 2017 3:11 am
Hey guys. Coming with another question, like in the title. Is it possible to create in Krita brush that will paint two parallel lines in certain distant from each other. Of course i am not taling about just straight lines, but 2 lines that will follow as i draw them with the tablet. So if i draw curve, the 2 lines will curve in same distance from each other.

If my explanation is confusing here is an image showing what i have in mind. Is it possible to create that 2 lines with custom brush one stroke?

Image

If not, is there some easy way to create 2 lines that will follow same path with same distance from each other. I can draw one line with tablet, but then i have extreme difficulties to draw next one near that will be exactly the same. I tried the Bezier Curve Tool, but it is hard to create 2 same line with that too. Besides i need pen pressure on.

Thanks
mvowada
Registered Member
Posts
322
Karma
1

Re: 2 parallel lines brush

Sat Aug 19, 2017 12:54 pm
Rafal_86 wrote:Is it possible to create that 2 lines with custom brush one stroke?


Hi Rafal_86,

one way, I would play a bit with these settings:

  • pixel brush engine
    1. select "brush tip"
      • > text tab
        • > colon type (":")
        • > (alternatively it's possible to use a > predefined (tab) > +stamp brush painted with a pair of circles side by side > rotation = 90°)
    2. select "opacity"
      • > disable pressure
      • > enable distance
        • > curve: L point X10;Y100, R point X10;Y0 (moving: right > top all the way > right)
        • > deselect "repeat"
    3. check select "size"
      • > pressure enabled
    4. check select "rotation"
      • [/color] > drawing angle (fan set to 5°)[/color]

The colored line is the important bit :)

Hope it helps
Rafal_86
Registered Member
Posts
70
Karma
1

Re: 2 parallel lines brush

Sat Aug 19, 2017 2:53 pm
I am sorry but i am lost. I don't see any of those options in brush engine text tab.
I am also not sure about rotation option. I enabled it with the drawing angle option and set the Fan corners to 5 is that what you ment?

The two different colours of the strokes are irrelevant. I want them to be the same, i just inserted some random pic to show the effect i wanted. Sorry if that was misleading.

Edit:
Ok, sorry now i umderstand. I type ' : ' in the text.
In the opacity i disabled pressure and enabled distance. I deselected 'repeat', but i am not sure how to set up the curve.
I enabled the pressure for the size.
The last rotation part is confusing.

I coud make this
Image

The problem is, i cannot change the size of the brush, which is 2px fixed. and the two lines are connected at the start and end of the stroke (when i dont press harder). Also dont know how to change the distance between two strokes.
mvowada
Registered Member
Posts
322
Karma
1

Re: 2 parallel lines brush

Sat Aug 19, 2017 7:09 pm
  • CTRL+N (create a new transparent 1024x1024 px document)
  • B key to select the brush tool
  • align 2 colored points like ":" in the center of the canvas
  • CTRL+R (switch to the selection tool)
  • CTRL+A (select canvas)
  • CTRL+SHIFT+C (copy merged)

to customize the brush (e.g. "Basic_circle")

  1. Basic tip
    • > Predefined tab
    • > "Clipboard" icon (under the samples)
      • > set the spacing to 0.01
    • > pick-select your new sample from the list
    • > under the pane set "size"=50px and "rotation"=0° and set "spacing"=0.02 ("Auto" uncheck)
  2. Opacity
    • Distance
      • edit the curve: move the left point a bit (10%) along the X axis + move the right point all the way to the left along the X axis
  3. Rotation
    • Drawing angle
      • no need to edit the curve

Unfortunately, this way it's not possible to change the size of the points interactively, one has to create another brush tip for that (first list above) :-(
Rafal_86
Registered Member
Posts
70
Karma
1

Re: 2 parallel lines brush

Sun Aug 20, 2017 1:09 am
Got it. Thank you very much.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot]