3

In Inkscape a path can consist of multiple (potentially open) subpaths that all share the same fill and stroke settings. Is it possible to do this in Sketch? I tried to make a union of three open paths but it fails.

enter image description here

2
  • 1
    I'm not particularly familiar with either application, but the top example looks more like a 'group' than a path combining exercise.
    – Westside
    Commented Mar 16, 2017 at 10:26
  • I am having a similar problem here. Did anyone find a workaround to combine the paths?
    – Ren
    Commented Jul 19, 2019 at 10:57

3 Answers 3

1

In Illustrator this is called Combination Path. If I create one and save it as SVG, I can open it in Sketch, and it works as you want it to - similar to a group, but with shared style settings.

The problem is how to create this in Sketch directly. I'm not sure if there's an easy UI/shortcut way to do this. Using Layer>Combine>Union works to a certain degree, but it would outline open paths and perform boolean operations with all of them. One workaround is to create a union of two objects and drag your other paths inside this thing in the list view. You can then delete the two initial objects.

Or just use Inkscape, Illustrator or else to prepare your shapes there, then import them as SVG.

1
  • Good alternatives. You are right. In fact, creating an SVG in sketch and then opening the exported SVG file in sketch to produce a combined shape is also possible.
    – Ren
    Commented Jul 21, 2019 at 14:32
1

As earlier comment mention, the equivalent to Inkscape Path > Combine in Sketch is Arrange > Group Layers.

Both are a type of grouping where all information is maintained about the paths you group. In Inkscape you can still edit the different paths individually after you apply Path > Combine, the same is true in Sketch for Arrange > Group Layers.

2
  • I don't think this is true. You can group objects in Inkscape too but when combining objects in Inkscape they behave as a single object with one unified fill and stroke. Groups in Sketch don't behave that way.
    – filip
    Commented Mar 23, 2017 at 7:51
  • Not really. Groups and Combined entities are different in Sketch.
    – Ren
    Commented Jul 19, 2019 at 11:00
0

You can try joining the paths by selecting both paths and the going to Layer->Path->Join. This might not work as you want since when you join the paths, it will unify them. This might cause another vector to be created. It depends solely on the vectors.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.