RSS/Atom feed Twitter
Site is read-only, email is disabled

how to draw interrupted lines

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 5 messages available
Toggle history

Please log in to manage your subscriptions.

BAY172-W12A24D8EBC76A2100EF... 06 Apr 01:50
  how to draw interrupted lines Richard Gitschlag 06 Apr 01:50
   how to draw interrupted lines Steve Kinney 06 Apr 03:32
    how to draw interrupted lines Steve Kinney 06 Apr 04:30
    how to draw interrupted lines Richard Gitschlag 06 Apr 13:48
Richard Gitschlag
2013-04-06 01:50:03 UTC (almost 12 years ago)

how to draw interrupted lines

Date: Fri, 5 Apr 2013 07:25:22 -0400 From: daniel@yacg.com
To: gimp-user-list@gnome.org
Subject: Re: [Gimp-user] how to draw interrupted lines

I think you can't really do that. But I will write up a little on how to work with the paths tool to achieve what you want. It was Inkscape which taught me how to use the paths tool the best, I think, because the way Inkscape works, it's all lines and paths and the like.

I have to go to work now, but will try to steal a few moments to put something together for you. I think then it will become much clearer.

But the short answer is "paths tool" and "paint along path."

On 04/03/2013 01:19 PM, 3052192 wrote:

Hi friends,

how can I draw in GIMP freehanded *_curved_*

interrupted lines (dotted; dot-dash-dot; dash-dash;...) ?

To create lines first with a pencil and to use then the rubber

gives uneven and so unsatisfactory results.

Thanks for help!

Konrad

Didn't somebody else ask this same question just yesterday?

First, as mentioned, you will get smoother results if you use a Path because the "Stroke Path" dialog allows you to specify the dash pattern at stroke time. (Note that -- unlike Inkscape -- GIMP has no "freehand path" tool. The closest you get is drawing with the Freehand selector and then converting it to a path, minding that it does not work for self-intersecting paths.)

But if you NEED to paint dashed lines using a freehand paint tool this is actually still possible, it just requires some configuration first...

1 - Create a custom Gradient that represents the dash pattern you want to draw. (Keep in mind that just the same as with stroking a path you can't really do "dots" with this method, only "dashes".)

2 - Create a custom Dynamics set that paints using a gradient (there isn't one in the default package). To do this you need to link "Color" to "Fade" on the Dynamics mapping . (Linking "Angle" to "Direction" also helps if you're painting with a non-round brush.)

3 - Configure your draw tool (pencil, paintbrush, etc.) to use the gradient, the dynamics, and a repeating Fade length (typically sawtooth).

Once you have that, your brush size effectively controls your 'stroke width' and 'cap style' (e.g. a round brush yields round caps) and your fade length controls the overall length of the pattern. Then draw away!

The first two steps aren't exactly easy, so I've attached a few sample files to demonstrate the process.

[I wanted to include a screenshot as well, but that pushed it over the size limits of this mailing list]

-- Stratadrake strata_ranger@hotmail.com
--------------------
Numbers may not lie, but neither do they tell the whole truth.

=

Steve Kinney
2013-04-06 03:32:08 UTC (almost 12 years ago)

how to draw interrupted lines

On 04/05/2013 09:50 PM, Richard Gitschlag wrote:>

Didn't somebody else ask this same question just yesterday?

(and proceeded to provide good answers not yet posted here, see previous in thread)

"There's always another way to do this in the GIMP" is pretty much a law of nature. Here's yet another, deceptively simple:

Make a new brush, a generic circle might be just what you want. In the Brush Editor there's a setting for Spacing: Turn that way up, and you get a brush that makes, guess what, evenly spaced dots!

Example: http://pilobilus.net/img/1_dot_brush.gbr

I don't find a way to set the spacing of a brush "on the fly" in GIMP 2.8, maybe that's an oversight on my part.

:o)

Steve

Steve Kinney
2013-04-06 04:30:15 UTC (almost 12 years ago)

how to draw interrupted lines

On 04/05/2013 11:32 PM, Steve Kinney wrote:

Make a new brush, a generic circle might be just what you want. In the Brush Editor there's a setting for Spacing: Turn that way up, and you get a brush that makes, guess what, evenly spaced dots!

Example: http://pilobilus.net/img/1_dot_brush.gbr

Best laid plans, etc.; this does not seem to be the brush I was looking for. This one might be closer:

http://pilobilus.net/img/01_dot_brush.vbr

:o)

Steve

Richard Gitschlag
2013-04-06 13:48:21 UTC (almost 12 years ago)

how to draw interrupted lines

Date: Fri, 5 Apr 2013 23:32:08 -0400 From: admin@pilobilus.net
To: gimp-user-list@gnome.org
Subject: Re: [Gimp-user] how to draw interrupted lines

Example: http://pilobilus.net/img/1_dot_brush.gbr

I don't find a way to set the spacing of a brush "on the fly" in GIMP 2.8, maybe that's an oversight on my part.

Steve

It's easy to miss -- located at the bottom of the Brushes dialog.

-- Stratadrake strata_ranger@hotmail.com
--------------------
Numbers may not lie, but neither do they tell the whole truth. =