Inkscape.org
Beginners' Questions How to remove hidden part from clip
  1. #1
    InkBlot9 InkBlot9 @InkBlot9
    *

    I can't believe this has not been asked before, but "No topics found with search 'clip'". So here it goes. I feel this should be very simple...

    I have this huge vector of a marble pattern ("group of 52952 objects"), ±30mb in size, from which I want to cut out a ring, and throw away the rest.
    I have also a ring shape. I imagined I select both and select Difference, Exclusion, or one of these operations. But they don't do anything.
    I am able to create a clip, but that only hides the huge marble image, not actually remove it.

    I have a screenshot, but not sure how to attach it.

    Edit: I accidentally pasted my search result into the topic, instead of naming it "How to remove hidden part from clip". Seems you can't change the title after creating a topic?

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    This extension may work for you: https://inkscape.org/~Moini/%E2%98%85multiple-boolean-operations-with-inx-pathops

     

    InkBlot9

    Seems you can't change the title after creating a topic?

    Maybe you can't... but I have superpowers.

  3. #3
    InkBlot9 InkBlot9 @InkBlot9
    *

    That script crashes with a Python error (I notified the creator). Any other options? -- Could these boolean path operations be done between layers perhaps? One layer with the cut-out shape, and the other with all of the objects (I've reduced the amount now to about 10.000 ~5mb).

  4. #4
    mendy mendy @mendy

    Hi don't know if it is same but you might look at

     

    https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X-zipmirror

     

    Shows a pathops extension which seems to be newer. Using some in my Ubuntu MATE 22.04 and Inkscape 1.2

  5. #5
    InkBlot9 InkBlot9 @InkBlot9
    *

    Unfortunatly, it fails with the same error message. - Maybe it's not meant to run on Windows.

  6. #6
    Polygon Polygon @Polygon🌶

    Did you ungroup everything? 

  7. #7
    InkBlot9 InkBlot9 @InkBlot9

    Yeah, I am now able to ungroup. But that hasn't really solved anything yet. ...... is sounds so simple..... coming from raster editing.

  8. #8
    Polygon Polygon @Polygon🌶
    *

    It strongly depends on your vector data; Boolean operations don't work with just strokes for instance.

    The scalability is pretty an expensive buy in your case

  9. #9
    InkBlot9 InkBlot9 @InkBlot9

    I ended up removing all shapes, except those that overlap with my ring clip, which reduced the size of the file to about 4mb.

    I'm keeping my eyes on this thread, because I think the filesize can be reduced quite a bit if I were able to actually clip the fairly complex shapes. Who knows what the future will bring.. :-)

Inkscape Inkscape.org Inkscape Forum Beginners' Questions How to remove hidden part from clip