HISE Logo Forum
    • Categories
    • Register
    • Login

    convert svg with multiple "objects"

    Scheduled Pinned Locked Moved General Questions
    10 Posts 4 Posters 275 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LindonL
      Lindon
      last edited by

      So I have an svg that I would like to convert and use as a path, but....

      its got a number of separate "paths" in it, like this:

      <path id="Pfad_1" data-name="Pfad 1" d="M16.958,5.444a1.422,1.422,0,0,0-2.011,0L8.914,11.477A3.555,3.555,0,1,1,3.886,6.449L7.908,2.427A1.422,1.422,0,0,0,5.9.416L1.875,4.438a6.4,6.4,0,1,0,9.05,9.05l6.034-6.033A1.422,1.422,0,0,0,16.958,5.444Z" transform="translate(0 0)" fill="#ededea"/>
            <path id="Pfad_2" data-name="Pfad 2" d="M108.758,1a6.356,6.356,0,0,0-4.525,1.874L98.2,8.9a1.422,1.422,0,0,0,2.011,2.011l6.033-6.033a3.555,3.555,0,1,1,5.028,5.028l-4.022,4.022a1.422,1.422,0,1,0,2.011,2.011l4.022-4.022A6.4,6.4,0,0,0,108.758,1Z" transform="translate(-92.805 -0.946)" fill="#ededea"/>
            <path id="Pfad_3" data-name="Pfad 3" d="M517.789,83.713c-.9-.31-1.159-.466-1.159-.9,0-.062.024-.61.856-.61a1,1,0,0,1,.929.54l1.244-.476a2.329,2.329,0,0,0-2.172-1.391A2.022,2.022,0,0,0,515.3,82.81c0,1.449,1.236,1.876,2.053,2.158.922.318,1.19.482,1.19.952,0,.751-.79.81-1.032.81a1.354,1.354,0,0,1-1.208-.953l-1.276.374a2.7,2.7,0,0,0,2.484,1.907,2.192,2.192,0,0,0,2.36-2.138C519.874,84.433,518.619,84,517.789,83.713Z" transform="translate(-488.814 -76.756)" fill="#ededea"/>
      

      I cant seem to find a way to get these to render to a path in HISE - is there a way?

      HISE Development for hire.
      www.channelrobot.com

      ustkU 1 Reply Last reply Reply Quote 0
      • Dan KorneffD
        Dan Korneff
        last edited by

        d= is the draw path. Copy each one of those separately into the converter.

        Dan Korneff - Producer / Mixer / Audio Nerd

        LindonL 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by

          What Dan said. But sometimes it doesn't come out how you expect. In those situations I open the file in Inkscape and try and merge the objects into one.

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          LindonL 2 Replies Last reply Reply Quote 2
          • LindonL
            Lindon @Dan Korneff
            last edited by

            @Dan-Korneff said in convert svg with multiple "objects":

            d= is the draw path. Copy each one of those separately into the converter.

            yeah except each has an offset and I have about 10 of them so I want to draw the path just once..

            HISE Development for hire.
            www.channelrobot.com

            Dan KorneffD 1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @d.healey
              last edited by

              @d-healey I will give it a go, thanks

              HISE Development for hire.
              www.channelrobot.com

              1 Reply Last reply Reply Quote 0
              • Dan KorneffD
                Dan Korneff @Lindon
                last edited by

                @Lindon If they are all the same color, you can merge them like @d-healey said. If you need different colors, you'll need to draw each layer separately.

                Dan Korneff - Producer / Mixer / Audio Nerd

                1 Reply Last reply Reply Quote 1
                • LindonL
                  Lindon @d.healey
                  last edited by

                  @d-healey said in convert svg with multiple "objects":

                  What Dan said. But sometimes it doesn't come out how you expect. In those situations I open the file in Inkscape and try and merge the objects into one.

                  OK well that worked - thanks...

                  HISE Development for hire.
                  www.channelrobot.com

                  1 Reply Last reply Reply Quote 1
                  • ustkU
                    ustk @Lindon
                    last edited by

                    @Lindon Same as Dave, Inkscape, combine (or union) the paths in one unique thing

                    Can't help pressing F5 in the forum...

                    LindonL 1 Reply Last reply Reply Quote 0
                    • LindonL
                      Lindon @ustk
                      last edited by

                      @ustk said in convert svg with multiple "objects":

                      @Lindon Same as Dave, Inkscape, combine (or union) the paths in one unique thing

                      yep got it thanks... except first

                      Path>Object to Path

                      then

                      Path>Union

                      HISE Development for hire.
                      www.channelrobot.com

                      ustkU 1 Reply Last reply Reply Quote 0
                      • ustkU
                        ustk @Lindon
                        last edited by

                        @Lindon Oh yes of course, the objects should be converted to paths at first...

                        Can't help pressing F5 in the forum...

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        25

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        102.6k

                        Posts