I've got a task somewhat similar to a previously-posed question (1), but not so similar that it solves my problem!

I've got a sunburst (radial treemap) with four concentric layers of text. (These are generated online fom a JSON file, so I haven't got access to the workings.)

As you can see, three of the layers are a lot wider than is needed to fit the text. So I'm reworking the SVG to trim the excess from each ring of radials.

When I use the method described in (1), I can only trim one radial at a time, which means making more than 50 iterations of the sequence. Or I can combine all the radials, thereby losing all the colour fill.

enter image description here

I have made an arched path to lay over the area I want to remove, then used exclusion to remove part of one radial at a time. Whenever I use it on more than one radial at a time, all the colour information disappears.

Likewise, the division operation seems to have no effect.

Scaling the radials creates other problems - though I suppose one might find a way to scale in one direction only.

I am supposing there are other ways to peel this banana. What will work?

Am I going to run into problems regardless? (Given the limitation of only one point of intersection, or the loss of colour info in combining paths.)

  1. Inkscape - How to cut lines across an arc?
  • Why wouldn't you program this? – joojaa Jan 28 '19 at 21:56
  • Program in what sense? I'm not a credible code writer. – dglp Jan 28 '19 at 22:59
  • Try this extension to cut multiple objects at once: gitlab.com/su-v/inx-pathops – Moini Jan 29 '19 at 14:07
  • Thanks Moini. I've installed it but haven't got it to work. Have you got any tips about that? – dglp Jan 29 '19 at 20:02
  • 1
    I did something similar with this: inkscape.org/de/~Moini/… to change more than 2 paths – Mayra Delgado Jan 30 '19 at 7:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.