Inkscape.org
Beginners' Questions How to get rid of whitespace
  1. #1
    winnter02 winnter02 @winnter02

    I'm using MacOS 1.0, May 2020 version. I want to embed my stroke object inside my rectangle while not cutting the space of the rectangle. When I combine these two objects together, one triangle has no whitespace(the green rectangle space is preserved, but the other one cuts through the rectangle. How do I make sure that both triangle don't cut through the rectangle?

    Image
  2. #2
    Polygon Polygon @Polygon🌶

    You can´t, because the 2 triangles are 1 continuous stroke with a self-crossing; an infinity loop.

    You have 2 options.

    1. Make sure you have 2 objects: the loop above the rectangle - select both and go Path->Division: all is color filled. But internally it´s a mess of doubled lines with opposite stroke directions

    2. make it from 3 objects; 2 triangles well aligned and 1 rectangle. Select all 3 and go Path->Combine - if there are holes change the fill rule at fill+stroke tab.

  3. #3
    Xav Xav @Xav👹

    If I understand correctly the problem is that you're combining the rectangular path with the self-intersecting path inside. If you don't want to cut a hole in the rectangle, then why combine them at all? If it's just to be able to move them around as one object then grouping would be a better option. Is there a specific reason why you need this to be a single complex path element?