Author Topic: Line objects union  (Read 1223 times)

January 30, 2018, 11:48:20 AM
Read 1223 times

stellatus

  • Jr. Member

  • Offline
  • ***

  • 11
Is it possible to merging 2 line objects in such a way that to get object no. 6?

1. single line:

dxf file: wolniludzie.com/inkscape/example 3/1. single line.dxf

2. duplicat downscaling:


3. smaller object "poligonization":

(line unclosed was cuted)

4. removing every line from object 3 inside:


5. substracting object 4 from object 1


6. AIM - union, one object from object 5 and object 2


I tried to do I it, but gave up. I can make only objects number 2, 3 and 4 (https://forum.inkscapecommunity.com/index.php?topic=954.0).
  • 0.92
  • Windows 8

January 30, 2018, 01:20:29 PM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
You can't do it all at once.  But here are some steps.

1 - Duplicate the small path that you have in your #4.  Below I'm using just a blue circle to show.
s1.png
*s1.png
(48.44 kB . 997x495)
(viewed 329 times)

2 - Select the large path, and one of the smaller paths.  Then Path menu > Cut Path
s2.png
*s2.png
(53.15 kB . 1009x502)
(viewed 343 times)

3 - Using the extra blue circle, you can easily see which paths need to be deleted.  You don't have to duplicate the blue path, but it's just helpful to be able to see which paths to select.
s3.png
*s3.png
(49.15 kB . 991x471)
(viewed 352 times)

4 - Because of using Cut Path, the large path is now in many different pieces.
s4.png
*s4.png
(45.17 kB . 1005x480)
(viewed 340 times)


If you need to large path to be all one path, as before, then do 2 more steps

5 - Delete the extra blue path

6 - Ctrl A (select all) then Path menu > Combine

7 - Now move the small path into the "hole" that's left.

As you may have learned by now, there are often more than one way to do things with Inkscape.  This is the easiest way I can think of, but if something about this way doesn't work, let us know, and maybe another way will work better.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

January 30, 2018, 02:01:45 PM
Reply #2

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Oops, I missed this part:

AIM - union, one object from object 5 and object 2

If you truly want to "union" them, it won't work.  Path menu > Union will try to close the open ends.

But if you want them all one path, that will work.  Select them, and do Path menu > Combine.  However, if  you were going to do something like make each small part a different color, Combine won't let that work.  So if that's what you want, you should use Object menu > Group.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

January 31, 2018, 03:45:10 AM
Reply #3

stellatus

  • Jr. Member

  • Offline
  • ***

  • 11
  • 0.92
  • Windows 8

February 01, 2018, 03:22:22 AM
Reply #4

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann