Inkscape.org
Beginners' Questions How can I cut out an outline of a path?
  1. #1
    ZV1LLE ZV1LLE @ZV1LLE

    So I've been trying to make this version of an arm for a character I'm working on where the arm will look the same as it normally is when its behind the body, but it will actually be able to go infront of it (only way I can properly explain this is if I show you a video demonstration but I've already tried explaining this in a forum for a different app called Moho, here's the link)

    I've got the shape properly cut but the outline is giving the effect away, an image of what I'm talking about is down below, The green is what I'm going for, the red is what I have right now. If you look closely at the armpit you can see how the outline is ontop of the body unlike the other arm where the outline is under it making it look like its clipped off.

     

    Is there a way for me to cut out that specific part of the outline to achieve the same look I'm going for without doing anything with the fill color or arm, or is there another option I'll have to take to do this? Thanks in advance! 😃

     

     

    Screenshot 2025 01 02 At 1.17.41 Pm
  2. #2
    COD COD @COD
    *

    Looks like your alpha or opacity of the gradient is not 100% ????

    Also - looks like one of the arms is above the gradient. Move it to the bottom.

     

     

  3. #3
    ZV1LLE ZV1LLE @ZV1LLE
    *

    But you dont understand, This is arm is supposed to be above the gradient (which is I think your referring to be the body) so that the arm can go infront of the body. The opacity won't do anything since it'll just make the arm's outline look weird. I'm trying to CLIP the outline, in order to make it so that it looks like the other arm circled green. Is there any way to achieve that look?

  4. #4
    Polygon Polygon @Polygon🌶

    Duplicate the „body“ outline path and use it as a clipping path for the arm - if I understand it right.

  5. #5
    ZV1LLE ZV1LLE @ZV1LLE
    *
    Polygon

    Duplicate the „body“ outline path

    How would I do that? if its making a duplicate of the arm but only having its outline I hope theres a way to merge it back after clipping

  6. #6
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Maybe I'm missing the point here. Could this be as simple as changing the stacking order (z-order)?

    Use the Select tool [s] to select the arm and in the tool control bar click on [Lower selection to bottom].

  7. #7
    ZV1LLE ZV1LLE @ZV1LLE
    Paddy_CAD

    Use the Select tool [s] to select the arm and in the tool control bar click on [Lower selection to bottom].

    But then the arm will be behind the body, I'm trying to keep it infront. Can I clip the outline the same way you can clip the path (and its fill) to achieve this?

  8. #8
    COD COD @COD

    Could you attach your file (paperclip at bottom left)?

    If not, maybe just copy/paste the objects into another document giving you an issue and attach that? 

    I think we all need a few more cups of coffee or tea. 🤣

     

  9. #9
    ZV1LLE ZV1LLE @ZV1LLE
    *

    Here's a link to the file! i didnt want anyone to have full access to the actual character so I just made a simplified version of the issue, it should still be exactly the same thing I was having trouble with so i hope you'll be able to find a way to clip the outline this way:

    https://drive.google.com/file/d/12RWntvtDzW46yyHC54LCBetH8lkGPGEM/view?usp=drive_link

     Note: Goal is trying to make the right arm be able to go infront of the body while looking the same as the left arm

     

  10. #10
    Polygon Polygon @Polygon🌶

    I'm still puzzled. Like so perhaps?

  11. #11
    ZV1LLE ZV1LLE @ZV1LLE

    Yeah something like that, and the right arm has to be facing the same direction it originally was too! How did you clip the outline of the arm like that? 🤔

  12. #12
    Polygon Polygon @Polygon🌶

    Check out the file:

  13. #13
    ZV1LLE ZV1LLE @ZV1LLE

    I have the file now, but I'm still confused on how exactly you did it, what does that scissors icon mean?

  14. #14
    Polygon Polygon @Polygon🌶

    That´s the clipping path.

  15. #15
    ZV1LLE ZV1LLE @ZV1LLE
    Polygon

    That´s the clipping path.

    Do you mean the clip tool in the objects panel?

  16. #16
    Polygon Polygon @Polygon🌶

    Yes. Take the Node tool to investigate.

  17. #17
    ZV1LLE ZV1LLE @ZV1LLE

    I decided to use the square trick you suggested to someone in another previous post I found while looking for a way to solve this issue, but everytime I clip it I can never really get it to how I want.

    This is what it keeps on looking like:

     

    Screenshot 2025 01 03 At 12.48.10 Pm
  18. #18
    Tyler Durden Tyler Durden @TylerDurden

    http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Clip.html

    https://wiki.inkscape.org/wiki/index.php/Release_notes/1.0#Clipping_.2F_Masking

  19. #19
    ZV1LLE ZV1LLE @ZV1LLE

    I mean I already know about the general idea of how clipping works (a lil bit of masking i guess) but what shape would I use to achieve the same style I'm looking for?

  20. #20
    Polygon Polygon @Polygon🌶

    As the shape won´t be visible but only what it is clipping it doesn´t really matter what shape it is  - as long the unwanted parts are covered.

  21. #21
    ZV1LLE ZV1LLE @ZV1LLE

    Yeah but when I try to cover up the unwanted parts, it gives me such weird shapes especially on the fill, is there a way to only clip the outline?

  22. #22
    Polygon Polygon @Polygon🌶

    Not that I´m aware of - unless you separate Fill + Stroke to 2 single objects. Sounds strange - can we have a screenshot?

  23. #23
    ZV1LLE ZV1LLE @ZV1LLE

    I already posted a screenshot but it prob wont be enough to show you what I mean, so heres a gif instead:

     

    2025 01 04 11 28 01
  24. #24
    Paddy_CAD Paddy_CAD @Paddy_CAD

    Clipped shapes are rendered inside the clipping path, hiding anything that falls outside. You need inverse clipping. 

    Select the right arm and duplicate.
         [Edit > Duplicate]
    Create an outline of the right arm.
         [Path > Stroke to Path]
         [Object > Ungroup]
         [Path > Union]
    Select this outline and the torso.
         [Object > Clip > Set Inverse Clip (LPE)]

  25. #25
    ZV1LLE ZV1LLE @ZV1LLE

    I have been using inverse clipping, without it the shape looks even worse than what I've been showing. I decided to try clipping the outline by using the full arm and rotating the square in the arms angle, which kinda worked, but the shape was just hidden and didn't actually cut off the shape so I couldn't properly hold the cut out corners

    Any other ways to fix this problem and clip the outline? I may have to ask this question in beyond the basics too

  26. #26
    Paddy_CAD Paddy_CAD @Paddy_CAD

    I read through this thread again and I'm still puzzled. My fault, probably. All these attachments show failed attempts but they don't explain your desired outcome. Do you have a sample image that illustrates your goal? I'm sure there's a way to solve this, if I can understand the problem.

  27. #27
    ZV1LLE ZV1LLE @ZV1LLE
    *

    It will be hard to show you exactly what my goal is, but I'll just give you my closest attempt to what I've been trying to get, and an illustration of how it should work: (image 1)

    Basically, My goal is to have the outline of the arm clipped, so it can look like the other arm AND be able to go infront of the body. In the video I linked notice how the arm looks like its apart of the body but is actually just a full square behind the body (image 2 is what it properly looks like on the body). The problem with this is that I can't put the arm infront of the body (I need this for a rig I'm working on), so after I bit of thinking I realized the only way I would be able to make it look the same way while being infront of the body is if it's outline is clipped so I can put it to the body without it looking weird. I also want to be able to control the points after and have it as a square I can actually move around with those points (hence why clipping didn't work)

    How would I achieve this goal?

    Screenshot 2025 01 07 At 6.26.41 Pm
    Screenshot 2025 01 07 At 6.23.26 Pm
  28. #28
    Paddy_CAD Paddy_CAD @Paddy_CAD

    OK. I think I have it. This is like my earlier attempt but exchanges the arm and torso.

    Select the torso and duplicate.
         [Edit > Duplicate]
    Create an outline of the torso.
         [Path > Stroke to Path]
         [Object > Ungroup]
         [Path > Union]
         [Object > Raise to Top]
    Select this outline and the right arm.
         [Object > Clip > Set Inverse Clip (LPE)]

  29. #29
    ZV1LLE ZV1LLE @ZV1LLE

    I'll try this and see if it works, Thanks! 😃

  30. #30
    ZV1LLE ZV1LLE @ZV1LLE

    It actually works! Tysm. The only problem now is how I can properly control the points at both starting points of the arm with out extruding out with the outline or looking weird.

    Do you have any suggestions on how I could completely remove the body outline still looking like its there after the clip?

  31. #31
    Paddy_CAD Paddy_CAD @Paddy_CAD
    *

    how I can properly control the points at both starting points of the arm with out extruding out with the outline or looking weird.

    I don't understand the question. Please provide an image showing us what you see and what you want to achieve.

     

    remove the body outline still looking like its there after the clip?

    The clipping path (i.e. the body outline) should be invisible. Perhaps you accidentally duplicated it. Again, please upload an image that shows the problem.

  32. #32
    ZV1LLE ZV1LLE @ZV1LLE
    Paddy_CAD

    I don't understand the question. Please provide an image showing us what you see and what you want to achieve.

    Sorry about that, here's a video of the problem I'm facing. I wanted the points where the outline was clipped to be able to move as if I'm actually controlling a square, but this is what happens:

  33. #33
    Polygon Polygon @Polygon🌶

    Looks like you´re editing the content and not the clipping path in the video.

    You got already a lengthy thread about this topic at the Moho community (https://www.lostmarble.com/forum/viewtopic.php?t=36968) with all kind of good advice - but nothing seems to fit your needs (which are still unclear or not well explained imho) and now you go ahead with the same attitude. I still believe it´s trivial but I´m out. 🤷

  34. #34
    Tyler Durden Tyler Durden @TylerDurden
    *

    I'd put the arm in a group before clipping, then clip the group, enter the group and rotate.

     

     

    Meh, maybe that's not what you want, but it's another technique you might use sometime.

  35. #35
    ZV1LLE ZV1LLE @ZV1LLE

    Oh Yes! That could work. And if there was a to set the pivot point this could even better. But would I still be able to do this while having the arm infront of the body instead of behind. Plus there might come a time where I have to edit the points where the arm gets cut off from the body, and this won't really allow me to do that. Any other ideas or ways to improve this technique?

  36. #36
    ZV1LLE ZV1LLE @ZV1LLE

    I've tried doing some more research and I still haven't found a solution to this problem. If there was a way to at least split the shape in half without the outline still being attached at the top, then my solution would be solved. I might have to move this to beyond the basics to try and get more help as well.

    I'm not sure how else I can explain it since I can't really replicate what I'm going for, so I might have to do a drawn representation instead. 

Inkscape Inkscape.org Inkscape Forum Beginners' Questions How can I cut out an outline of a path?