It is currently Mon Aug 10, 2026 2:47 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: dupuclating diagonale lines in a drawing
PostPosted: Mon Oct 23, 2017 3:25 am  (#1) 
Offline
GimpChat Member

Joined: Mar 06, 2017
Posts: 10
Hallo how can i duplicate lines in a drawing. I m making a tire image for blender. I have 5 vertical lines , each made in a different layer. Now i want the diagonal lines but i just want them on the one layer and to just duplicate and put in position.

Attachment:
File comment: see diagonal line.
duplicatte line 2.png
duplicatte line 2.png [ 7.84 KiB | Viewed 6718 times ]


lisa


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: dupuclating diagonale lines in a drawing
PostPosted: Mon Oct 23, 2017 3:51 am  (#2) 
Offline
GimpChat Member

Joined: Sep 23, 2016
Posts: 317
Two ways:

Method 1
Put the diagonal line on its own layer. Do (Layer > Autocrop Layer).
In the layers dialogue duplicate this layer and move it into the next position
Repeat until you have enough diagonal lines.
If you want them all on one layer: Have only the diagonal line layers visible. In the layers dialogue, right click on the top layer and do New From Visible. Click on the eyes next to the individual diagonal line layers to make them invisible.

Method 2
Put one diagonal line on its own layer. Do (Layer > Autocrop Layer).
Do (Edit > Copy) or Ctrl-C. The diagonal line now becomes a brush - the first brush in the list of brushes.
Select the brush tool and select the diagonal line brush - (the first one)
In Brush Tool Options click on the icon to the right of Brush Size slider (reset size to brush's native size)
Set brush spacing to an appropriate value (about 100%) - (brush spacing is near the bottom right of the screen)
Click where you want the first diagonal line, hold down the shift key and click where you want the last diagonal line.


Top
 Post subject: Re: dupuclating diagonale lines in a drawing
PostPosted: Mon Oct 23, 2017 4:19 am  (#3) 
Offline
GimpChat Member

Joined: Mar 06, 2017
Posts: 10
Hallo Blightly 11

Ok im doing option two. I got all of it done to the last instruction. Were i hold down shift and make a begin and last point. It dosent work.

Am i missing something? Do i have to press enter or CTRL V or something.

lisa


Top
 Post subject: Re: dupuclating diagonale lines in a drawing
PostPosted: Mon Oct 23, 2017 4:37 am  (#4) 
Offline
GimpChat Member

Joined: Sep 23, 2016
Posts: 317
lisabiziou wrote:
Hallo Blightly 11
Ok im doing option two. I got all of it done to the last instruction. Were i hold down shift and make a begin and last point. It dosent work.
Am i missing something? Do i have to press enter or CTRL V or something.


1. Select the brush tool
2. Select the diagonal line brush - the first one (clipboard brush)
3. Set size to native brush size.
4. Click where you want the first diagonal line - brush paints one diagonal line.
5. Now hold down the shift key and click where you want the last diagonal line.

(If you also hold down the Ctrl key in step 5. brush will be constrained to vertical)


Top
 Post subject: Re: dupuclating diagonale lines in a drawing
PostPosted: Mon Oct 23, 2017 4:49 am  (#5) 
Offline
GimpChat Member

Joined: Mar 06, 2017
Posts: 10
i cant get step 5 working I put my curser where i want my first diagonal ( ive copied it as you instructed) line then press shift and go to where i want the last. Nothing happens. I do get the path from pressing shift but no diagonal lines. I have to be doing something wrong but cant work out what. Is it maybe visibility or opacity

lisa


Top
 Post subject: Re: dupuclating diagonale lines in a drawing
PostPosted: Mon Oct 23, 2017 4:55 am  (#6) 
Offline
GimpChat Member

Joined: Sep 23, 2016
Posts: 317
lisabiziou wrote:
i cant get step 5 working I put my curser where i want my first diagonal ( ive copied it as you instructed) line then press shift and go to where i want the last. Nothing happens. I do get the path from pressing shift but no diagonal lines. I have to be doing something wrong but cant work out what. Is it maybe visibility or opacity


Put the cursor where you want the first diagonal line. Now click. One diagonal line is painted where you clicked.

Now hold down the shift key and move the brush to where you want last diagonal line. Still holding the shift key, click again.


Top
 Post subject: Re: dupuclating diagonale lines in a drawing
PostPosted: Mon Oct 23, 2017 5:01 am  (#7) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
My ofn-path-rungs script will draw lines between two paths, straight or curved.

Download from here https://sourceforge.net/projects/gimp-p ... s/scripts/

Zip contains doc and examples.

_________________
Image


Top
 Post subject: Re: dupuclating diagonale lines in a drawing
PostPosted: Mon Oct 23, 2017 5:11 am  (#8) 
Offline
GimpChat Member

Joined: Mar 06, 2017
Posts: 10
Still not working. My copied diagonal line is transparent. I dont know if its meant to be?

Here is two pictures one of the transparent copied diagonal line the other of my brush settings.

Attachment:
its transparant.png
its transparant.png [ 35.93 KiB | Viewed 6688 times ]



Attachment:
settings.png
settings.png [ 82.2 KiB | Viewed 6688 times ]



lisa


Top
 Post subject: Re: dupuclating diagonale lines in a drawing
PostPosted: Mon Oct 23, 2017 5:27 am  (#9) 
Offline
GimpChat Member

Joined: Sep 23, 2016
Posts: 317
lisabiziou wrote:
Still not working. My copied diagonal line is transparent. I dont know if its meant to be?
Here is two pictures one of the transparent copied diagonal line the other of my brush settings.


The brush is "transparent" just to show the outline so that you can see where the line will be painted. Once you click the line is painted with the foreground colour (currently black).


Attachments:
BrushLines.png
BrushLines.png [ 336.65 KiB | Viewed 6684 times ]
Top
 Post subject: Re: dupuclating diagonale lines in a drawing
PostPosted: Mon Oct 23, 2017 5:37 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7388
Location: Göteborg at last!
Lisa, are you trying to paint where there is no layer because you cropped it to make the brush? Try either making a new layer before painting or after you have made the brush, right click the layer in the layers tab and choose "layer to image size" to restore the full layer. Then try painting.


Top
 Post subject: Re: dupuclating diagonale lines in a drawing
PostPosted: Mon Oct 23, 2017 5:45 am  (#11) 
Offline
GimpChat Member

Joined: Sep 23, 2016
Posts: 317
Erisian wrote:
Lisa, are you trying to paint where there is no layer because you cropped it to make the brush? Try either making a new layer before painting or after you have made the brush, right click the layer in the layers tab and choose "layer to image size" to restore the full layer. Then try painting.


Yes, I think Erisian is right. You have the layer of the diagonal line selected - a small layer. Make a new transparent layer (full size) and paint on that.


Top
 Post subject: Re: dupuclating diagonale lines in a drawing
PostPosted: Mon Oct 23, 2017 5:56 am  (#12) 
Offline
GimpChat Member

Joined: Mar 06, 2017
Posts: 10
Thank u so much. I had to redo the whole thing. I somehow made a mistake with the coping ( i think or maybe the layer) but its working now. I just have to work out what went wrong for next time.




lisa


Top
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group