sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    Selecting from an image?

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    10 Posts 6 Posters 1.2k Views 6 Watching
    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.
    • BoxB Offline
      Box
      last edited by

      I'm wondering if it is possible to import an image and select part of it as a shape that can then be push pulled etc. Like using a mask in programs like Photoshop?

      As a simple example.
      I would like to select just the black silhouette and lose the white background.

      http://i155.photobucket.com/albums/s296/storeben/Sculpt/Fig.jpg

      1 Reply Last reply Reply Quote 0
      • GaieusG Offline
        Gaieus
        last edited by

        @box said:

        ...I would like to select just the black silhouette and lose the white background...

        Well, if I could have a choice, I would also go for the black part of the image!
        πŸ˜„

        Anyway, joking aside; there is ImageProfile at Smustard (commercial plugin however; you need to "subscribe" to a certain amount of "credits" that are processed on their server)
        http://www.smustard.com/script/ImageProfile

        Gai...

        1 Reply Last reply Reply Quote 0
        • BoxB Offline
          Box
          last edited by

          That looks interesting Gaieus, I'll keep it in mind,I'm not sure about the credits and server part of it as I spend a lot of my time without an internet connection.

          Come to think of it, I drew that shape in Corel and exported it as a DWG so that I could have it watercut out of a thick piece of glass, can I import from the DWG as a shape?

          1 Reply Last reply Reply Quote 0
          • GaieusG Offline
            Gaieus
            last edited by

            Sure that's the best choice. If you have SU Free (7.1 or above) however, you will need this plugin to import dwg/dxf

            Gai...

            1 Reply Last reply Reply Quote 0
            • BoxB Offline
              Box
              last edited by

              Excellent, thanks for the help once again.

              1 Reply Last reply Reply Quote 0
              • A Offline
                Aerilius
                last edited by

                Another possibility would be to vectorize the image (this black/white example is perfect), and then import the lines.
                I have not tested, but the following workflow should do it:

                1. Download the free vector editing program Inkscape
                  Path -> vectorize bitmap
                2. delete the image (in the background) and save as .svg
                3. Download an svg-import script for Sketchup: http://www.uli-tessel.de/suruby.htm
                  and import the outlines
                1 Reply Last reply Reply Quote 0
                • BoxB Offline
                  Box
                  last edited by

                  Thanks Aerilius, I've made a note of this and will give it a try.

                  1 Reply Last reply Reply Quote 0
                  • shuraS Offline
                    shura
                    last edited by

                    Dear Aerilius,
                    this is an interesting workflow, I'd like to make it work for me too. Unfortunately I don't get the svg.rb to work. It needs some other ruby scripts that are not specifically SU related (I think). At this point my knowledge ends... maybe some ruby-wizard can help us out here?
                    all I get is this:

                    Error Loading File svg.rb
                    No such file to load -- rexml/parsers/pullparser.rb

                    Yes, admitted - apart from copying ruby files to the plugins folder I don't have much clue.

                    Also I have tried to export vectors from Inkscape to DXF format to import into SketchUp, but SU splats/crashes immediately. any experience with that? Maybe I have to perform a conversion before exporting... dunno much about Inkscape either.

                    alex

                    1 Reply Last reply Reply Quote 0
                    • TIGT Online
                      TIG Moderator
                      last edited by

                      @shura said:

                      Dear Aerilius,
                      this is an interesting workflow, I'd like to make it work for me too. Unfortunately I don't get the svg.rb to work. It needs some other ruby scripts that are not specifically SU related (I think). At this point my knowledge ends... maybe some ruby-wizard can help us out here?
                      all I get is this:

                      Error Loading File svg.rb
                      No such file to load -- rexml/parsers/pullparser.rb

                      Yes, admitted - apart from copying ruby files to the plugins folder I don't have much clue.

                      Also I have tried to export vectors from Inkscape to DXF format to import into SketchUp, but SU splats/crashes immediately. any experience with that? Maybe I have to perform a conversion before exporting... dunno much about Inkscape either.

                      alex

                      svg.rb:
                      This script allows to use Inkscape to create 2D images and to create Sketchup group(s) from the SVG File Inkscape has written.
                      The script requires rexml: You will find the files in a standard ruby environment: Copy the rexml Folder to your Sketchup Plugins Folder.
                      You will also need the forwardable.rb and set.rb from ruby in your Plugins Folder.

                      So you need to get ' Inkscape' AND have rexml AND forwardable.rb and set.rb... It'd be kind if the author of svg.rb posted at least some links if he wants you to try his tool πŸ˜’ even I'm confused πŸ˜•

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • pilouP Offline
                        pilou
                        last edited by

                        A free Autotrace "online" πŸ˜‰
                        So you can use any Tif, JPG, PNP etc images and export as DXF for example (if you have always free Google Sketchup 6 πŸ˜‰

                        Frenchy Pilou
                        Is beautiful that please without concept!
                        My Little site :)

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement