I need to cut a svg file into four equal quadrants.

Asked by Genea Williams on 2017-03-22

I need to split an svg file into four equal parts, saving each quadrant as a separate file but I can't find anything that tells me how to do this Can you direct me to this in the manual or provide some instruction, please?

Any support you can provide is greatly appreciated.

Genea Williams

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
2017-03-22
Last reply:
2017-03-23
Hachmann (marenhachmann) said : #1

Hi Genea,

which file format would you like to save to?

SVG? PDF? PNG? Some plotting format?

For each, there is a fastest way to get the desired result.

Kind Regards,
 Maren

Genea Williams (genwill) said : #2

SVG

Hachmann (marenhachmann) said : #3

Hi Genea,

then there are a couple of options:

- if you want to use the SVG file in a browser, and file sizes are irrelevant, you can just resize the page area to one quarter, and move the drawing around (and save four files, when it is in the four different positions). Only the page area will be visible in a web browser.

- if you don't care about file sizes, and the application you want to use the SVG file with has support for clipping, then you can also use that to achieve the result:

    1. Create a rectangle of the quarter of the size of your drawing (don't use a stroke on it, just fill, to get the measurements correct).
    2. Put it into the first position and above the drawing, group the drawing, select both, and clip the drawing (Object -> Clip -> Set)
    3. Save the file.
    4. Save the file under a different name, do Object -> Clip -> Release, move the clip rectangle, then clip again. Save. Repeat for the other two corners.
    5. Depending on your goal, you may need to resize the page area (File -> Document properties -> first tab, in the middle)

-. If you want to destructively cut off parts of your drawing, so that the file size becomes smaller and the paths are actually gone, you will need to make sure that all the objects in the drawing that need to be cut are actually paths (not images, clones, symbols,...). Then you can use the Boolean operations to cut off parts. Make sure to keep a copy of the complete picture before you start out.

More info on clipping and Booleans can be found here:
https://inkscapetutorials.org/2014/04/22/inkscape-faq-how-do-i-crop-in-inkscape/

If you find yourself in a situation where you need to cut a whole lot of paths, consider using the multi-bool extension for this:
https://inkscape.org/de/~Moini/%E2%98%85multi-bool-extension-cut-difference-division

Kind Regards,
 Maren

Genea Williams (genwill) said : #4

Thanks, Maren! I'll try this!

Can you help with this problem?

Provide an answer of your own, or ask Genea Williams for more information if necessary.

To post a message you must log in.