Pen/Bezier Tool: How to create a straight line after a curve?

Hello Krita users/developers,
How can we use the bezier/pen tool in krita like photoshop to draw a straight line after creating a curve.

Let me explain in detail, what I am trying to do. Imagine that I want to select with the pen/bezier tool (I am using the Bezier Curve Selection Tool) a cylinder. A cylinder, as you know has both round shapes and straight shapes. Say I start with the drawing a curve for the semicircle of the cylinder’s top, and then I want to go across the cylinder to the other side (i.e bottom). In order to do this, I need to first create the curve for a semi circle and then switch to a straightline.

In photoshop, I would draw a straight line along the diameter, and then curve it so that it becomes a semi-circle. Then I would click on ctrl or alt so that I could click on the middle of the curve adjuster and then draw a straight line.

I don’t know how to do the same with krita. When i make a curve, then next anchor is also curved. I want a straight line instead.

I never figured out the freehand bezier curves.
I’d use the Rectangular Selection tool set to Vector Selection mode in the Tool Options docker to create a rectangular vector selection outline.
Then do Select -> Edit Selection which would highlight it as an adjustable vector outline.

Then select the Edit Shapes tool and press Convert to Path in the Tool Options docker.
That would give a fully editable vector path which could be modified in any way you like with the various vector point/path manipulation tools in the Tool Options docker.

At this stage, you’ll be operating on the Global Selection Mask, as shown in the Layers docker.
When you’ve finished editing the selection, select the layer you want to work on.

Not quite the solution I was hoping for. I appreciate the explanation though. I learned something that I didn’t know. This has given me some new ideas.

@kmoney You can make a straight line after a curve by holding Alt key after you made the curve. I know this is a bit tricky but you can surely make a corner bend. Just hold the Alt key after you have made the curve without releasing the mouse button.
Check the video here. I hope this is what you are looking for?

3 Likes

Hello Raghu. Your video shows exactly what I am looking for. However, I am unable to replicate it.

Could you kindly elaborate on a step by step basic what you are doing?

Here is what I did:

  1. Left click to select starting point.
  2. Left click (and hold) to create the first anchor point. While holding left click, I dragged the mouse to create the curve.
  3. I then released the left click.
  4. I pressed alt (the cursor for the tool now has a minus sign on it) and then I moved the mouse to the next anchor point.

Unfortunately, this did not result in a straight line for me. Any thoughts?

Try doing 1, 2, 4, 3

That is, you should hold alt before clicking

1 Like

Never mind, I thought I had it figured out, but I didn’t.

Sorry I didn’t notice your reply due to heap of notifications. Please @ me when you notice I don’t give enough attention.
I have made the screen capture with an overlay click and alt key highlighter hopefully this will make it clear.

Step by step of what I do.

  1. Left click to add starting node.
  2. left click to add the second node to make a straight line on left.
  3. Move to right and add another node by clicking, without releasing the left mouse button I drag it to create a curve. (don’t let go of the mouse button just yet)
  4. While I still have the left mouse button held I press the Alt key to make the curve with sharp corner. After I get the bend I let go the alt key and the left mouse button.
  5. I make another node to make the straight line on the right.
  6. I join the starting node and then drag it to make the curve.

@raghukamath Man…what you shared is exactly what I want, but despite the clear instructions, Krita isn’t doing what you are showing. What I learned after some experiementation is follows. This replicates what you do in your image.

  1. Left click to add starting node.
  2. Hold Shift + left click and create a NOT a second node but rather a placeholder for adjusting the midpoint of the curve adjuster. Once you have adjusted it, hold down ALT and click. (you may need to do this twice)
  3. Then release shift key. and draw the line that goes down.

I am ignoring the remaining steps to close the curves as they are a repeat of earlier steps. It is very wierd. What you show works on your machine does not work on mine.

May I add another question, please?
In Photoshop, when I want to re-position the last point, I use the “Backspace” key, and it deleted the very last point backward to the first. So I may reposition points again.
If there is such a possibility in Krita too?

When you are drawing the bezier you can just right click to remove last points and Left click to add new points

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.