Inkscape.org
Beginners' Questions Trimming a line
  1. #1
    Ex50001 Ex50001 @Ex50001

    I've tried studying the manual etc, but I can't work this one out.

    I'm working on a drawing of a boat, where the hull is (obviously) pointed, and it features two stripes around the top of the hull.
    In order to do this,Β I have two stripes which have been made as paths as the top of the hull is quite curved, these then meet up to the taper of the hull, I need to trim the ends to suit the angle of the hull.

    I've tried various path tools to do this, but I'm guessing, as it's not a closed path this will not work.

    Any suggestions?

    The two images show what i'm trying to acheive, the white shape is the area I want to remove, and doing this works on a white background, but if I want it transparent (shown here green) then it shows up.Β 



    Thanks in advance...

    Trim 2
    Trim 1
  2. #2
    Kirstie Kirstie @Kirstie🌷

    Hi there,

    You can convert both lines to outline paths with Ctrl+Alt+C. (menu> path > strtoke to path)
    Then they will become closed paths with a fill colour, instead of lines.

    If you then duplicate the hull, you can select one 'line' and the hull on top of that and choose menu > path > intersection.
    Repeat wthis with the other 'line'

    Good luck with the boat.

  3. #3
    Ex50001 Ex50001 @Ex50001

    Thanks I'll give that a go. By all intents and purposes the image is finished, it's just one thing for future uses which could be annoying!

    Pwllheli
  4. #4
    ian ian @Ianp5a
    *

    Also a Clip is useful for this. Select 2 objects on top of each other. Go menu Object->Clip->Set and the object on the bottom gets clipped to the shape of the object on top. This is non destructive. Meaning it can be undone at a later stage using Object->Clip->Release.

    Β 

  5. #5
    Ex50001 Ex50001 @Ex50001

    Oooh Excellent! that looks just the job.


    Thanks

  6. #6
    Ex50001 Ex50001 @Ex50001

    And so it was! Thank you Ian, Did exactly what I needed!