A way to break open a path after combining shapes?

I created the following shape by subtracting a big rectangle from a circle, but what I’m really looking for is the circular arc part. I’d like to remove the straight vertical line. Is there a way to do that?



I could not - using a square with no stroke and a circle - get it to just have the arc. I really thought removing the stroke from the box would do it.

Wait… what if - instead of intersecting them - you put the circle on the layer and put the no stroke filled (white) box on top?

Then you get:


Thanks for the reply. While it’s not ideal, I think the idea could work in some cases. If I adjust it a bit and use a thinner rectangle to erase the vertical line in my original image, the overall grouped shape is smaller.

But problems come in if I care about line endings, shadows, and some other things. For example in this image the line above is a real line, the one below is our ‘cut off’ work-around.


Even if the original idea worked, the line ends would still be cut.

Not the ‘best’ solution but could put a short line segment over the end to clean up:


I would do it the following way, starting from your initial selected shape:

  1. set the filling of the shape to none
  2. use Edit -> Copy as -> SVG
  3. do a paste in your favorite text editor
  4. delete " Z" at the end of the path definition; see exemple with blue selection of " Z", coordinates vary depending on your exact drawing
  5. save the text file as whatever.svg
  6. drag the file whatever.svg on your OmniGraffle canvas

You have now the desired shape in your file and you can change the contour as you like: line endings, line type, color, line size , size of the shape…

If you cut the circle different, it’s possible that the change in the svg path definition is more complicated. " Z" indicates in the svg file to close the shape. For the general case of “open shapes” (more complex cuts than circle and rectangle) it might be necessary to rearrange the bezier control points or to remove points in the path definition to delete the right part of the path. To identify the bezier point coordinates of the shape you can (with rulers on) select the shape and then select the point editor tool.
Hope this helps.

1 Like